Windows utility helps admins remove Pinball, other games

Sometimes when you try to delete Windows components and shortcuts, the operating system will restrict you from deleting them. Find out how to use the sysocmgr.exe tool to remove Windows components.

System administrators are often asked to remove games such as FreeCell or Pinball from Windows machines. Sometimes deleting the executables and their shortcuts is not as easy as you might think; Windows will restrict you from deleting them.

To remove these components you will need to use the sysocmgr.exe utility (available at C:\WINDOWS\system32), which is used to add or remove Windows components. This utility uses a txt file that can be scripted.

Here is an example of how you can use this utility to remove the Pinball game from a Windows XP machine:

  1.  

  2. Create a text file to say "remove.txt" with the following things written in it:

    [Components]
    Pinball = off

     

  3. Now save this file, for instance, on your C drive.

     

  4. Go to command line and enter following command:
    sysocmgr /i:C:\WINDOWS\ServicePackFiles\i386\sysoc.inf /u:C:\remove.txt /q

The following is the description of the switches which can be been used with the above command:

/i The location of the .inf file for sysocmgr.exe. This is normally in the System32 directory or at "C:\WINDOWS\ServicePackFiles\i386"

/r Suppresses a reboot (in case if a reboot is needed on removal of specific components).

/q Runs the utility in quiet mode to suppress prompts.

/u Specifies the location of the .txt file.

/w Prompts the user to reboot instead of rebooting automatically (in case if a reboot is needed on removal of specific components).

Users may use any of the switches based on their requirement. After the execution of this command you will find that the Pinball game from your system has been removed.

About the author:Rahul Shah currently works at a software firm in India, where he is a systems administrator maintaining Windows servers. He has also worked for various software firms in testing and analytics, and also has experience deploying client/server applications in different Windows configurations.


More information on this topic:


This was first published in July 2006
This Content Component encountered an error

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close