This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Removing registry entries

Well the keys in HKEY_USERS are going to be under a different user id string on your system.
There's probably a more straightforward way to extract this via script, but I came up with:

 cat /etc/passwd | grep `whoami` | awk -F":" '{print $5}' | cut -f2 -d","

In any case, from what I've found, this might work on a Windows 2000 system:
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions]

[-HKEY_CURRENT_USER\Software\Cygnus Solutions]


[-HKEY_USERS\.DEFAULT\Software\Cygnus Solutions]

[-HKEY_USERS\S-1-5-21-117609710-789336058-1957994488-1000\Software\Cygnus Solutions]

[-HKEY_USERS\S-1-5-21-117609710-789336058-1957994488-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions]

Save that to a file ending in .reg and double click on it.  WARNING: This will delete registry keys.  Don't expect cygwin to work without a reinstall.

This WON'T work in windows 95, and in Windows 98 you need to use something like:
The REGEDIT4 thing might work in Win2000 too, I didn't try it.


Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]