![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Run As different user When using XP, I was able to run different programs (AD, etc) as a Domain Admin while logged onto the computer as a Domain User. I did this by holding the shift key down while right clicking on the program and then selecting "Run as...". At this point, I would type in the Domain Admin's credentials and be able to do what I needed to do. How can I do this in Vista? Whenever I click on the "Run as..." it just runs the program with elevated rights. I am needing to run it with completely different credentials altogether. I have tried getting around this by using the Runas command, but it fails to open AD because it needs elevated privileges (even when running the command prompt with elevated privileges). Any help would be greatly appreciated. Thanks in advance! |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Run As different user look at windows vista enterpirse -- http://search.goldwatches.com/?Search=Movado+Watches http://www.goldwatches.com/ http://www.jewelerslounge.com/ "njohn" <njohn@xxxxxx> wrote in message news:8170DD80-9339-4D93-8316-A7328F359C9E@xxxxxx Quote: > When using XP, I was able to run different programs (AD, etc) as a Domain > Admin while logged onto the computer as a Domain User. I did this by > holding > the shift key down while right clicking on the program and then selecting > "Run as...". At this point, I would type in the Domain Admin's credentials > and be able to do what I needed to do. > How can I do this in Vista? Whenever I click on the "Run as..." it just > runs the program with elevated rights. I am needing to run it with > completely > different credentials altogether. > I have tried getting around this by using the Runas command, but it fails > to open AD because it needs elevated privileges (even when running the > command prompt with elevated privileges). > Any help would be greatly appreciated. Thanks in advance! |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Run As different user I am not sure what you mean by that, your post was rather vague. When looking at Enterprise, what would you like me to see? Does Enterprise have that capability while the other versions do not? Is there a way to get that capability in the Business version? "James Matthews" wrote: Quote: > look at windows vista enterpirse > > -- > > http://search.goldwatches.com/?Search=Movado+Watches > http://www.goldwatches.com/ > http://www.jewelerslounge.com/ > "njohn" <njohn@xxxxxx> wrote in message > news:8170DD80-9339-4D93-8316-A7328F359C9E@xxxxxx Quote: > > When using XP, I was able to run different programs (AD, etc) as a Domain > > Admin while logged onto the computer as a Domain User. I did this by > > holding > > the shift key down while right clicking on the program and then selecting > > "Run as...". At this point, I would type in the Domain Admin's credentials > > and be able to do what I needed to do. > > How can I do this in Vista? Whenever I click on the "Run as..." it just > > runs the program with elevated rights. I am needing to run it with > > completely > > different credentials altogether. > > I have tried getting around this by using the Runas command, but it fails > > to open AD because it needs elevated privileges (even when running the > > command prompt with elevated privileges). > > Any help would be greatly appreciated. Thanks in advance! |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Run As different user njohn wrote: Quote: > When using XP, I was able to run different programs (AD, etc) as a > Domain Admin while logged onto the computer as a Domain User. I did > this by holding the shift key down while right clicking on the > program and then selecting "Run as...". At this point, I would type > in the Domain Admin's credentials and be able to do what I needed to > do. How can I do this in Vista? Whenever I click on the "Run > as..." it just runs the program with elevated rights. I am needing to > run it with completely different credentials altogether. > I have tried getting around this by using the Runas command, but it > fails to open AD because it needs elevated privileges (even when > running the command prompt with elevated privileges). > Any help would be greatly appreciated. Thanks in advance! I just got Vista by virtue of a new machine and was playing around with UAC. Unfortunately, the runas command provided does not elevate rights as does the Run as Administrator on the contecxt menu just as you pointed out. Anyway, I have compiled up shellas.exe which just calls ShellExecute API with the runas verb as one of the parameters - this isn't different than in XP. So, now I can type shellas somecommand in the Run dialog and not have to find the exe and right click on it... The command will run with elevated rights as the user you select in the dialog. I have gone a step further. In XP, I run as a limited user, but once I log in, I become an administrator, so that I can optionally run processes that need admin rights as myself and not another user (e.g. installs). Upon, logoff I am depricated to a limited user again for the next time. I have now dome something similar in Vista, but it works subtley different and isn't really as necessary any more, but works to keep myself a limited user until I logon (after explorer desktop starts), then using shellas I am made an administrator, then can run commands later with elevated rights as myself and not another user; at logoff, I am removed from the administrators group. Toad -- -- |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Run As different user I am glad that you were able to program something around this, but this is something that should be built in! After all, it is following Microsoft's guidelines for safe practices in a domain environment. I shouldn't need to write a program to do something that was not only built into the last several OS's that were released, but also encouraged by Microsoft. I am holding my breath to see if SP1 will fix this (in my opinion) integral flaw in Vista. "Toad" wrote: Quote: > njohn wrote: > Quote: > > When using XP, I was able to run different programs (AD, etc) as a > > Domain Admin while logged onto the computer as a Domain User. I did > > this by holding the shift key down while right clicking on the > > program and then selecting "Run as...". At this point, I would type > > in the Domain Admin's credentials and be able to do what I needed to > > do. How can I do this in Vista? Whenever I click on the "Run > > as..." it just runs the program with elevated rights. I am needing to > > run it with completely different credentials altogether. > > I have tried getting around this by using the Runas command, but it > > fails to open AD because it needs elevated privileges (even when > > running the command prompt with elevated privileges). > > Any help would be greatly appreciated. Thanks in advance! > Hi there, > > I just got Vista by virtue of a new machine and was playing around with > UAC. Unfortunately, the runas command provided does not elevate rights > as does the Run as Administrator on the contecxt menu just as you > pointed out. > > Anyway, I have compiled up shellas.exe which just calls ShellExecute > API with the runas verb as one of the parameters - this isn't different > than in XP. > > So, now I can type shellas somecommand in the Run dialog and not have > to find the exe and right click on it... The command will run with > elevated rights as the user you select in the dialog. > > I have gone a step further. In XP, I run as a limited user, but once I > log in, I become an administrator, so that I can optionally run > processes that need admin rights as myself and not another user (e.g. > installs). Upon, logoff I am depricated to a limited user again for the > next time. > > I have now dome something similar in Vista, but it works subtley > different and isn't really as necessary any more, but works to keep > myself a limited user until I logon (after explorer desktop starts), > then using shellas I am made an administrator, then can run commands > later with elevated rights as myself and not another user; at logoff, I > am removed from the administrators group. > > Toad > > -- > > > -- > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| dont know user account control password and no administrator user | General Discussion | |||
| Vista Home Premium: New user account failing to load user profile | Vista account administration | |||
| Control the Maximum allowed User Sessions in Fast User Switching | Vista General | |||
| Temporary user profile created when user logs into domain | Vista networking & sharing | |||
| User Profile Bad if this user is not first user logged onto Vista | Vista account administration | |||