Microsoft's User Account Control in Windows 7 ProfessionalThis is my first really bad experience with Microsoft's new User Account Control (UAC). Something caused our long-used and well trusted service account to be disabled.
After installing Windows Server 2003 Administrative Tools Pack so I can use MMC snap-in "Domain Users and Computers" (dsa.msc) on my local PC and after a few runas error 193, I kept getting the following error message:
C:\>runas /user:"domain\username" "mmc %windir%\system32\dsa.msc"
Ento start mmc C:\Windows\system32\dsa.msc as user "domain\username" ...
RUNAS ERROR: Unable to run - mmc C:\Windows\system32\dsa.msc
740: The requested operation requires elevation.
The solution was to call 'cmd /c' which tells 'cmd' to open and run the command supplied as a parameter, which is our mmc command:
C:\>runas /user:"domain\username" "cmd /c mmc %windir%\system32\dsa.msc"
Enter the password for domain\username:
Attempting to start cmd /c mmc C:\Windows\system32\dsa.msc as user "domain\username" ...
...now it works! :)
Yes it Works!ReplyDelete
Great Job thx.
Yiiiihaaaaaa! thanks :-)ReplyDelete
you made my dayReplyDelete
Thanks, finaly! :D But why I get a DOS windows opened?ReplyDelete
Thanks for solution!ReplyDelete
Kudos, worked for me too.ReplyDelete
Excellent tip, thank you.ReplyDelete
Great! Thanks. It help me!ReplyDelete
I also use the "/savecred" argument, Then i don't need to enter the password every time .ReplyDelete
I use :ReplyDelete
runas /user:"domain\username" "cmd /c start /B mmc %windir%\system32\dsa.msc"
It closes the commandprompt window after apllication start.
taking the above and managing a dhcp--preload with the desired server, use the syntax:
runas /user:"domain\username" "cmd /c start /B mmc %windir%\system32\dhcpmgmt.msc /servername my-dhcp"
Best Betting Sites: New Jersey Mobile Sportsbook AppsReplyDelete
NJ Online 여수 출장샵 Casinos. Since the Super Bowl, New Jersey 남원 출장샵 has enjoyed the 동두천 출장샵 best of online sports 제주 출장안마 betting. As long as you 상주 출장마사지 have a legal