Re: How do I debug a program in non-adminstator mode under Vista

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Dave,

You're not alone. IIRC, I get a message related to pdb files cannot be generated if I'm not an admin. Go figure...

Serge
http://www.apptranslator.com


"Dave" <Dave@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:6714D9B3-9029-4B8A-9861-ED8517ADB789@xxxxxxxxxxxxxxxx
Oh, well that's interesting, as everything I've read on the web, leads me to
understand that VS must be run as administrator (see
http://msdn2.microsoft.com/en-us/library/aa983432(VS.80).aspx - "You must
install Visual Studio 2005 Service Pack 1, or Visual Studio 2005 Service Pack
1 and Visual Studio 2005 Service Pack 1 Update for Windows Vista, and run
Visual Studio under administrative permissions for Visual Studio 2005 to be
supported on Windows Vista."
Also my experience leads me to think that this is the case - I cannot even
compile my project without running VS as administrator.
--
Dave


"David Hearn" wrote:

Dave wrote:
> I have just started using VS2005 under Vista, and I understand that VS > must
> be run in Adminstrator mode (although I don't fully understand why). > However,
> as far as I can tell this also means that when I run my app in the > debugger,
> it is also being run in administrator mode. I need to test that my > program
> works when not run as administrator. Is there any way to tell VS to run > the
> program not as adminstrator when it debugs.

VS2005 does not, as a fixed rule, *need* to be run as Admin, in fact, I
rarely, if ever, run it as Admin. There are some scenarios which it's
needed (I don't know what these actually are!), but for the stuff I do -
basic desktop Forms libraries/apps and Windows Mobile ones, I've not
needed to be admin and had no issues running as a standard user.

D



.



Relevant Pages

  • Re: Run As Adminstrator - why hasnt it saved us?
    ... UAC and Run As Administrator are tied together on Vista and are the new security profile for the Admin and Standard user accounts. ... You set your account to be Super Admin so that you still have UAC enabled because some applications will not work correctly with UAC off, those applications using the Vista UAC manifest as an example, and by being Super Admin, UAC will not prompt you as Super Admin, as stated in the link. ...
    (microsoft.public.windows.vista.security)
  • Re: whats the difference between account NAMED administror and a account with admin privilegious?
    ... The link has a lot of information and directions on sharing in Vista. ... Using the Vista Administrator account does give you greater access while ... I was hoping that being the 'administrator' would cure that problem. ... When logging in....I should select 'admin' ...
    (microsoft.public.windows.vista.general)
  • Re: File permissions and UAC
    ... My account is an administrator and there are no other users on this PC, ... Your account may be able to access the 'run as adnin' function, but Vista ... doesn't let you actually BE the admin unless you activate and use the hidden ...
    (microsoft.public.windows.vista.general)
  • Re: How do I debug a program in non-adminstator mode under Vista
    ... I run as an Admin user, but don't elevate to run VS2005, so it's not running with Admin privileges. ... install Visual Studio 2005 Service Pack 1, or Visual Studio 2005 Service Pack ... and Visual Studio 2005 Service Pack 1 Update for Windows Vista, ... compile my project without running VS as administrator. ...
    (microsoft.public.vstudio.general)
  • Re: IP Packet Filter
    ... with User Account Controls in Windows Vista, ... including members of the Administrator group. ... admin permissions all the time. ... prevent the malware from subverting security policies entirely then you ...
    (microsoft.public.win32.programmer.networks)