Questions tagged [runas]
49 questions
17
votes
7 answers
Run as a different user without a password from an elevated prompt in Windows
There are a several utilities to run as a different user (eg: runas, cpau, psexec) but all of them require the password for the respective user, even if you are already running with elevated privileges.
I'd like to achieve the following:
I already…
Razvan
- 429
- 2
- 6
- 15
17
votes
3 answers
What User Should NGinx and PHP be running as?
Permissions are something that have confused for me a while with Linux. So at the minute both my NGinx and PHP-FPM instances are running with the user and group :
www-data
Is this standard? I run into trouble when I come across file…
The Pixel Developer
- 847
- 3
- 9
- 20
15
votes
1 answer
What's the difference between running a program as a domain administrator account and running a program as a "Run as administrator" in Windows 7?
When you right-click a program and hold down the shift key, an extra option is displayed "Run As Different User"
Conversely, my boss says that if you click "Run as Administrator" you have more power than if you login as a domain account. So what's…
leeand00
- 4,807
- 13
- 64
- 106
13
votes
6 answers
Windows "Run As" without knowing the password
We're installing a digital media system at the college radio station I work at. We're trying to give programmers (read; DJs, not coders) access to the music, without allowing them to copy any of it to their flash drives or transfer it across the…
Antilogic
10
votes
5 answers
How do I run a .msi installer with elevated priviledges on Windows
Normally you can right-click an executable and select "Run As" and away you go, but it doesn't seem to work for .msi files.
ninesided
- 499
- 2
- 7
- 9
8
votes
1 answer
How to manually run application as "IIS APPPOOL\MyAppPool" user
I tried:
runas /noprofile /user:"IIS APPPOOL\MyAppPool" cmd.exe
But it asks me for a password. My admin password does not work there.
I get:
RUNAS ERROR: Unable to acquire user password
mnaoumov
- 191
- 1
- 5
6
votes
1 answer
run sfc /scannow as administrator, but I am administrator
On my windows 2003 I have to run sfc /scannow as admin. I have tried to run it as local administrator and domain administrator, but it says I need of administrator privilege ????
I have tried runas /user:administrator cmd and then on a new shell sfc…
Luigi
- 311
- 1
- 4
- 13
6
votes
3 answers
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 root (no password) on computer yogurt works
C:\>runas…
Radek
- 1,133
- 4
- 26
- 38
5
votes
6 answers
Disable group policy from a workstation
How can I, as a Workstation Administrator, disable Group Policy on that workstation?
The Domain Administrator is feeding utter garbage via Group Policy and I want it stopped.
Last antic: turning on automatic updates globally. Result: build server…
joshudson
- 403
- 4
- 10
4
votes
1 answer
Windows 10 app incorrect behaviour - VB6 app
We are preparing to move to Windows 10, and one application, which works fine on Windows 7, does not behave correctly in a normal user session. The application is no longer supported by the vendor, so we have no escalation path for support.
We can…
Geoff
- 41
- 1
4
votes
3 answers
Open Elevated "Administrator:" cmd prompt instead of "cmd prompt (Running as Administrator)"
If you open a command prompt with a runas command, you will see a window that shows
(Running as some_user)
In the title bar, but if you right click on cmd.exe and choose Run as Administrator you will get a window that has:
Administrator cmd.exe
In…
naspinski
- 177
- 1
- 4
- 10
3
votes
7 answers
Windows Vista Explorer via Runas... or Best Way for Domain Administrator to Work in a Limited Account
One thing that's annoyed me for a great while about administrating a Windows domain is trying to work primarily from a limited user account. Much of what I do on my workstation on a day to day basis doesn't require admin rights, so I prefer to run…
Boden
- 4,948
- 12
- 48
- 70
3
votes
3 answers
runas without asking for a password
On a Windows server which is in a domain, I have a script I run from scheduled tasks.
I want this script to be run under a mydomain\peter user account. It is simple to do it with scheduled tasks, if you know Peter's password. And once done, the…
Gregory MOUSSAT
- 1,737
- 2
- 25
- 48
3
votes
3 answers
Copying files to a different domain, where no trust relationship exists
I have the the following setup.
1 x host machine situated in DOMAIN A
1 x PDC in a VM running on a host only network adapter running its own AD Forest (DOMAIN B)
1 x Server running in DOMAIN B, this is also on a host only network adapter but has a…
krystan honour
- 153
- 1
- 1
- 7
3
votes
3 answers
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 command:
\\server\documents\dotNetFx40_Full_x86_x64…
Chad Harrison
- 6,960
- 10
- 28
- 41