Questions tagged [runas]

allows a user to run specific tools and programs with different permissions than the user's current logon provides.

212 questions
61
votes
4 answers

Drag and Drop File into Application under run as administrator

Whenever I have an application running (Visual Studio 2008, Notepad, etc.) under "Run as Administrator", I cannot drag and drop files from Windows Explorer into the application. I've tried running Windows Explorer as administrator, but to no…
Chris
  • 2,345
  • 3
  • 20
  • 28
59
votes
5 answers

Run applications as administrator by default in Windows 10

I have just got a new laptop with Microsoft Windows 10. My previous laptop ran Windows 7. I'm trying to get applications to "run as administrator" by default, so that I'm not constantly having trouble saving/overwriting files, etc. The priority here…
osullic
  • 1,019
  • 2
  • 11
  • 11
49
votes
9 answers

How to open Command Prompt in a specific folder as Administrator?

I made a shortcut to cmd.exe and specified the folder that I want to start in. I then went to Advanced and ticked Run as administrator. When I double-click on the shortcut, it always starts in C:\Windows\System32. What I am missing? How can I get…
AngryHacker
  • 18,217
  • 67
  • 156
  • 209
45
votes
10 answers

Windows 7 Administrator Command Prompt "Start in" Path

So, I know you can create a shortcut to an administrator-level command prompt (as described in this question), but what I'm seeing is that whenever I use such a shortcut, it always drops me into c:\windows\system32\ path. I've tried specifying that…
Alex Beynenson
  • 767
  • 1
  • 8
  • 9
36
votes
4 answers

How open Windows Explorer as different user in Windows 10?

In Windows 10, the Windows Explorer shortcut on the taskbar has a different context menu than previous versions of Windows, and is missing the "Run as..." option (while holding the shift key). How can I open Explorer as a different user?
Max Bündchen
  • 463
  • 1
  • 4
  • 7
36
votes
9 answers

Run Task Manager as another user (administrator)

Is it possible to run the Windows Task Manager as another user, for example, as an administrator? Our users run with limited privileges, so it would be helpful if I could use Task Manager as an administrator to kill a process if needed.
Brenton Taylor
  • 623
  • 1
  • 6
  • 14
34
votes
1 answer

Two definitions for "Run as administrator"?

In my Total Commander icon properties, I see Run as administrator in two places: the Compatibility tab settings, and the Shortcut tab (Advanced button). Question Are they both the same? If not, what's the difference?
Royi Namir
  • 5,598
  • 14
  • 47
  • 70
29
votes
3 answers

Use runas with a domain account on a non-domain machine in Windows 2k/XP/Vista/7

My Windows 7 computer is on LAN in an intranet with a Windows domain, but it is not a member of that domain. However, I need to run some applications under domain accounts while I'm logged on locally as a local admin. I know you can use the runas…
Pavel
  • 291
  • 1
  • 3
  • 3
20
votes
3 answers

"Run as" for a .bat file

I'd like to run a .bat file as a different user to troubleshoot a rights problem which I suspect. For normal .exe files, you can Shift-right-click to get "Run as...". However, for a .bat file, this does not work (Shift-right-click gives no menu…
sleske
  • 22,652
  • 10
  • 69
  • 93
18
votes
4 answers

Run as a different user on a shortcut

How do I run as a different user on a shortcut in Windows 7? On Windows XP, I had the ability to mark a shortcut as being run by a different user, so that every time I ran it it would prompt me for a username/password. This let me have two…
PhilPursglove
  • 421
  • 2
  • 5
  • 12
15
votes
4 answers

How do I add a password to a batch file to automatically authenticate?

I'm trying to run xcopy commands in a batch file as an administrator. Is this the correct command and how can I pass the password into it? runas /noprofile /user:Domain Name\user account
joe
  • 151
  • 1
  • 1
  • 3
13
votes
3 answers

Automatically run an application as another user

How can you run an application as another user in Windows 7? The only catch is that I don't want to have to hold down the shift key, right click on the application and choose Run as different user. I need it to automatically login using the login…
MHrappstead
  • 591
  • 2
  • 4
  • 16
12
votes
3 answers

Run as administrator from command line on Windows 8

I am trying to run Notepad as admin so I can edit my hosts file from the command line. I have tried runas /user:(myusername)\administrator "notepad c:\windows\system32\drivers\etc\hosts" I then input my password and I get RUNAS ERROR: Unable to run…
Kirill Fuchs
  • 223
  • 1
  • 2
  • 6
12
votes
4 answers

PsExec Access is denied

I am using psexec.exe to run programs in a different security context. However the programs start but it does not seem to be running in the specified security context. In its minimal form: psexec -u wsadmin -p password cmd Starts a new cmd window…
Tuim
  • 277
  • 1
  • 2
  • 7
12
votes
5 answers

How can I run something as Administrator via Cygwin's SSH?

I'm trying to connect to a remote Windows 7 box that needs a setup change or two. I've got access to an Administrator account via Cygwin's SSH server, but Cygwin won't let me run Administrator-privilege utilities ("The requested operation requires…
ZorbaTHut
  • 362
  • 1
  • 4
  • 11
1
2 3
14 15