2016年6月28日 星期二

ServerCore

JOIN DOMAIN
netdom join na-st02 /domain:cch.org.tw /userd:gmail /passwordd:net111



netsh interface ipv4 show interfaces
DNS
netsh interface ipv4 add dnsserver name="乙太網路 2" address=172.28.25.5 index=1

IP
netsh interface ipv4 set address name="乙太網路" source=static address=172.28.26.122 mask=255.255.240.0 gateway=172.28.29.253
netsh interface ipv4 set address name="乙太網路 2" source=static address=172.28.26.152 mask=255.255.240.0 gateway=172.28.29.253


RemoteDesktop

Cscript %windir%\system32\SCRegEdit.wsf /ar

Cscript %windir%\system32\SCRegEdit.wsf /cs 

GUI 完整安裝

Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart

jump-lists-reset-clear-windows-8-

:: Created by: Shawn Brink
:: http://www.eightforums.com
:: Tutorial:  http://www.eightforums.com/tutorials/9611-jump-lists-reset-clear-windows-8-a.html


del /F /Q %APPDATA%\Microsoft\Windows\Recent\*

del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*

del /F /Q %APPDATA%\Microsoft\Windows\Recent\CustomDestinations\*

taskkill /f /im explorer.exe

start explorer.exe

Clear Read-Only flag on Disk in Windows 7 using Diskpart 

attributes disk clear readonly

san policy=onlineall

GoogleSearch

label:jmail@xxxx.tw from:Dxx8730 before:2012/11/30 after:2012/09/01

WSUS resetauthorization

wuauclt /reportnow
wuauclt /detectnow
wuauclt /resetauthorization /detectnow
C:\Windows\WindowsUpdate.log

teredo enterpriseclient


Restarted Machine

Ran ipconfig /alll the tunnel was still disconnected

Then I tried...

netsh interface ipv6 set teredo enterpriseclient

IIS TIMEOUT

%windir%\system32\inetsrv\appcmd set config /section:asp /session.timeout:00:15:00

OUTLOOK 無法XML

Windows10 開始失效 釘選失效

Get-AppxPackage | % { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml" -verbose }

Windows10 health Check

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /RestoreHealth

快速鍵

windows+Tab:開啟多重虛擬桌面功能

windows+Ctrl+D:開啟一個新的虛擬桌面

windows+Ctrl+F4:關閉虛擬桌面

windows+Ctrl+/右:切換虛擬桌面

windows+A:開啟重要訊息中心

windows+C:透過語音功能啟動 Cortana

 windows+D:顯示桌面

windows+E:打開檔案瀏覽器

windows+G:打開 Xbox 遊戲的錄製工具,讓你可以錄製遊戲或擷取遊戲畫面

windows+H:開啟 windows 10 app 的分享功能

windows+I:打開 windows 10 的設定功能

windows+K:啟動和無線顯示器或音響設備的連接功能

windows+L:鎖定螢幕畫面

windows+P:投影螢幕畫面

windows+R:開啟命令提示字元

windows+S:啟動 Cortana 功能

windows+Shift+/右:讓 app 在不同的顯示器之間移動


windows +///右方向鍵:把視窗貼齊到畫面邊緣

我的最愛Favorites Win10

C:\Users\Book\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\User\Default\Favorites

Windows Firewall




Import-Module NetSecurity

Set-NetFirewallRule -DisplayName “File and Printer Sharing (Echo Request – ICMPv4-In)” -enabled True



Import-Module NetSecurity
New-NetFirewallRule -Name Allow_Ping -DisplayName “Allow Ping”  -Description “Packet Internet Groper ICMPv4” -Protocol ICMPv4 -IcmpType 8 -Enabled True -Profile Any -Action Allow

netsh advfirewall>FIREWALL add rule name=”KMS” dir=in action=allow protocol=tcp
localport=1688