Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.2.20020205115438.060133d0@lnxmain> X-Sender: roland AT lnxmain X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 05 Feb 2002 12:01:19 -0500 To: cygwin AT cygwin DOT com From: Roland Glenn McIntosh Subject: Re: Removing registry entries Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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_LOCAL_MACHINE\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: REGEDIT4 [-HKEY_CURRENT_USER\keyname] The REGEDIT4 thing might work in Win2000 too, I didn't try it. -rgm -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/