OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: RUNAS CMD files fail under Win2K SP1.
From: Ian Middleton (ian_mBVMLTD.CO.UK)
Date: Wed Aug 16 2000 - 10:34:19 CDT


I have a collection of .CMD files on a variety of Win2K machines to run
various Administative programs using the RUNAS command. ie:

runas /profile /user:administrator ntbackup

to run ntbackup. Similar for MMC.EXE etc etc.

After applying SP1 the RUNAS command fails to work producing a Microsft
Visual C++ run time error, abnormal program termination.

Further investigation reveals the under SP1 the machine name is required to
make the RUNAS command work. ie the above CMD files becomes:

runas /profile /user:cpc200eng\administrator ntbackup

Where cpc200eng is machine name.

Bit of a shame this as I will have go round updating these CMD files now !!.

I have repeated this on a clean install Win2k system with/with out service
pack applied. Preliminary investigation reveals the uninstalling the service
pack did not revert the system back, the RUNAS comamnd still failed. I am
unable to determine what file left behind from service pack uninstallation
is responsible.

Regards

Ian Middleton