4
votes
2answers
6k views

Start elevated command prompt in %UserProfile% directory by default?

When I start an elevated Command Prompt in Windows 7 or Windows Vista, the initial directory is the %SystemRoot%\system32 directory. This is the default Windows behavior, and is not a problem ...
0
votes
1answer
749 views

How do I use RUNAS with the Administrator account disabled in Windows 7

My user account is an administrator account (well in the Administrator group technically). As I understand this I am always running in the standard user context except when elevation is required, ...
1
vote
2answers
874 views

Using Command Prompt arguments to run a file (with arguments) as an administrator?

I am making the menu items called Lock for Microsoft's BitLocker. I've got it all right up to one point: locking HDD partitions requires administrator privileges. How do I use process paths or CMD or ...
0
votes
1answer
1k views

Starting an elevated command prompt from a folder's context menu in Windows 7 [duplicate]

Possible Duplicate: Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7 Windows 7 will display an 'Open command prompt here' context ...
0
votes
1answer
3k views

How to run a command as administrator in Windows? [duplicate]

Possible Duplicate: is there any ‘Sudo’ command for windows ? I want to run a console program in Windows, but it required administrative privileges. So, I can right click the ...
2
votes
2answers
192 views

Vista Command Prompt: Elevated

What command can I use to confirm that I am running the command prompt elevated and what command can I use to force a program to run elevated from the command prompt?