Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Reg key delete

$
0
0

Need to delete a couple keys and all subkeys to fix an issue on Windows 7 with IE 9 after removing the IE 10 update they temporary internet files is set to 0.  If you try to change it you get "Please select a value between 8 and 8 for how much disk space Temporary Internet Files may use."

 

Should be simple?
Tried using RegDelete and always returns 0 - Key not found.

$IE_Cache = RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\InternetSettings\5.0\Cache") ; $IE_Cache = RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings\5.0\Cache") $IE_LCache = RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\InternetSettings\5.0\LowCache") ; $IE_LCache = RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings\5.0\LowCache")

Can browse to the key in RegEdit so tried a batch file which also returns key not found:

@ECHO off

REM Cache:
REG QUERY "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings\5.0\Cache" /k

 

Do I have something wrong in the commands?  Any suggestions on how to get these keys deleted?  Can delete by hand but have 50+ machines that need this done.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>