Author: nextgens
Date: 2008-02-25 02:56:14 +0000 (Mon, 25 Feb 2008)
New Revision: 18147

Modified:
   trunk/apps/new_installer/res/windows/Uninstaller/uninstall.cmd
Log:
new_installer: improve the uninstaller (we weren't removing the configuration 
related to the rights of the freenet user fully)

Modified: trunk/apps/new_installer/res/windows/Uninstaller/uninstall.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/Uninstaller/uninstall.cmd      
2008-02-25 00:37:49 UTC (rev 18146)
+++ trunk/apps/new_installer/res/windows/Uninstaller/uninstall.cmd      
2008-02-25 02:56:14 UTC (rev 18147)
@@ -12,6 +12,10 @@
 @echo Unregistering the system service
 @"../bin/wrapper-windows-x86-32.exe" -r ../wrapper.conf 
 @echo Deleting the freenet user
+ at ../bin/ntrights.exe -u freenet -r SeServiceLogonRight > NUL
+ at ../bin/ntrights.exe -u freenet -r SeIncreaseBasePriorityPrivilege > NUL
+ at ../bin/ntrights.exe -u freenet -r SeDenyNetworkLogonRight > NUL
+ at ../bin/ntrights.exe -u freenet -r SeDenyInteractiveLogonRight > NUL
 @net user freenet /delete > NUL 2> NUL
 @echo Cleaning up the registry
 @echo Windows Registry Editor Version 5.00 >> fref.reg


Reply via email to