2
votes
1answer
56 views

Differentiating between multiple runas account windows

In past jobs I've used a lot of runas /user:.. in order to allow quick access between multiple accounts while logged in as a primary account. Both server side or and on workstations. We're looking at ...
1
vote
1answer
395 views

RUNAS Error (Windows 7)

I'm trying the below command runas /user:\\(domain)\(myusername) C:\Users\user\compress.bat I then input the password, but I get the following error - RUNAS ERROR: Unable to acquire user password ...
3
votes
3answers
17k views

How to run a command as administrator on Windows7 from a command line?

I need to run tscon.exe 0 /dest:console remotely = not manually on Windows7 as an administrator. More info here How to use tscon on Windows7? I did my research and OPTION 1 - runas for user ...
3
votes
3answers
298 views

Is there a way to do a “run as” in a command line?

So, we are trying to push out the full .Net Framework 4 to all out client workstations within an Active Directory environment via the login batch file in the SYSVOL folder. I added the following ...
1
vote
1answer
2k views

Executing Windows administrative shell commands on Windows using Python

I have a batch script using Windows shell commands to perform several administrative actions. The script is running great on Windows 7 but when i try launching it from Python 2.6 nothing happens: ...
0
votes
2answers
577 views

as a domain member, 'run with administrative privileges' always asks for hostname

Since we run Windows 7-clients in our windows-server domain I have a specific use case that has become more inconvenient: On the client-site, being logged-on as an user with restricted rights and ...
1
vote
1answer
990 views

Runas Domain Account Still Asks for Password

I'm using a Win7 computer that isn't joined to the domain. I want to be able to run a program, such as IE, under the domain user. c:\> runas /noprofile /netonly /user:MyDomain\MyUser iexplore.exe ...