2011年1月7日 星期五

如何利用cmd方式,直接將Win7 UAC關閉/開啟?


 如何利用cmd方式,直接將Win7 UAC關閉/開啟?

命令如下:

關閉UAC cmd:
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

開啟UAC cmd:
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

沒有留言:

張貼留言