Deploy uphclean.exe through Group Policy
Closed     Case # 10036     Affiliated Job:  New Trier Township District 2031
Opened:  Friday, May 23, 2008     Closed:  Friday, May 23, 2008
Total Hit Count:  17222     Last Hit:  Sunday, November 10, 2024 1:44:16 PM
Unique Hit Count:  5624     Last Unique Hit:  Sunday, November 10, 2024 1:44:16 PM
Case Type(s):  Development, Server
Case Notes(s):  All cases are posted for review purposes only. Any implementations should be performed at your own risk.

Problem:
During a technical call with Microsoft, one of the issues they noticed is we were not running the "User Profile Hive Cleanup Service." They asked we deploy this throughout the network computers to assist in releasing the user profiles so another task we have in place which removes student profiles on shutdown could execute accordingly.

Resolution:
To deploy, simply add both to a Group Policy's Computer Startup Script - initiating the uphclean.bat file. Make sure to adjust the appropriate settings for your environment.
-   uphclean.bat
   o   @ECHO OFF
   o   IF EXIST "C:\Windows\System32\uphclean.exe" GOTO END
   o   :INSTALL
   o   ECHO Setting up the UPH Clean Service...
   o   COPY "\\somedomain.com\SysVol\nths.net\Policies\{GUID of Group Policy}\Machine\Scripts\Startup\uphclean.exe" C:\windows\system32\uphclean.exe
   o   C:
   o   CD\windows\system32
   o   uphclean.exe -install
   o   GOTO COMPLETE
   o   :END
   o   ECHO File Already Exists...
   o   :COMPLETE
   o   ECHO Setup Complete...
-   uphclean.exe
   o   Download: http://www.microsoft.com/downloads/details.aspx?FamilyID=1B286E6D-8912-4E18-B570-42470E2F3582&displaylang=en&displaylang=en



Profile IMG: Footer Left Profile IMG: Footer Right