Problem:
How do I uninstall ProfileUnity client?
Resolution:
Step 1. If ProfileUnity client is installed on the base image or installed locally on a physical machine:
For ProfileUnity 6.5 and later:
Option A. Automatic Uninstall: (Batch script attached)
From an elevated command prompt, run the following command or edit the GPO and replace computer startup script with this line:
\\server\netlogon\profileunity\LwL.ProfileUnity.Client.Startup.exe /uninstall
Note: This command requires admin rights to run as it will remove system files and services.
Option B. Manual Uninstall
Manual uninstall AFTER the Programs/Features uninstall fails:
1. In cmd prompt:
sc stop lwlelevation
sc stop lwlprofile
sc stop lwlcontainerservice
sc stop lwluserapp
sc stop cbreg
sc stop lwl_proc_info
sc delete lwlelevation
sc delete lwlprofile
sc delete lwlcontainerservice
sc delete lwluserapp
sc delete cbreg
sc delete cbfltfs4
sc delete lwl_proc_info
sc delete cbfsfilter2017 for ProfileUnity 6.8.3 and above
sc delete cbfilter20 for ProfileUnity 6.8.4 and above
2. Delete C:\Program Files\ProfileUnity folder
3. Open regedit:
1. Delete "HKLM\SOFTWARE\Liquidware Labs"
2. Edit "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\userinit" and change "C:\Program Files\ProfileUnity\userinit.exe" to "C:\Windows\System32\userinit.exe"
3. Delete "HKLM\SYSTEM\ControlSet001\services\lwl_prof_info"
4. Delete "HKLM\SYSTEM\ControlSet001\services\LwlCredMgr"
5. Remove "LwlCredMgr" from the list in "HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order\ProviderOrder"
4. Go back into Programs and Features and uninstall the ProfileUnity client again (it will prompt to remove from list)
5. Reboot machine (make sure you've deleted the Startup portion of the GPO so it doesn't get reinstalled)
Product: ProfileUnity
Product Version: All