[Request]User Profile Hive Cleanup Service 2.0

Discuss & post Update Pack addons here.
Post Reply
User avatar
store88
Posts: 50
Joined: Sun Feb 04, 2007 8:54 am
Location: china

[Request]User Profile Hive Cleanup Service 2.0

Post by store88 » Sun Jun 07, 2009 3:01 am

http://blogs.technet.com/uphclean/pages ... ystem.aspx

I try to make an addon with it; test in virtualbox and run the uphclean service with the error: Error 2: the system cannot find the file specified


http://rapidshare.com/files/241746568/NR_UPHC.7z.html
MD5: A086F83DC54568BF781ECCA5EC789A4D
That is the uphclean'download link

Code: Select all

;===================================================================
[Version]
Signature=$Windows NT$

[DefaultInstall]
OptionDesc	="User Profile Hive Cleanup Service 2.0"
Tip		="User Profile Hive Cleanup"
Modes		=0,1,2,3
CopyFiles	=UPHC.Copy
AddReg		=UPHC.AddReg

[Optional Components]
NR_UPHC_Addon

[NR_UPHC_Addon]
OptionDesc	="User Profile Hive Cleanup Service 2.0"
Tip		="User Profile Hive Cleanup"
Modes		=0,1,2,3
CopyFiles	=UPHC.Copy
AddReg		=UPHC.AddReg

[SourceDisksNames.x86]
1="UPHC Files","NR_UPHC.cab",,"i386"

[DestinationDirs]
UPHC.Copy	=11

[SourceDisksFiles]
uphclean.dll=1

[UPHC.Copy]
uphclean.dll

