Jump to content

joshljoshl

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About joshljoshl

joshljoshl's Achievements

0

Reputation

  1. I'd just like to say THANKS to MindMaster and this old thread. I was looking for a way to remove the update root certs component of W2K3 from the command line and this was the inspiration I needed. I thought I would take it one step further and integrate the creation of the .txt file into the batch file. This batch file will uninstall root cert updates in one fell swoop. Feel free to modify for whatever components you may be trying to remove. Cheers! @echo off cls echo Creating %windir%\inf\removerootupdates.txt... echo [Components] > %windir%\inf\removerootupdates.txt echo RootAutoUpdate=off >> %windir%\inf\removerootupdates.txt echo: echo Running sysocmgr to process %windir%\inf\removerootupdates.txt. echo You may see a dialog box pop up which may be ignored. echo Please wait a few moments... echo: if not exist %windir%\inf\removerootupdates.txt goto fail sysocmgr /i:%windir%/inf/sysoc.inf /u:%windir%/inf/removerootupdates.txt goto end :fail echo Could not create/locate %windir%\inf\removerootupdates.txt echo Please check permissions or remove manually. :end echo Script Complete. Exiting... rem the following command creates a few second pause so you can read the window before it closes ping 1.1.1.1 > nul
×
×
  • Create New...