Jump to content
Sign in to follow this  
forever0donotknowme

this script does not work in reg file

Recommended Posts

forever0donotknowme

RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions","NoBrowserOptions")
RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel","GeneralTab")
RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel","SecurityTab")
RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel","PrivacyTab")
RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel","ContentTab")
RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel","ConnectionsTab")
RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel","ProgramsTab")
RegDelete("KEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel","AdvancedTab")
RegDelete("KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl","1")

why this code does not work in win 7

Share this post


Link to post
Share on other sites
qsek

you should delete "does not work" from your vocabulary when you are at the autoit forum.

check return value and @error

and shouldnt it be HKEY_CURRENT_USER ?


Teamspeak 3 User Viewer - Quick and functional TS3 Query script, which shows online users.Cached Screenshot Deleter - Deletes older Fraps Screenshots if they exceed a specified limit.Unresolved Topics:Intercept and modify dragdrop text behaviour in scite

Share this post


Link to post
Share on other sites
Mystroth

I think its because there is a typo

RegDelete("KEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerDisallowCpl","1") should be

RegDelete("HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerDisallowCpl","1")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×