User account control protects your system by asking for confirmation whenever a program tries to do changes to your computer. This prevents malware or virus from doing unauthorized changes on the system.
We can disable user account control by running the following command from windows command prompt.
Reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
Command to enable user account control:
Reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
Reboot is required to make the changes effective.