Tip

Windows utility helps admins remove Pinball, other games

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).

Requires Free Membership to View

/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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.