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

learn more… | top users | synonyms

2
votes
1answer
9k views

Using runas to run netsh as administrator

I'm trying to do some debugging for a vendor on a Windows 7 machine. I need to run netsh to set a parameter. I've tried to run it from a cygwin/shell window but get a "Run as administrator" failure. ...
4
votes
2answers
11k views

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 ...
0
votes
2answers
2k views

Problems with runas and system account

I have a process that is running under the local system account on a Windows XP machine. This process then attempts to open a file with its default application as another user (say Max) on the system. ...
0
votes
2answers
2k views

Run program as different, password protected user in Win 7 wo/ PW prompt [duplicate]

In order to increase security while browsing, I would like to launch the browser as a separate user. Several people suggested the runas command, but it lacks the ability on purpose to pass the ...
4
votes
3answers
23k views

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 ...
2
votes
3answers
194 views

How to obtain the original user name in a command prompt started by runas

I use runas /user:abc cmd to start a command prompt. After login, I will run a vbs script. The login abc has special file/folder permission, and it is the main reason for using runas. Otherwise the ...
3
votes
3answers
14k views

Running multiple instances of Microsoft SkyDrive

I have desperately been trying to run multiple instances of the Windows Desktop SkyDrive Sync App on Windows 8. I have several Microsoft accounts and through creating Symbolic links have been able to ...
2
votes
0answers
541 views

runas verb not working in windows 8?

I am using some applications need to do some thing as an admin, so I was using the verb "runas" in windows 7 and it is working well, However, once we migrate to windows 8, the new processes were ...
-1
votes
1answer
210 views

Administrator RUNAS feature on iisreset in command line [closed]

While trying to run iisreset from CMD.exe on a Windows 7 64 bit, I got to know the difference of run as admin or not. My question: As the local admin - is the difference on the CMD is the ONLY ...
1
vote
2answers
1k views

Running Batch File As An Administrator…

I successfully created a batch file to flush my DNS. I have added a pause, I noticed in the title bar of the console window… It's not running as administrator. I've already tried a couple of ...
1
vote
2answers
333 views

How to specify user using @ if the comp is not part of any domain?

I want to run a command as an administrator. So I use runas command. And I want to specify the user using @ character. Is that possible as the computer (Windows7) is not part of any domain? ...
3
votes
1answer
3k views

RUNAS ERROR: Unable to run - The system cannot find the file specified

If I run runas /savecred /user:yogurt\administrator "del c:\testt" I get this error Attempting to start del c:\testt as user "yogurt\administrator" ... RUNAS ERROR: Unable to run - del c:\testt ...
3
votes
1answer
324 views

Windows 2008 RunAs

First I want to excuse myself if I'm using incorrect words, I'm not a sysadmin. So, from the Administrator's account I want to run a program as another user. I tried "runas" program. It's working ...
1
vote
0answers
3k views

Windows 8 file permissions vs Windows 7 [duplicate]

I have read How do I disable administrator prompt in Windows 8?, and it did not solve my problem. When I upgraded from Windows 7 Pro 64-bit to Windows 8 Pro 64-bit, I noticed some permissions issues ...
3
votes
1answer
461 views

How to make “Run As” dialog's dropdown list to show all users?

In my Windows XP Pro, I have my main user named as admin that is a member of Administrators group. I created two limited users (power1 and power2) then assigned them as members of Power Users group. ...
3
votes
9answers
20k views

Run As dialog pops up at Windows boot/login - What program is trying to run?

Just a few days ago the Windows Run As dialog started to popup when booting/logging into my Windows XP machine requesting the user with which to run "this program". How do I identify which program ...
4
votes
2answers
2k views

Cause a UAC popup from commandline without custom tools

In Win7, a user can right-click on a program and choose 'Run as administrator'. You get a popup, but do not have to enter the administrator password. I would like to get the same functionality, but ...
4
votes
2answers
1k views

how to run a command with admin priviledges when I don't have admin account on my Win7 computer

I am trying to open cmd with admin priviledges. That's because when executing a command I received a message that I don't have sufficient priviledges to run this command (mklink). The problem is that ...
6
votes
4answers
12k views

How to prompt a user for run-as credentials when double-clicking an icon?

I am running a kiosk type system where the user has almost zero permissions. I want to place an icon on their desktop that would run a specific program as their Active Directory credentials. I am ...
4
votes
2answers
541 views

is there a “run as” in Windows 7?

I have issue with user without local admin who want to install font on their PC call me everyday. The thing is there is no run as, like in windows XP.I don't want to logoff user session and go into ...
3
votes
2answers
8k views

How to run the “runas” command without writing the password

I need to run the "runas" command for log on automatically an Application User, on an Active Directory. Then I need run an executable file. Can I do this in some way or work around to do not type the ...
6
votes
5answers
5k views

How to allow non-admin users to run a VBS script that requires higher privileges?

I have a vbs script that needs to be provided to end users, but it requires more rights than they have on their locked down workstations - specifically updating some HKLM registry values and ...
4
votes
1answer
7k views

How to run a program with admin privilege

I need to run a program as a different user + make it run with admin privileges (Run as administrator). I use the 'runas' for running the program as a different user How can I run the program as ...
0
votes
1answer
11k views

Opening a program as a different user (with /savecred) fails

