Jump to content
T3rM1nat0Rr3

Internet Download Manager 6.37 Build 3 Beta

Recommended Posts

yaschir
5 hours ago, BTJB said:

Batch updated to WindowsAddict model and recommend from @yaschir

Tx, Can you command this to "Add if it's 32 bits like this, if it's 64 bits like this"?

All entries are ready. If you adapt accordingly, I will present it to friends with a scheduled task as bat or cmd file.
 

Fully tested, ok.

1-Reg delete values for reset (for x86-x64 both equals)
 

 

Windows Registry Editor Version 5.00

 

[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}]
[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}]

 

[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}]
[-HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}]

 

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}]
[-HKEY_CURRENT_USER\Software\Classes\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}]

 

[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}]
[-HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}]

 

[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}]
[-HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}]

 

[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}]
[-HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}]

 

[-HKEY_LOCAL_MACHINE\Software\Internet Download Manager]
[-HKEY_LOCAL_MACHINE\Software\Wow6432Node\Internet Download Manager]

[-HKEY_CURRENT_USER\Software\Download Manager]
[-HKEY_CURRENT_USER\Software\Wow6432Node\Download Manager]

[-HKEY_CURRENT_USER\Software\Wow6432Node\DownloadManager]

[-HKEY_USERS\.DEFAULT\Software\Download Manager]
[-HKEY_USERS\.DEFAULT\Software\Wow6432Node\Download Manager]

[-HKEY_USERS\.DEFAULT\Software\DownloadManager]
[-HKEY_USERS\.DEFAULT\Software\Wow6432Node\DownloadManager]

 

[HKEY_CURRENT_USER\Software\DownloadManager]
"FName"=""
"LName"=""
"Email"=""
"Serial"=""
"CheckUpdtVM"=""
"tvfrdt"=""

 

 

 

2-For trial x86 only (Just read, without ownership)

 

 

Windows Registry Editor Version 5.00

 

[HKEY_CURRENT_USER\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

[HKEY_CURRENT_USER\Software\DownloadManager]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

[HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

 

 

3- For x64 only (Just read, without ownership)

 

 

Windows Registry Editor Version 5.00

 

[HKEY_CURRENT_USER\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

[HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

[HKEY_CURRENT_USER\Software\DownloadManager]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

[HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

[HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}]
"scansk"=hex(0):91,1d,ac,d6,90,5c,42,ea,ba,1a,ac,08,1a,18,2f,16,2a,a8,0a,aa,24,\
  bf,0c,fc,4e,7b,3b,76,f7,70,93,58,5c,03,03,7e,04,ab,b0,7e,00,00,00,00,00,00,\
  00,00,00,00

 

 

(Regards :) )

Edited by yaschir
When applied in this way, IDM does not need to be uninstalled and reinstalled.

Share this post


Link to post
Share on other sites
yaschir

😀Friends, my brain is really tired. I want to do this with Aut2exe, but you will receive a virus alert. Would you like to?
It works seamlessly when compiled with Aut2exe as x86 and x64.

Edited by yaschir

Share this post


Link to post
Share on other sites
Saheen
10 minutes ago, yaschir said:

😀Friends, my brain is really tired. I want to do this with Aut2exe, but you will receive a virus alert. Would you like to?
It works seamlessly when compiled with Aut2exe as x86 and x64.

Hello @yaschir,

I think "BAT" or "CMD" file is better then "EXE" file. You are really very kind. We are very grateful to you, @BTJB@WindowsAddict and all of friends that help us.

Best wishes for all!!!

Share this post


Link to post
Share on other sites
BTJB

@yaschir If you set "just read" permission, IDM could start give you errors. The point is to leave it to let it roll it's trial period. And this is the purpose. After end you start new task.

Edited by BTJB

Share this post


Link to post
Share on other sites
urufu
7 hours ago, yaschir said:

😀Friends, my brain is really tired. I want to do this with Aut2exe, but you will receive a virus alert. Would you like to?
It works seamlessly when compiled with Aut2exe as x86 and x64.

The batch file or cmd is expected, after all some computers have strict restrictions on 'run exe programs'. 

Anyway, thank you very much for everything. 😄

Edited by urufu

Share this post


Link to post
Share on other sites
yaschir

Guys, I designed a portable version of this with inno setup. It can respond to all my requests. Compatible with the scheduled task. I have added to bat files(as x86/x64) I what want to delete and this works it very well. It can run according to the system architecture. In fact, this can be called a bat file runner or launcher. I tested the Portable version, recompiled the installation and adapted it to run the scheduled attendant. I am currently doing all the tests on x64 and x86 systems. Then I'll share all the content here, please stay on hold.
@BTJB, I am also very grateful to you for this bat file, so tx.

Share this post


Link to post
Share on other sites
BTJB
41 minutes ago, yaschir said:

Guys, I designed a portable version of this with inno setup. It can respond to all my requests.

 

The great simple way you do! I was in same think. I already used this technique for another purpose with encrypted task... built in triple protection with double encryption. No matter, i hope you put all we need in these two batch files? Why do we need separate entries? :dunno:

Share this post


Link to post
Share on other sites
yaschir
21 minutes ago, BTJB said:

 

The great simple way you do! I was in same think. I already used this technique for another purpose with encrypted task... built in triple protection with double encryption. No matter, i hope you put all we need in these two batch files? Why do we need separate entries? :dunno:

For x86

REG ADD "HKLM\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f

 

REG ADD "HKCU\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f

 

For x64

REG ADD "HKLM\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f

 

REG ADD "HKCU\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f

 

Edited by yaschir

Share this post


Link to post
Share on other sites
yaschir
On 2/25/2020 at 8:40 PM, WindowsAddict said:

I've played multiple times with reg_takeownership to delete many locked keys on latest windows 10 versions and I've always been able to do it without any issues, I've yet to see that problematic key which can not be deleted.

 

Based on this, I've made a prototype batch script to utilize it (not all keys are added in it and it won't work to reset the trial, it's just to show that it can be done in this way),  

 

@echo off
set "nul=1>nul 2>nul"
setlocal EnableDelayedExpansion

taskkill /F /IM IDMan.exe
taskkill /F /IM IEMonitor.exe
timeout 2 %nul%

echo:
echo:

for %%# in (
"HKLM\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKLM\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKLM\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKLM\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKLM\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKLM\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKLM\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKLM\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKLM\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKCU\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKCU\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKCU\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKCU\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKCU\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKCU\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKCU\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKCU\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKCU\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKLM\Software\Wow6432Node\Internet Download Manager"
"HKLM\Software\Internet Download Manager"
"HKCU\Software\Wow6432Node\DownloadManager"
) do for /f "tokens=* delims=" %%A in ("%%#") do (
set "reg=%%#" &call :delete
)

echo:
echo:
pause 
exit /b

:Delete

reg delete %reg% /f %nul%

if [%errorlevel%]==[0] (
set "status=powershell write-host 'Deleted' -fore '"white"' -back ' "DarkGreen"' -NoNewline &echo  %reg%"
) else (
set "status=echo Not found %reg%"
)

reg query %reg% %nul%

if [%errorlevel%]==[0] (
set "status=powershell write-host 'Deleted with reg_takeownership' -fore '"white"' -back ' "darkmagenta"' -NoNewline &echo  %reg%"
%nul% call :reg_takeownership %reg% FullControl Allow S-1-5-32-544
reg delete %reg% /f %nul%
)

reg query %reg% %nul%

if [%errorlevel%]==[0] (
powershell write-host 'Failed to delete' -fore '"white"' -back ' "DarkRed"' -NoNewline &echo  %reg%
) else (
%status%
)
exit /b


:reg_takeownership  key:"HKCU\Console" perm:"FullControl" access:"Allow" user:"S-1-5-32-544" owner(optional):"S-1-5-18"
set "pargs=$regkey='%~1'; $p='%~2'; $a='%~3'; $u='%~4'; $o='%~5';"
powershell -noprofile -c "%pargs%; $f=[io.file]::ReadAllText('%~f0') -split ':ps_reg_own\:.*';iex ($f[1]);" & exit/b
:ps_reg_own: [     pastebin.com/XTPt0JSC      AveYo: call :reg_takeownership "HKLM\MyKey" FullControl Allow S-1-5-18
$dll0='[DllImport("ntdll.dll")]public static extern IntPtr RtlAdjustPrivilege(int a,bool b,bool c,ref bool d);';
$nt=Add-Type -Member $dll0 -Name Nt -PassThru; foreach($i in @(9,17,18)){$null=$nt::RtlAdjustPrivilege($i,1,0,[ref]0)}
$root=$true; if($o -eq ''){$o=$u}; $rk=$regkey -split '\\',2; $key=$rk[1];
switch -regex ($rk[0]){ '[mM]'{$HK='LocalMachine'};'[uU]'{$HK='CurrentUser'};default{$HK='ClassesRoot'}; }
$usr=0,0,0; $sec=0,0,0; $rule=0,0,0; $perm='FullControl',$p,$p; $access='Allow',$a,$a; $s=$o,$u,'S-1-5-32-544';
for($i=0;$i -le 2;$i++){ $usr[$i]=[System.Security.Principal.SecurityIdentifier]$s[$i];
 $rule[$i]=[System.Security.AccessControl.RegistryAccessRule]::new($usr[$i], $perm[$i], 3, 0, $access[$i]);
 $sec[$i]=[System.Security.AccessControl.RegistrySecurity]::new(); }
function Reg_TakeOwnership { param($hive, $key, $root=$false);
 $reg=[Microsoft.Win32.Registry]::$hive.OpenSubKey($key,'ReadWriteSubTree','TakeOwnership'); $sec[2].SetOwner($usr[2]);
 $reg.SetAccessControl($sec[2]); if($root){ $reg=$reg.OpenSubKey('','ReadWriteSubTree','ChangePermissions');
  $acl=$reg.GetAccessControl(); $acl.SetAccessRuleProtection($false,$false); $acl.ResetAccessRule($rule[1]);
  $reg.SetAccessControl($acl); } $sec[0].SetOwner($usr[0]); $reg.SetAccessControl($sec[0]); }
Reg_TakeOwnership $HK $key $true; if($root){ $r=[Microsoft.Win32.Registry]::$HK.OpenSubKey($key);
 foreach($sk in $r.GetSubKeyNames()){try{ Reg_TakeOwnership $HK "$($key+'\\'+$sk)" $false}catch{} }}
Get-Acl "$($rk[0]+':\\'+$rk[1])" | fl
:ps_reg_own: ]
::

 

I managed to find a key "HKLM\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" which was not deleting with other tools and running with TI privileges, not sure why, however I was able to delete it with above script, and after uninstall / reinstall IDM I couldn't manage to see that key again.

 

BTW, as per my tests, apparently the keys list provided here is not complete and I've managed to reproduce the scenario where IDM will nag trial over status after making sure that those keys have been applied successfully.

 

 

Edit - Fixed an issue in the script

 


Why is ownership not working in Windows 7?

Share this post


Link to post
Share on other sites
WindowsAddict
14 minutes ago, yaschir said:


Why is ownership not working in Windows 7?

I've not tested it yet on windows 7, I'll ask the author of it, he will make required changes for sure. Will post the update here.

Share this post


Link to post
Share on other sites
yaschir
4 minutes ago, WindowsAddict said:

I've not tested it yet on windows 7, I'll ask the author of it, he will make required changes for sure. Will post the update here.

 

It does not work on Windows 7 but works well on Windows 10. Tx. :) 

Share this post


Link to post
Share on other sites
WindowsAddict

By the way, @yaschir I guess in this process of removing reg keys in order to reset trial, IDM may show a following error message,

""Internet Download Manager detected its registry keys had been damaged since the last run.It's possible that you run a flaky spyware remover program which corrupted system registry. Internet download manager will try to restore all damaged data,But some data may remain corrupted.""

 

Have you come across such issues caused via trial reset, or can we make sure it won't cause it?

Thanks.

Share this post


Link to post
Share on other sites
yaschir

I first encountered it 2 or 3 times. I have not encountered the following. But the line below cannot take ownership on Windows 7.

 

@echo off
set /a _Debug=0
::======================================================================================
:: Get Administrator Rights
set _Args=%*
if "%~1" NEQ "" (
  set _Args=%_Args:"=%
)
fltmc 1>nul 2>nul || (
  cd /d "%~dp0"
  cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~dp0"" && ""%~dpnx0"" ""%_Args%""", "", "runas", 1 > "%temp%\GetAdmin.vbs"
  "%temp%\GetAdmin.vbs"
  del /f /q "%temp%\GetAdmin.vbs" 1>nul 2>nul
  exit
)
::======================================================================================
::IDM Trial Reset
::Reset Model: @WindowsAddict


::CallScript
@echo off
CALL :ScriptA
CALL :ScriptB
pause
goto :eof


:ScriptA
@echo off
set "nul=1>nul 2>nul"
setlocal EnableDelayedExpansion


echo:


for %%# in (
"HKLM\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKLM\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKLM\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKLM\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKLM\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKLM\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKLM\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKLM\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKLM\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKLM\Software\Classes\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}"
"HKLM\Software\Classes\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}"
"HKLM\Software\Classes\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}"
"HKLM\Software\Classes\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}"
"HKLM\Software\Classes\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}"
"HKLM\Software\Classes\Wow6432Node\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}"
"HKCU\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKCU\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKCU\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKCU\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKCU\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKCU\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKCU\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKCU\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKCU\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKCU\Software\Classes\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}"
"HKCU\Software\Classes\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}"
"HKCU\Software\Classes\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}"
"HKCU\Software\Classes\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}"
"HKCU\Software\Classes\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}"
"HKCU\Software\Classes\Wow6432Node\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}"
"HKU\.DEFAULT\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKU\.DEFAULT\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKU\.DEFAULT\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKU\.DEFAULT\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKU\.DEFAULT\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKU\.DEFAULT\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKU\.DEFAULT\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKU\.DEFAULT\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKU\.DEFAULT\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKU\.DEFAULT\Software\Classes\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}"
"HKU\.DEFAULT\Software\Classes\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}"
"HKU\.DEFAULT\Software\Classes\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}"
"HKU\.DEFAULT\Software\Classes\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}"
"HKU\.DEFAULT\Software\Classes\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{117375d1-a2d3-0b2e-981e-55ffbec8e09a}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{24f3c954-2839-d988-5a9c-91399d34e31f}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{25034e94-29f8-d688-93e1-d13a20edc321}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{8f994c3b-868e-52e1-378f-01bf5c345874}"
"HKU\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{d099235e-b58c-2de6-2762-5f1f5c345874}"
"HKLM\Software\Internet Download Manager"
"HKLM\Software\Wow6432Node\Internet Download Manager"
"HKCU\Software\Download Manager"
"HKCU\Software\Wow6432Node\Download Manager"
"HKCU\Software\Wow6432Node\DownloadManager"
"HKU\.DEFAULT\Software\Download Manager"
"HKU\.DEFAULT\Software\Wow6432Node\Download Manager"
"HKU\.DEFAULT\Software\DownloadManager"
"HKU\.DEFAULT\Software\Wow6432Node\DownloadManager"
) do for /f "tokens=* delims=" %%A in ("%%#") do (
set "reg=%%#" &call :delete
)


echo: 
exit /b


:Delete


reg delete %reg% /f %nul%


if [%errorlevel%]==[0] (
set "status=powershell write-host 'Deleted' -fore '"white"' -back ' "DarkGreen"' -NoNewline &echo  %reg%"
) else (
set "status=echo Not found %reg%"
)


reg query %reg% %nul%


if [%errorlevel%]==[0] (
set "status=powershell write-host 'Deleted with reg_takeownership' -fore '"white"' -back ' "darkmagenta"' -NoNewline &echo  %reg%"
%nul% call :reg_takeownership %reg% FullControl Allow S-1-5-32-544
reg delete %reg% /f %nul%
)


reg query %reg% %nul%


if [%errorlevel%]==[0] (
powershell write-host 'Failed to delete' -fore '"white"' -back ' "DarkRed"' -NoNewline &echo  %reg%
) else (
%status%
)
exit /b


:reg_takeownership  key:"HKCU\Console" perm:"FullControl" access:"Allow" user:"S-1-5-32-544" owner(optional):"S-1-5-18"
set "pargs=$regkey='%~1'; $p='%~2'; $a='%~3'; $u='%~4'; $o='%~5';"
powershell -noprofile -c "%pargs%; $f=[io.file]::ReadAllText('%~f0') -split ':ps_reg_own\:.*';iex ($f[1]);" & exit/b
:ps_reg_own: [     pastebin.com/XTPt0JSC      AveYo: call :reg_takeownership "HKLM\MyKey" FullControl Allow S-1-5-18
$dll0='[DllImport("ntdll.dll")]public static extern IntPtr RtlAdjustPrivilege(int a,bool b,bool c,ref bool d);';
$nt=Add-Type -Member $dll0 -Name Nt -PassThru; foreach($i in @(9,17,18)){$null=$nt::RtlAdjustPrivilege($i,1,0,[ref]0)}
$root=$true; if($o -eq ''){$o=$u}; $rk=$regkey -split '\\',2; $key=$rk[1];
switch -regex ($rk[0]){ '[mM]'{$HK='LocalMachine'};'[uU]'{$HK='CurrentUser'};default{$HK='ClassesRoot'}; }
$usr=0,0,0; $sec=0,0,0; $rule=0,0,0; $perm='FullControl',$p,$p; $access='Allow',$a,$a; $s=$o,$u,'S-1-5-32-544';
for($i=0;$i -le 2;$i++){ $usr[$i]=[System.Security.Principal.SecurityIdentifier]$s[$i];
 $rule[$i]=[System.Security.AccessControl.RegistryAccessRule]::new($usr[$i], $perm[$i], 3, 0, $access[$i]);
 $sec[$i]=[System.Security.AccessControl.RegistrySecurity]::new(); }
function Reg_TakeOwnership { param($hive, $key, $root=$false);
 $reg=[Microsoft.Win32.Registry]::$hive.OpenSubKey($key,'ReadWriteSubTree','TakeOwnership'); $sec[2].SetOwner($usr[2]);
 $reg.SetAccessControl($sec[2]); if($root){ $reg=$reg.OpenSubKey('','ReadWriteSubTree','ChangePermissions');
  $acl=$reg.GetAccessControl(); $acl.SetAccessRuleProtection($false,$false); $acl.ResetAccessRule($rule[1]);
  $reg.SetAccessControl($acl); } $sec[0].SetOwner($usr[0]); $reg.SetAccessControl($sec[0]); }
Reg_TakeOwnership $HK $key $true; if($root){ $r=[Microsoft.Win32.Registry]::$HK.OpenSubKey($key);
 foreach($sk in $r.GetSubKeyNames()){try{ Reg_TakeOwnership $HK "$($key+'\\'+$sk)" $false}catch{} }}
Get-Acl "$($rk[0]+':\\'+$rk[1])" | fl
:ps_reg_own: ]
::
:ScriptB
::Reset info to default
::------------------------------------------------------------------------------------------------------------------------------------
reg add "HKCU\Software\DownloadManager" /v "FName" /f
reg add "HKCU\Software\DownloadManager" /v "LName" /f
reg add "HKCU\Software\DownloadManager" /v "Email" /f
reg add "HKCU\Software\DownloadManager" /v "Serial" /f
REG ADD "HKCU\Software\DownloadManager" /v "CheckUpdtVM" /f
REG ADD "HKCU\Software\DownloadManager" /v "tvfrdt" /f
REG ADD "HKCU\Software\DownloadManager" /v "LstCheck" /f
REG ADD "HKCU\Software\DownloadManager" /v "scansk" /f
::------------------------------------------------------------------------------------------------------------------------------------
::Set trial
@ECHO.
REG ADD "HKLM\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f
REG ADD "HKLM\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f
REG ADD "HKCU\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f
REG ADD "HKCU\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f
REG ADD "HKCU\Software\DownloadManager" /v "scansk" /t REG_BINARY /d 911dacd6905c42eaba1aac081a182f162aa80aaa24bf0cfc4e7b3b76f77093585c03037e04abb07e00000000000000000000 /f
::------------------------------------------------------------------------------------------------------------------------------------
echo:
echo:
@echo Press any key to exit . . .
@pause >nul
@exit

Share this post


Link to post
Share on other sites
BTJB

@yaschir sometime user must run the batch scripts with right click "Run as Administrator" no matter that you built in script for this. There is still differences between right click and install from third part software with administrative privileges. Maybe if you run the Bat with right click without embedded code it may have the full power in Windows 7. Just give a try! 

Share this post


Link to post
Share on other sites
yaschir
Just now, BTJB said:

@yaschir sometime user must run the batch scripts with right click "Run as Administrator" no matter that you built in script for this. There is still differences between right click and install from third part software with administrative privileges. Maybe if you run the Bat with right click without embedded code it may have the full power in Windows 7. Just give a try! 


I have tested as you say now but it is not possible.

Share this post


Link to post
Share on other sites
BTJB

Current resetter with architecture support. Not work for Win7.

Site: www.upload.ee
Sharecode: /files/11191169/IDM_Res.bat.html

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   1 member

    • providensia
×
×
  • Create New...