Query
搜尋所有內容:
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
搜尋值:
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon
32位元的process去執行reg預設搜不到64位元的註冊表,可以指定/reg:64去搜尋64位元註冊表:
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /reg:64
AutoLogin
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 1 /f
Disable ScreenSaver
詳細可以參考Disable screensaver using registry settings。在Windows2008 R2與Win7發現ScreenSaveActive並不會跟著修改ScreenSaver設定而改變,後來發現SCRNSAVE.EXE值會跟著設定改變。因此砍掉這個key等於沒有設定任何的sreensaver。
reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d 0 /f reg delete "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /f
留言
張貼留言