I'm using the following script to remotely unstall the sms client from my workstations:
@echo off
if exist c:\smsldrem.txt goto :END
rem ****** LANDesk removal *********************
echo Removing LANDesk client if installed
\\revpppdc\ldlogon\wscfg32.exe /u /n /noreboot
copy \\revpppdc\ldlogon\smsclreg.dll %WINDIR%\ms\sms\core\bin
rem ****** SMS removal ************************
echo Removing SMS Client if installed
call \\revpppdc\ldlogon\smsremove\20clicln.bat /scrub
rem ****** Copy file so that process does *
rem ****** not run at next logon **********
copy \\revpppdc\ldlogon\smsldrem.txt c:\
:END
It works fine until the end when I get the error: COuld not load the DLL Lirary
C:\DOcum~1\rev1322\LOCAL~1\Temp\smsclreg.dll.
Any suggestions?
@echo off
if exist c:\smsldrem.txt goto :END
rem ****** LANDesk removal *********************
echo Removing LANDesk client if installed
\\revpppdc\ldlogon\wscfg32.exe /u /n /noreboot
copy \\revpppdc\ldlogon\smsclreg.dll %WINDIR%\ms\sms\core\bin
rem ****** SMS removal ************************
echo Removing SMS Client if installed
call \\revpppdc\ldlogon\smsremove\20clicln.bat /scrub
rem ****** Copy file so that process does *
rem ****** not run at next logon **********
copy \\revpppdc\ldlogon\smsldrem.txt c:\
:END
It works fine until the end when I get the error: COuld not load the DLL Lirary
C:\DOcum~1\rev1322\LOCAL~1\Temp\smsclreg.dll.
Any suggestions?