Microsoft's User Account Control in Windows 7 Professional
This 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!
ReplyDeleteGreat Job thx.
Woohoo! Thanks.
ReplyDeleteCool thanks!
ReplyDeleteYiiiihaaaaaa! thanks :-)
ReplyDeleteyou made my day
ReplyDeleteThanks, finaly! :D But why I get a DOS windows opened?
ReplyDeleteThanks for solution!
ReplyDeleteKudos, worked for me too.
ReplyDeletecool
ReplyDeleteExcellent tip, thank you.
ReplyDeleteGreat! Thanks. It help me!
ReplyDeleteI also use the "/savecred" argument, Then i don't need to enter the password every time .
ReplyDeleteI use :
ReplyDeleterunas /user:"domain\username" "cmd /c start /B mmc %windir%\system32\dsa.msc"
It closes the commandprompt window after apllication start.
Gracias
ReplyDeleteThank You...
anyone interested:
ReplyDeletetaking 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 Apps
ReplyDeleteNJ Online 여수 출장샵 Casinos. Since the Super Bowl, New Jersey 남원 출장샵 has enjoyed the 동두천 출장샵 best of online sports 제주 출장안마 betting. As long as you 상주 출장마사지 have a legal