We have 3 options to run a program as Admin in Windows:
1) Shift Right Click , then run as admin
2) Shortcut –> Properties –> Advanced –> check “Run as Admin” check box
3) Default all apps to runas admin: Using UAC, we then can disable UAC thereby all apps run as Admin via reduced rights. This is OK for home use but prob. not corp use due to security and policies. If your home environment is secure via router / firewalls and a solid antivirus on the machine consider allow all APPS to runas Admin, this reduces the manual intervention on every app start, see below procedure
3.a
Danger! See here more info
Run gpedit.msc
to open the Local Group Policy Editor. Expand Computer Configuration, Windows Settings, Security Settings, Local Policies, and Security Options. Four settings need to be updated:
- Set "User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode" to Elevate without prompting.
- Set "User Account Control: Detect application installations and prompt for elevation" to Disabled.
- Set "User Account Control: Run all administrators in Admin Approval Mode" to Disabled.
- Set "User Account Control: Only elevate UIAccess applications that are installed in secure locations" to Disabled.
The LGPE automatically saves all changes, so exit it and reboot.
3.b
1 - Add User To Administrators Group And Remove From Users Group:
Log In As Administrator
Go To Run ( WinKey + R )
Type "control userpasswords2"
Select Your Account And Click On "Properties"
Select "Group Membership" Tab
Select "Administrators"
Click OK And OK
2 - Disable Approval Mode
Log In As Administrator
Go To Run ( WinKey + R )
Type "secpol.msc"
Go To Local Polices > Security Options
Find "User Account Control: Switch to the secure desktop when prompting for elevation"
Open It Click Disable It And Click Ok.
Restart Computer( Very Important Log Off Doesn't Work )
Now Every App Will Be Run As Administrator In All Administrator Users
No comments:
Post a Comment