login .bat script in windows xp user to run with admin rights
- by Kryan
if exist C:\Windows\System32\CCM\CcmExec.exe (
net use /del Z:
) else (
net use z: \\c-svsccm01\SMS_CMB\Client
start /d "Z:\" CCMSetup.exe )
This is a .bat file i created to run a .exe file in the mapped location "Z:\".it runs perfectly in the administrator account but not in the user account(which dosnt hav admin rights to install a .exe file)
in the user account, the mapping can be created and deleted but running the CCMSetup.exe dosnt work.
pls help how to run this CCMSetup.exe with admin rights in the user account.