28,661 questions
- Use "Run as different user"
- Create a separate standard user account on your workstation.
- Hold Shift + Right-click on your application and select Run as different user.
- Enter the credentials of the standard user to launch the application with reduced privileges.
- Use a secondary standard user session
- Press Win + R, type
runas /user:StandardUser cmd
, and press Enter. - Enter the password to open a Command Prompt with the standard user account.
- Run your application from this window.
- Press Win + R, type
- Use Group Policy or local security policy
- If your company allows, you can use User Account Control (UAC) policies to require elevation only when needed while keeping your primary session as a standard user.
- Use a virtual machine or sandbox
- If feasible, run your application in a Hyper-V VM or Windows Sandbox to simulate a normal user environment without modifying your main account.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin