wiki:ClientSetupLogicWinSixCleanup

Version 7 (modified by Ageless, 16 years ago) (diff)

adding registry keys to delete

Windows Installer Cleanup Instructions for version 6

Introduction

This document describes how to cleanup a machine so that it'll appear to be a clean machine to future 6.x client installs.

This document assumes that you were able to successfully uninstall BOINC via the add/remove control panel applet.

In addition to the information stored via normal MSI operations the BOINC installer makes the following additional changes depending on the options selected during install:

  • Creates two additional user accounts
  • Creates three local user groups
  • Assigns user rights to newly created users
  • Stores setup information to the registry
  • Migrates existing data from the installation directory to the data directory

Cleanup Users and Groups

To cleanup the newly created users and groups do the following:

  • Click on the 'Start' button.
  • Right-click on 'My Computer' and select 'Manage'.
  • Expand the 'Local Users and Groups' tree node.
  • Click on the Groups tree node.
  • Delete the 'boinc_admins' group.
  • Delete the 'boinc_users' group.
  • Delete the 'boinc_projects' group.
  • Click on the Users tree node.
  • Delete the 'boinc_master' user account.
  • Delete the 'boinc_project' user account.

Windows XP Home (and possibly Vista Home?) does not have the Local Users and Groups tree, we need to do it differently here:

  • Click on the 'Start' button.
  • Click on 'Programs'.
  • Click on 'Desktop-Accessories'.
  • Click on 'Command Prompt'.
  • In the command prompt window that opened, type:
    • net localgroup boinc_admins boinc_master /delete (press Enter).
    • net localgroup boinc_projects boinc_project /delete (press Enter).
    • net localgroup boinc_admins /delete (press Enter).
    • net localgroup boinc_users /delete (press Enter).
    • net localgroup boinc_projects /delete (press Enter).

Cleanup User Rights Assignments

To cleanup the newly assigned user rights do the following:

  • Click on the 'Start' button.
  • Click on 'Control Panel'.
  • Launch the 'Administrative Tools' control panel applet.
  • Launch the 'Local Security Policy' application.
  • Expand the 'Local Policies' tree node.
  • Click on the 'User Rights Assignment' node.

Open each user right that contains an '*S-' style entry, and remove each entry that begins with '*S-'. Each '*S-' entry represents a user account that has been deleted from the system.

Windows XP Home (and possibly Vista Home?) does not have the Local Security Policy. It is possible that these are saved at either HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy\GroupMembership or !HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy

(Backup your registry before changing anything. Don't just delete entries in the registry without knowing exactly what they are for!)

Cleanup Setup Registry Entries

To cleanup the newly created registry entries do the following:

  • Launch 'regedit.exe' from the Start\Run menu item.
  • Expand the 'HKEY_LOCAL_MACHINE' entry.
  • Expand the 'Software' entry.
  • Expand the 'Space Sciences Laboratory, U.C. Berkeley' entry.
    • Delete the 'BOINC Setup' entry.
    • Delete the 'Space Sciences Laboratory, U.C. Berkeley' key.
  • Expand the 'HKEY_CURRENT_USER' entry.
  • Expand the 'Software' entry.
  • Expand the 'Space Sciences Laboratory, U.C. Berkeley' entry.
    • Delete the 'BOINC Manager' entry.
    • Delete the 'BOINC screensaver' entry.
    • Delete the 'Space Sciences Laboratory, U.C. Berkeley' entry.

Exit regedit: File -> Exit.

Cleanup Migration of Data Files

Move all data files back into your installation directory from your newly created data directory.

Conclusion

After performing all the actions your machine should appear to be a clean install to future attempts to execute v6 installers.