How to disable/enable the UCA from the command line:
Reference: https://www.atera.com/shared-script-library/disable-user-access-control/
Admin cmd:
Disable
REG ADD
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v
EnableLUA /t REG_DWORD /d 0 /f
Enable
REG ADD
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v
EnableLUA /t REG_DWORD /d 1 /f
Admin cmd:
Disable
REG ADD
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v
EnableLUA /t REG_DWORD /d 0 /f
Enable
REG ADD
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v
EnableLUA /t REG_DWORD /d 1 /f
UAC -- user account control -- can be changed
in the user settings. But the lowest setting is still restricted.
Improvement: Whenever I run that command, the registry opens in the background, already iconified on the taskbar. No big deal... but...
Q: Does anyone know how to make it open in the foreground instead?
A: ?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 507 |
Nodes: | 16 (2 / 14) |
Uptime: | 186:33:12 |
Calls: | 9,958 |
Files: | 13,825 |
Messages: | 6,355,898 |