Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
Does the user have full permissions to the folder? – Arran Sep 6 '12 at 10:42
1  
Use te RUNAS tool to run CCMSetup.exe as administrator. – Jay Sep 9 '12 at 12:31

migrated from stackoverflow.com Oct 7 '12 at 20:27

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.