windows-nt/Source/XPSP1/NT/admin/snapin/localsec/install.cmd

19 lines
444 B
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@echo off
echo Installing Local Security Snapin...
copy mfc42ud.dll %windir%\system32
copy msvcrtd.dll %windir%\system32
copy msvcp50d.dll %windir%\system32
copy localsec.hlp %windir%\help
copy localsec.chm %windir%\help
regsvr32 /s localsec.dll
if "%ERRORLEVEL%" == "0" (
echo Installation successful.
goto end
) else (
if "%ERRORLEVEL%" == "3" echo localsec.dll not found.
)
echo Installation failed! Are you really an Administrator?
:end