What I'm trying to do is run a second instance (my personal account) of dropbox. I have a second user account setup, Dropbox installed, the Dropbox folder on the second acct shared properly. ...
4
votes
1answer
12k views

Enable password-blank Run As on Home Premium?

Is there a registry setting I can change to apply this fix from http://support.microsoft.com/default.aspx?scid=303846? You can disable blank password restrictions by using a policy. To locate ...
5
votes
2answers
2k views

How to make a cmd 'runnable as administrator' under windows 7?

I have written as small .cmd file to be executed as an administrator. I am trying to set its options as 'Run as Administrator' but the check box is not accessible. Why? How to solve this issue? I ...
1
vote
1answer
341 views

Can access a shared folder when logged in, but not with runas

We have a medium-sized school using a Win2008R2 domain. We have several shares that are blocked except to administrators. The problem is that if I log in as an administrator, I can access the shares ...
1
vote
1answer
2k views

windows runas command with elevated privileges, user in admin group

I have a windows 7 user who belongs to admin group. I want to execute sc command that requires admin privileges. I DON'T want to open an elevated cmd, want to be able to simply Win+R->Enter command, ...
3
votes
1answer
2k views

How can I make runas.exe (Windows) wait until the program it starts exits?

That is, I want runas to exit only after the program that it runs exits. There is no /wait argument to runas.exe. I've tried lots of permutations of start /wait with it and nothing works. I have to ...
1
vote
3answers
905 views

While running a batch file in Windows 7 with Admin rights from a thumb drive, how can I get the file path back to the thumb drive?

I have a piece of software that is being distributed to several departments for installation onto Windows 7 laptops. They install software from the thumb drive and then they have to run a script to ...
2
votes
3answers
430 views

runas domain access?

I want to execute a file on a share but I need to use a domain account to access it. I've tried runas /user:domain\user \\someshare\foo.exe. It prompts for the domain account's password, which I ...
3
votes
2answers
886 views

Command Prompt: Run as other user?

If I use the command runas and run a program as a different user on the domain will this actually return information regarding their computer or will it give me my comptuers information? for example ...
2
votes
1answer
2k views

Run an application as a domain user from VPN [duplicate]

I am connected to a VPN as a domain user. I would like to run a local application as the domain user from the VPN instead of my local workgroup user. If I select run as a different user and insert ...
0
votes
1answer
3k views

Running 2 explorer.exe instances with the “RunAs” Command

I've created 2 batch files. The first called admin.bat with the lines: @echo off cls runas /env /user:ADOMAIN\Administrator "\\path\dir\explorer.bat" and the other called explorer.bat with the ...
4
votes
1answer
3k views

Ctrl+Shift to Run as Administrator No Longer Works

Holding Ctrl+Shift while clicking on a shortcut (or in the Start Menu’s search box) no longer works to run as administrator. Specifically, nothing happens; no UAC prompt and the program does not run ...
0
votes
2answers
3k views

Run program not as administrator

How can I run a program not as Administrator? I already tried runas /user:guest notepad But I need to provide a password and I don't know it. p.s.: I only have the default console and PowerShell ...
1
vote
1answer
1k views

windows runas netonly with incorrect password

On Windows 7 I'm using runas /netonly /user:... to run something under a different account. If I mistype the password the program starts under my current user. runas doesn't even appear to set the ...
6
votes
3answers
32k views

Command line argument for running as another user on Windows?

Under windows .msi installer, if you specify a custom action to be run at an application's installation time, it will get run under the "SYSTEM" user. Can I trick it by passing a command line ...
1
vote
3answers
6k views

How can I run commands in PowerShell with Administrator permissions?

I would like to run commands in PowerShell with Administrator permissions? How can I do that? I have tried to start PowerShell with the runas command, but PowerShell is closed immediately after I ...
5
votes
4answers
3k 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 ...
14
votes
6answers
47k views

Run task manager as another user (admin)

Is it possible to run the Windows Task Manager as another user, i.e. as an admin? Our users run with limited privileges, so it would be helpful if I could task manager as an administrator to kill a ...
4
votes
4answers
31k views

runas with administrator privileges

I'm having some problems with running the command prompt with administrator privileges. I'm use this command, to run as a specific user: runas /user:DOMAIN\MYUSER cmd The user DOMAIN\MYUSER is ...
7
votes
5answers
8k views

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 ...
12
votes
3answers
15k views

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 ...
2
votes
2answers
3k views

run as dialog always pops up

I recently got some malware on a machine that I don't use for much (partly intentional). I've cleaned it, but now everytime I open any .exe the 'Run As' dialog pops up asking me which user I want to ...
8
votes
1answer
10k views

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 ...
5
votes
1answer
3k views

Windows 7 Credential manager and accessing SQL Server from outside of the domain

My SQL Server is set to use Windows authentication. If I am connected to the domain directly from my Windows 7 Ultimate x64 machine, SQL Management Studio (SSMS) will let me authenticate with Windows ...
3
votes
2answers
2k views

how do you keep a console open after a runas command completes?

I'm trying to run the SharePoint 'stsadm' command using 'runas /user:spsetup "stsadm args...". The user authenticates, and the program runs, but it runs in a new console window which closes ...
13
votes
3answers
37k views

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 ...
16
votes
3answers
67k views

“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 ...