1
vote
2answers
64 views

right click on program > “%1” %* instead of run

I have windows 7 and downloaded a program (.exe possibly containing a virus), but didn't install it. Then I right clicked on the program > open with > notepad (always use this program not selected), ...
0
votes
1answer
68 views

How to apply the “Run as Administrator” option for all executables in a folder

I have a Windows 7 PC in which I have a folder with a lot of .exe files in it. I want to grant Administrator privileges by default to all these executables: I can do it by picking them one by one, ...
0
votes
0answers
147 views

Network adapter settings via cmd

How to open setting of the specific network adapter via commandline in Windows 7 Enterprise? I'm under domain user but also have access to local administator user. Under domain user I have no rights ...
4
votes
2answers
230 views

Why is the “Run as Administrator” checkbox disabled?

I have a .bat file that cannot allow me to set it to run as admin as required by going to the Properties box and check for Privilege checkbox. But mine is disabled as below snapshot. What can I do ...
2
votes
0answers
58 views

how can i set a complete folder, subfolders and exes to “run as” admin on windows 7?

I have an appref-ms program. It first checks for updates and then installs a program. Then executes the new version. Using the admin account I have no problems, but when I use a normal profile a have ...
2
votes
3answers
2k views

runas - 1326: Logon failure: unknown user name or bad password

I tried to execute notepad from cmd using the following command- runas /noprofile /user:<username>@<ip> notepad Then I got this output where I was asked to enter my password Enter the ...
5
votes
2answers
4k views

How do I configure my application to run as administrator automatically?

I have created a patch file with an executable inside of it using Winrar SFX feature. After executing the SFX file and the extraction ends up, my executable file will never run because it doesn't have ...
-2
votes
1answer
68 views

How do RunAs without settign admin mode in Windows 7

I would like to be able to use RunAs in Windows 7 without using an admin account, or using an account that happens to be an admin without bypassing UAC. Is this possible? If so, how?
0
votes
0answers
121 views

runas lower user without password

Say I am Administrator in a cmd. Now I want to run a process as a non Administrator Account without entering the password of the lower user. >echo %USERNAME% Administrator >runas ...
2
votes
1answer
5k 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. ...
0
votes
2answers
968 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 ...
3
votes
3answers
13k 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
124 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 ...
-1
votes
1answer
159 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
208 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? ...
2
votes
1answer
2k 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 ...
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 ...
2
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 ...
3
votes
2answers
818 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
3answers
4k 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
5k 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
9k 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
9k 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
1k 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
267 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
3answers
664 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 ...
1
vote
3answers
399 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
1answer
2k 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 ...
1
vote
3answers
5k 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 ...
4
votes
3answers
2k 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 ...
7
votes
1answer
6k 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 ...
4
votes
1answer
2k 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 ...
12
votes
3answers
31k 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 ...
14
votes
6answers
34k views

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

Runas context menu shortcut

In Windows 7 there is an option to enable a run as context menu by holding down the shift key when opening the start menu. When I select the run as option a credentials dialog is shown, but it ...
29
votes
4answers
16k views

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

Run As Administrator Settings Under Shortcut

There are two checkboxes for Run As Administrator in the Properties dialog for a shortcut in Windows 7. One is under the Shortcut tab in the Advanced Properties dialog, and the other is under the ...
11
votes
11answers
38k views

Runas Windows Explorer in Windows 7

I'm having a strange issue with Windows Explorer on Windows 7 Professional. When I try to open it up under different user credentials, I get the following error message: The results are the same ...
1
vote
4answers
3k views

Configure Mouse Buttons for “Administrator”/Elevated privileges

I am, for better or worse, an administrator on my Windows 7 machine. However, even then, I still need to run certain programs "as Administrator" - for example, Visual Studio 2008 when working with ...