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 doesn't have admin rights to install an
In the user account, the mapping can be created and deleted but running the
CCMSetup.exe doesn't work.
How can I run this
CCMSetup.exe with admin rights in the user account?