Import registry setting gives error when ran from logon script

G

Guest

I have a logon script that imports a registry file set to make IE's cache
100Mb for all users who logon to the domain. I have both the batch file and
registry file in the same Scripts\Logon folder

My .reg file contains the following which works if you just double click it:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\5.0\Cache\Content]
"CachePrefix"=""
"CacheLimit"=dword:00019000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Content]
"CacheLimit"=dword:00019000


But when I put the following into logon.bat:

regedit.exe /s IEcache.reg

I get this error on some workstations but not all:
"Cannot import IEcache.reg: Error opening the file. There may be a disk or
file system error."

I have even looked at this KB article but none of the solutions work:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q187316

Any ideas why this import will not work on all Win2kPro workstations when
ran from logon.bat ?

Thanks
 
G

Gautam Anand

1. Check the FRS (file replication) on all your DCs. So you would need
to explore to the NETLOGON folder of each DC and verify the existence
of the reg file.

2. Whats diff between the clients where the script runs successfully
and on ones where it doesnt. Can you repro the issue at will with a
specific user/computer

Cheers

--
+----------------------------------+
I reply at the news groups only on weekends. If you need to contact
me, Im available on MSN Messenger at heygautam at hotmail
Thanks
Gautam Anand
+----------------------------------+
|I have a logon script that imports a registry file set to make IE's
cache
| 100Mb for all users who logon to the domain. I have both the batch
file and
| registry file in the same Scripts\Logon folder
|
| My .reg file contains the following which works if you just double
click it:
|
| Windows Registry Editor Version 5.00
|
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
| Settings\5.0\Cache\Content]
| "CachePrefix"=""
| "CacheLimit"=dword:00019000
|
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
| Settings\Cache\Content]
| "CacheLimit"=dword:00019000
|
|
| But when I put the following into logon.bat:
|
| regedit.exe /s IEcache.reg
|
| I get this error on some workstations but not all:
| "Cannot import IEcache.reg: Error opening the file. There may be a
disk or
| file system error."
|
| I have even looked at this KB article but none of the solutions
work:
| http://support.microsoft.com/default.aspx?scid=KB;EN-US;q187316
|
| Any ideas why this import will not work on all Win2kPro workstations
when
| ran from logon.bat ?
|
| Thanks
|
|
 
G

Guest

- This .reg file, logon.bat and GP that I setup has replicated to all my DCs
- All the clients are running Windows 2000 Pro and SP4 with latest security
updates and are all using IE v6.0.2800.1106 with SP1 and I can reproduce the
error only on a couple so far that I have checked including the main DC
itself (not by logging onto it, but by double clicking the logon.bat)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top