Hi,
I hope someone can help me, or point out a mistake. I've got a worrying feeling I'm missing something really stupid here.
I'm trying to import some registry values in a logon script. These are the values I want to import:
*********contents of reg file***************************
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete]
"Append Completion"="no"
"AutoSuggest"="no"
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"FormSuggestPasswords"=dword:00000001
"FormSuggest"=dword:00000001
"History"=dword:00000001
**********end of reg file****************************
When I add this to the logon scripts, using the regedit /s command, I get an error:
"Cannot import XXX.reg. Not all data was successfully written to the registry. Some keys are open by the system or other processes"
In our logon scripts we use another example of importing a reg key. This works without any problems.
We import this value:
***********working reg file value******************
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Favorites"=hex(2):48,00,3a,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,\
65,00,73,00,00,00
***********************************************************
So, what's the difference between the 2 scenarios? FWIW, the working reg values redirect users 'My Docs' to their H: (home) drive, and the non-working one is to clear autocomplete in typing URLs in IE, and clearing autocomplete in Google.
Hope somebody can suggest something, otherwise tomorrow will be spent learning about ADM files!
Many thanks in advance
I hope someone can help me, or point out a mistake. I've got a worrying feeling I'm missing something really stupid here.
I'm trying to import some registry values in a logon script. These are the values I want to import:
*********contents of reg file***************************
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete]
"Append Completion"="no"
"AutoSuggest"="no"
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"FormSuggestPasswords"=dword:00000001
"FormSuggest"=dword:00000001
"History"=dword:00000001
**********end of reg file****************************
When I add this to the logon scripts, using the regedit /s command, I get an error:
"Cannot import XXX.reg. Not all data was successfully written to the registry. Some keys are open by the system or other processes"
In our logon scripts we use another example of importing a reg key. This works without any problems.
We import this value:
***********working reg file value******************
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Favorites"=hex(2):48,00,3a,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,\
65,00,73,00,00,00
***********************************************************
So, what's the difference between the 2 scenarios? FWIW, the working reg values redirect users 'My Docs' to their H: (home) drive, and the non-working one is to clear autocomplete in typing URLs in IE, and clearing autocomplete in Google.
Hope somebody can suggest something, otherwise tomorrow will be spent learning about ADM files!
Many thanks in advance