Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
746 B

  1. net stop vss
  2. del /F c:\vss\vssvc.exe
  3. if EXIST c:\vss\vssvc.exe goto :EOF
  4. md c:\vss
  5. del %windir%\system32\vssvc.exe
  6. copy /Y vssvc.exe c:\vss
  7. copy /Y vssvc.pdb c:\vss
  8. del %windir%\system32\vssapi.dll
  9. copy /Y vssapi.dll c:\vss
  10. copy /Y vssapi.pdb c:\vss
  11. del %windir%\system32\eventcls.dll
  12. copy /Y eventcls.dll c:\vss
  13. copy /Y eventcls.pdb c:\vss
  14. del %windir%\system32\vss_ps.dll
  15. copy /Y vss_ps.dll c:\vss
  16. copy /Y vss_ps.pdb c:\vss
  17. del %windir%\system32\swprv.dll
  18. copy /Y swprv.dll c:\vss
  19. copy /Y swprv.pdb c:\vss
  20. %systemroot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\vssvc.inf
  21. c:\vss\vssvc /Register
  22. regsvr32 /S /i c:\vss\eventcls.dll
  23. regsvr32 /S c:\vss\vss_ps.dll
  24. regsvr32 /S c:\vss\swprv.dll