fitzjay Posted January 26, 2010 Posted January 26, 2010 Hi, I want to create a script to enable and disable control panel and internet options access without going through all that gpedit.msc process but I don't have any idea on how to do that because am new to scripting. Can someone help me?
rajeshontheweb Posted January 26, 2010 Posted January 26, 2010 (edited) you can use the registry [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions] "NoBrowserOptions"=dword:00000000which is to be coded as RegWrite("HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions", "NoBrowserOptions", "REG_DWORD", "00000000")change the value to "00000001" to disable the remove the restriction..to extend it further, check if the process iexplore.exe is running and notify user if it is running / kill the process using the code. because it better be reloaded after u alter the registry values...<edit> this is available readily in various sources in the internet like thisEnable Internet OptionsDisable Internet Optionsof course scripting would allow u to extend it much further by checking if IE is running , etc Edited January 26, 2010 by rajeshontheweb Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet
Juvigy Posted January 26, 2010 Posted January 26, 2010 This is homework , right? What does they teach you in class?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now