4
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows7にて、コマンドラインから「UAC」を無効にする

Posted at

UAC 設定画面は、以下のコマンドで開くことが出来ます。

UserAccountControlSettings

さらに、コマンドからUACをOFFに設定するには、以下のバッチでレジストリを行なって
Windowsを再起動すると反映されます。

disable_UAC.bat
rem Windows7 で、 UAC 設定画面を開く
rem http://journal.mycom.co.jp/column/windows/067/index.html

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v PromptOnSecureDesktop      /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA                  /t REG_DWORD /d 0 /f

参考

4
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?