From kotishe, 1 Year ago, written in Plain Text.
Embed
  1. @echo off
  2. for /f %%I in (' reg query "HKLM\SYSTEM\ControlSet001\Services" /k /f "CDPUserSvc" ^| find /i "CDPUserSvc" ') do (
  3. reg add "%%I" /v "Start" /t REG_DWORD /d 4 /f )
  4. for /f %%I in (' reg query "HKLM\SYSTEM\ControlSet001\Services" /k /f "OneSyncSvc" ^| find /i "OneSyncSvc" ') do (
  5. reg add "%%I" /v "Start" /t REG_DWORD /d 4 /f )
  6. for /f %%I in (' reg query "HKLM\SYSTEM\ControlSet001\Services" /k /f "PimIndexMaintenanceSvc" ^| find /i "PimIndexMaintenanceSvc" ') do (
  7. reg add "%%I" /v "Start" /t REG_DWORD /d 4 /f )
  8. for /f %%I in (' reg query "HKLM\SYSTEM\ControlSet001\Services" /k /f "UnistoreSvc" ^| find /i "UnistoreSvc" ') do (
  9. reg add "%%I" /v "Start" /t REG_DWORD /d 4 /f )
  10. for /f %%I in (' reg query "HKLM\SYSTEM\ControlSet001\Services" /k /f "UserDataSvc" ^| find /i "UserDataSvc" ') do (
  11. reg add "%%I" /v "Start" /t REG_DWORD /d 4 /f )
  12. for /f %%I in (' reg query "HKLM\SYSTEM\ControlSet001\Services" /k /f "MessagingService" ^| find /i "MessagingService" ') do (
  13. reg add "%%I" /v "Start" /t REG_DWORD /d 4 /f )
  14. for /f %%I in (' reg query "HKLM\SYSTEM\ControlSet001\Services" /k /f "WpnUserService" ^| find /i "WpnUserService" ') do (
  15. reg add "%%I" /v "Start" /t REG_DWORD /d 4 /f )
  16. @pause