[UPHC.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost","UPHClean",0x00010000,"UPHClean"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000\Control","*NewlyCreated*",0x10001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000\Control","ActiveService",,"UPHClean"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000","Service",,"UPHClean"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000","Legacy",0x00010001,0x00000001
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000","ConfigFlags",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000","Class",,"LegacyDriver"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000","ClassGUID",,"{8ECC055D-047F-11D1-A537-0000F8753ED1}"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN\0000","DeviceDesc",,"User Profile Helper Cleanup"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEAN","NextInstance",0x00010001,0x00000001
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","Control\*NewlyCreated*",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","Control\ActiveService",,"uphcleanhlp"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","Service",,"uphcleanhlp"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","Legacy",0x00010001,0x00000001
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","ConfigFlags",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","Class",,"LegacyDriver"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","ClassGUID",,"{8ECC055D-047F-11D1-A537-0000F8753ED1}"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP\0000","DeviceDesc",,"uphcleanhlp"
hklm,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UPHCLEANHLP","NextInstance",0x00010001,0x00000001
hklm,"SYSTEM\CurrentControlSet\Services\Eventlog\Application\UPHClean","EventMessageFile",,"%SystemRoot%\system32\uphclean.dll"
hklm,"SYSTEM\CurrentControlSet\Services\Eventlog\Application\UPHClean","TypesSupported",0x00010001,0x00000007
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Enum","0",,"Root\LEGACY_UPHCLEAN\0000"
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Enum","Count",0x00010001,0x00000001
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Enum","NextInstance",0x00010001,0x00000001
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Security","Security",0x00030001,\
01,00,14,80,90,00,00,00,9C,00,00,00,14,00,00,00,30,00,00,00,02,00,1C,00,01,\
00,00,00,02,80,14,00,FF,01,0F,00,01,01,00,00,00,00,00,01,00,00,00,00,02,00,\
60,00,04,00,00,00,00,00,14,00,FD,01,02,00,01,01,00,00,00,00,00,05,12,00,00,\
00,00,00,18,00,FF,01,0F,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,\
00,00,14,00,8D,01,02,00,01,01,00,00,00,00,00,05,0B,00,00,00,00,00,18,00,FD,\
01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,00,00,00,00,\
00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","ServiceDll",,"%SystemRoot%\system32\uphclean.dll"
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","ServiceMain",,"ServiceMain"
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","REPORT_ONLY",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","CALLSTACK_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","RESTRICT_FORCE_CLOSE_HANDLE",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","DISABLEREGFLUSHKEY",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","SHARING_VIOLATION_DELAY",0x00010001,0x000003E8
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","SHARING_VIOLATION_REMAP",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","USER_EXCLUSION_LIST",0x00010001,00,00
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","PROCESS_EXCLUSION_LIST",0x00010001,00,00
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Parameters","REMAP_HANDLE_PROCESS_LIST",0x00010001,2A,00,00,00
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","INIT_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","INIT_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","HIVE_TOUNLOAD_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","HANDLELIST_GETNAME_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","HANDLELIST_GETNAME_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","HANDLELIST_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","HANDLELIST_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","HANDLELIST_REJECT_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","CLOSEHANDLE_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","CALLSTACK_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","REMAPHANDLE_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","REMAPHANDLE_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","UNINIT_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","UNINIT_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","DETOUR_LOG",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","DETOUR_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean\Diagnostics","PROCESSING_ERROR",0x00010001,0x00000000
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean","Type",0x00010001,0x00000010
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean","Start",0x00010001,0x00000002
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean","ErrorControl",0x00010001,0x00000001
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean","ImagePath",0x00020000,"%SystemRoot%\system32\svchost.exe -k UPHClean"
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean","DisplayName",0x00000000,"User Profile Helper Cleanup"
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean","ObjectName",0x00000000,"LocalSystem"
hklm,"SYSTEM\CurrentControlSet\Services\UPHClean","Description",0x00000000,"Cleans up resources held by processes preventing complete user profile loading and unloading.  This can help speed up logging off, reconciliation of roaming profiles and prevent exceeding the registry size limit."

User avatar
compstuff
Posts: 464
Joined: Fri Aug 11, 2006 3:25 pm
Location: Florida

Post by compstuff » Sun Jun 07, 2009 9:32 am


User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Sun Jun 07, 2009 11:06 am

Where can I find v2.0?

Edit nevermind missed the link in the post

Edit2 BTW it appears all you need to do is normal RegisterDLLs and those reg entries are added

User avatar
compstuff
Posts: 464
Joined: Fri Aug 11, 2006 3:25 pm
Location: Florida

Post by compstuff » Sun Jun 07, 2009 10:10 pm

sorry I missed the difference between 1.6 and 2.0... :oops:

User avatar
store88
Posts: 50
Joined: Sun Feb 04, 2007 8:54 am
Location: china

Post by store88 » Mon Jun 08, 2009 12:32 am

ricktendo64 wrote:Where can I find v2.0?

Edit nevermind missed the link in the post

Edit2 BTW it appears all you need to do is normal RegisterDLLs and those reg entries are added
http://blogs.technet.com/uphclean/pages ... ystem.aspx

File attached here:
Attachment(s): uphclean-setup.msi

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Mon Jun 08, 2009 1:07 am

store88 you dont have to do AddReg just RegisterDLLs

Code: Select all

[Version]
Signature=$Windows NT$

[DefaultInstall]
OptionDesc   ="User Profile Hive Cleanup Service 2.0"
Tip      ="User Profile Hive Cleanup"
Modes      =0,1,2,3
CopyFiles   =UPHC.Copy
RegisterDLLs=UPHC.Register

[Optional Components]
NR_UPHC_Addon

[NR_UPHC_Addon]
OptionDesc   ="User Profile Hive Cleanup Service 2.0"
Tip      ="User Profile Hive Cleanup"
Modes      =0,1,2,3
CopyFiles   =UPHC.Copy
RegisterDLLs=UPHC.Register

[SourceDisksNames.x86]
1="UPHC Files","NR_UPHC.cab",,"i386"

[DestinationDirs]
UPHC.Copy   =11

[SourceDisksFiles]
uphclean.dll=1

[UPHC.Copy]
uphclean.dll

[UPHC.Register]
11,,uphclean.dll,1

User avatar
store88
Posts: 50
Joined: Sun Feb 04, 2007 8:54 am
Location: china

Post by store88 » Tue Jun 09, 2009 12:16 am

@ricktendo64 thx, that's right

User avatar
MrNxDmX
Moderator
Posts: 3112
Joined: Mon Jan 03, 2005 7:33 am

Post by MrNxDmX » Tue Jun 30, 2009 5:32 pm


adric
Posts: 581
Joined: Mon May 21, 2007 5:51 am

Post by adric » Sun Nov 22, 2009 8:45 pm

I recently uninstalled Uphclean 2.0 and it broke the Add/Remove Windows Component. The Windows Components Wizard will no longer launch because of an uphclean error message.

Al

User avatar
DaRk MaDnEsS
Posts: 168
Joined: Fri Oct 10, 2008 4:15 pm
Location: Port Said,Egypt

Post by DaRk MaDnEsS » Mon Nov 23, 2009 2:32 am

well it's cause of the missing inf file simply open the addon and copy the NR_UPHC.inf into

%windir%\inf

adric
Posts: 581
Joined: Mon May 21, 2007 5:51 am

Post by adric » Mon Nov 23, 2009 4:51 am

Yes, understood. I only wanted to point out the glitch. Why add it to the Add/Remove Windows Components if it is going to cause problems. I prefer a clean integration that doesn't need fixing at a later stage. Just my 2 cents.

Al

Post Reply