Guest mgent Posted October 10, 2008 Posted October 10, 2008 Hi, I'm trying to setup a little bat file to load the diskmagement system. When I run it though I get the following message. I've got local admin access. Sadly it doesn't work, dont' know where to turn either. I'm also looking to get to run over the network, but I just want it to work locally right now. PHP code: -------------------- runas /user:or\Installxp "C:\WINDOWS\SYSTEM32\diskmgmt.msc" -------------------- PHP code: -------------------- C:>runas /user:or\Installxp "C:\WINDOWS\SYSTEM32\diskmgmt.msc" Enter the password for or\Installxp: Attempting to start C:\WINDOWS\SYSTEM32\diskmgmt.msc as user "or\Installxp" ... RUNAS ERROR: Unable to run - C:\WINDOWS\SYSTEM32\diskmgmt.msc 193: C:\WINDOWS\SYSTEM32\diskmgmt.msc is not a valid Win32 application. -------------------- -- mgent
Guest John Wunderlich Posted October 17, 2008 Posted October 17, 2008 Re: Runas issue mgent <mgent@ogilvyrenault.com> wrote in news:mgent.3hez8d@no-mx.tabletquestions.com: > > Hi, I'm trying to setup a little bat file to load the diskmagement > system. > When I run it though I get the following message. I've got local > admin access. Sadly it doesn't work, dont' know where to turn > either. I'm also looking to get to run over the network, but I > just want it to work locally right now. > > > PHP code: > -------------------- > > runas /user:or\Installxp "C:\WINDOWS\SYSTEM32\diskmgmt.msc" > > -------------------- > > > > PHP code: > -------------------- > C:>runas /user:or\Installxp "C:\WINDOWS\SYSTEM32\diskmgmt.msc" > Enter the password for or\Installxp: > Attempting to start C:\WINDOWS\SYSTEM32\diskmgmt.msc as user > "or\Installxp" ... RUNAS ERROR: Unable to run - > C:\WINDOWS\SYSTEM32\diskmgmt.msc 193: > C:\WINDOWS\SYSTEM32\diskmgmt.msc is not a valid Win32 > application. > -------------------- > > Did you try: runas /user:or\Installxp "C:\windows\system32\mmc C:\WINDOWS\SYSTEM32\diskmgmt.msc" ? HTH, John
Recommended Posts