RunOnce and Active Setup
I want to make a setting for Internet Explorer 9 and have a problem to get this setting set. GPO can't be the solution, because the user must be able to change it. So I made an Active Setup. But when I start the IE9 for the first time it overwrites the setting. :/
I have a lot of Package with an Active Setup. But sometimes the Active Setup doesn't work because when I open the Application for the first time, it makes some Settings that overwrites my settings in the Active Setup.
But when I integrate the same settings in an RunOnce it works sporadically.
Can someone explain me, what is the difference between an Active Setup and a RunOnce Key?
I dont know but if I make a RunOnce does this just work for the next user that log in? And the second one doesnt get the RegSettings?
I think the best way is to make an advertised shortcut? But as i wrote before the problem is, I want to make a setting, that the user can chance if he don't want this setting.
My regs I want to add:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content] "CacheLimit"=dword:00019000 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International] "AcceptLanguage"="en-us,de-ch;q=0.8,fr;q=0.5,es;q=0.3" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "EnableAutodial"=dword:00000000 "SecureProtocols"=dword:000000a8 [HKEY_CURRENT_USER\Software\Microsoft\FTP] "Use Web Based FTP"="no" [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "Disable Script Debugger"="yes" "NoUpdateCheck"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PhishingFilter] "Enabled"=dword:00000001 "ShownVerifyBalloon"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MINIE] "ShowTabsBelowAddressBar"=dword:00000001 "LinksBandEnabled"=dword:00000001 "CommandBarEnabled"=dword:00000001 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel] "FormSuggest"=dword:00000001 "FormSuggest Passwords"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation] "LocalMachineCompatibilityMode"=dword:00000000 "IntranetCompatibilityMode"=dword:00000000 "MSCompatibilityMode"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "Use FormSuggest"="yes" "FormSuggest PW Ask"="no" "FormSuggest Passwords"="yes"
The differences between RO and AS are little. They can essentially perform the same tasks;run something once per user. One big difference between them is that AS retains what has been executed in the users regkey, where the RO does not. So unless your ation is setup to create a log file, you don't have a log file to quickly check if something was executed, and if it failed or not.
The article you cite is failry accurate, although a bit confusing. RunOnce will work for each user if you use the one in HKCU - it's in both HKCU & HKLM.
For your IE keys, have you looked into the IEAK?