FG
💻 Software

How to debug a program as admin within Visual Studio

Fresh5 days ago
Mar 15, 202615009 views
Confidence Score0%
0%

Problem

I'm running VS2K8 in Win7 64-bit. I'm logged in as admin and I'm running it as admin, but the program I'm working on fails with access denied when I call a restricted API. If run the program from Explorer with "Run as Administrator" it works. I was under the belief that VS2K8 debugs programs with w…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to debug a program as admin within Visual Studio

Low Risk

Although you are logged on as admin, any program you run in Win7 has reduced permissions. Therefore, even an admin needs to use "Run as Administrator" to run with full permissions. Use Visual Studio with "Run as Administrator" to find out if that's …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment