[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1608
  • Last Modified:

Using the run as command in Vista doesn't work

I followed the solution from this link and changed the policy in the gpedit.msc:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_Vista/Q_22985114.html?sfQueryTermInfo=1+command+run+vista

It didn't seem to work.  I am running as a user myself and if I hold the Shit + Right-Click to run a program with elevated privileges it doesn't promnpt me for credentials like it did in XP.  Instead when I do it the program/installation opens like normal and errors out before it is through.  Any suggestions on what I could do here?  Thanks,

JS
0
Jscott82305
Asked:
Jscott82305
  • 7
  • 4
  • 3
1 Solution
 
aissimCommented:
With Vista I've never seen the 'Run As...' work either. I believe the shift+ right-click combo should give you a menu item named 'Run as Administrator'.

If you're not getting that option on this particular installer try this:

Go to Start | All Programs | Accessories | right-click Windows Explorer and select 'Run as Administrator'. Then use that resulting instance of explorer to browse to your program - it should run with elevated privileges.
0
 
Jscott82305Author Commented:
I can't understand why this would be an issue.  I am starting to regret us bringing Vista into our network environment.  I will let you know what happens with the above instructions.  Thanks.

JS
0
 
Jscott82305Author Commented:
Okay,  I tried what you said.  The problem is when I do a run as it doesn't prompt for credentials.  I need to be able to run as an elevated domain account.  It doesn't seem to work.  Any other ideas?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
aissimCommented:
I was thinking if you started Windows Explorer with 'Run as Administrator'....then used that explorer window to browse to the install and just double-click to run (not 'run as' at this point), it might run with admin privileges since the explorer window was already running under that context.

Or did you do that and the install still errored out?
 
0
 
Jscott82305Author Commented:
Actually what happens is when I select the run as administrator it just opens like normal still.  It doesn't give me elevated privileges.  It should at least prompt me for credentials.  If it is not going to work then Vista was a mistake.
0
 
Jscott82305Author Commented:
Yeah, when I tried it sill errored out.  Thanks for your help on this so far.
0
 
aissimCommented:
(Yeah, I've been running Vista for almost a year on my machine....to 'evaluate & test' before migrating our end users...and I just can't bring myself to do it. Can't quite justify as of yet)

I've got one more idea...using an elevated command prompt to start the install. Create a shortcut on the desktop to c:\windows\system32\cmd.exe; go to the properties of that shortcut, on the Shortcut tab click the Advanced button, then tick the box labeled 'Run as administrator'.

Once that's done open the command prompt with that shortcut and try running the install from the command line??
0
 
DebugNTCommented:
1. Copy the Shortcut to the program you want to run to your Documents Folder
      (Copying to the desktop is a different problem)
      In my example, I copied the Command Prompt shortcut to Documents
2. Right click on the Shortcut
3. Change the target to inlcude the DOMAIN and USER name followed by the program location and exe.
4. %SystemRoot%\system32\runas.exe /user:DOMAIN\USER %SystemRoot%\system32\cmd.exe
5. Click Ok

Double Click on ICON and Command Window will prompt for the password and the program will run as the user.
0
 
Jscott82305Author Commented:
No good.  I hope they are planning on a patch for this.
0
 
DebugNTCommented:
Are you saying that if you go to the command prompt and literally just paste in the following command, that it doesn't prompt for a password?

%SystemRoot%\system32\runas.exe /user:DOMAIN\USER %SystemRoot%\system32\cmd.exe

0
 
Jscott82305Author Commented:
I apologize, I thought I had mentioned what I was trying to run other than the program.  I have Windows 2003 Administration tools installed and I was trying to do a runas with the AD Users and Computers and it wouldn't let me.  When I copy and paste the cmd you supplied it does open the cmd as the domain user that I specify, however,  when I go to the root of the AD Users and computers and type this path it tells me that it is not a valid win32 app.
0
 
Jscott82305Author Commented:
Thank you for your help this was exactly what I needed!
0
 
DebugNTCommented:
Try this first.  Start the CMD prompt as instructued above then type
    MMC
Then add the AD users and COmputers Snap In.

Afterwords create a shortcut that has
    mmc gpedit.msc
As the target (not just the msc name)
0
 
DebugNTCommented:
Better yet use the newly posted ShellRunas v1.01 By Mark Russinovich Published: February 28, 2008
http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 7
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now