How can I test an application as a normal user when I have admin privileges?

Boesiger, Roger 20 Reputation points
2025-04-01T18:44:13.39+00:00

As a developer, I need admin privileges on my workstation. I would like to temporarily assume normal user privileges to test my application and then resume as an administrator. Is this possible?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Marcin Policht 50,735 Reputation points MVP Volunteer Moderator
    2025-04-01T18:53:28.37+00:00
    1. 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.
    2. 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.
    3. 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.
    4. 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


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.