A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Security and Administration with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Error Trying to Import Registry File



 
 
Thread Tools Display Modes
  #1  
Old November 24th 05, 01:21 AM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default Error Trying to Import Registry File

I'm trying to import the following registry file through GP via a logon
script to disable CD burning in Windows XP:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\
Explorer]
"NoCDBurning"=dword:00000001

The problem is that I get the following error message (or close to it):

"Cannot import (filename). Not all data was successfully written to the
registry. Some keys are open by the system or other processes."

The problem really isn't GP related, because if I just double-click the
registry file as a restricted user, I get the same error message. It only
allows me to import the file if I'm logged on as an administrator.

I've imported an HKEY_CURRENT_USER registry entry in the past, so I'm not
sure why I'm running into an issue with this one.

Thanks.
Ads
  #2  
Old November 24th 05, 04:40 AM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default Error Trying to Import Registry File

That is because users do not have write permissions to policies key and you
do not want them to. Instead try using
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer]
as a Group Policy "startup" script and it should disable cd burning for all
users on the computer. If you want it to apply to specific domain users
users then create and deploy a custom .adm template as described in the
article at the first link below and use Group Policy to apply it to the
users you want to restrict. --- Steve

http://thelazyadmin.net/index.php?/a...Templates.html
http://www.windowsecurity.com/articl...-Registry.html
--- options for pushing out registry settings.


"Marks70" wrote in message
...
I'm trying to import the following registry file through GP via a logon
script to disable CD burning in Windows XP:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\
Explorer]
"NoCDBurning"=dword:00000001

The problem is that I get the following error message (or close to it):

"Cannot import (filename). Not all data was successfully written to the
registry. Some keys are open by the system or other processes."

The problem really isn't GP related, because if I just double-click the
registry file as a restricted user, I get the same error message. It only
allows me to import the file if I'm logged on as an administrator.

I've imported an HKEY_CURRENT_USER registry entry in the past, so I'm not
sure why I'm running into an issue with this one.

Thanks.



  #3  
Old November 24th 05, 10:31 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default Error Trying to Import Registry File

Thanks for the explanation Steven. I guess I'm confused then why another
HKEY_CURRENT_USER registry item that had a change for Internet Explorer was
able to be imported through a logon script. Can some HKCU registry items be
imported through a logon script, and if not, I don't understand why the IE
registry change worked.

"Steven L Umbach" wrote:

That is because users do not have write permissions to policies key and you
do not want them to. Instead try using
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer]
as a Group Policy "startup" script and it should disable cd burning for all
users on the computer. If you want it to apply to specific domain users
users then create and deploy a custom .adm template as described in the
article at the first link below and use Group Policy to apply it to the
users you want to restrict. --- Steve

http://thelazyadmin.net/index.php?/a...Templates.html
http://www.windowsecurity.com/articl...-Registry.html
--- options for pushing out registry settings.


"Marks70" wrote in message
...
I'm trying to import the following registry file through GP via a logon
script to disable CD burning in Windows XP:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\
Explorer]
"NoCDBurning"=dword:00000001

The problem is that I get the following error message (or close to it):

"Cannot import (filename). Not all data was successfully written to the
registry. Some keys are open by the system or other processes."

The problem really isn't GP related, because if I just double-click the
registry file as a restricted user, I get the same error message. It only
allows me to import the file if I'm logged on as an administrator.

I've imported an HKEY_CURRENT_USER registry entry in the past, so I'm not
sure why I'm running into an issue with this one.

Thanks.




  #4  
Old November 25th 05, 03:14 AM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default Error Trying to Import Registry File

It depends on the permissions the user has to the registry key which can be
viewed with regedit. Often the user will have full control but in general
not for policies though administrators would have full control. --- Steve



"Marks70" wrote in message
...
Thanks for the explanation Steven. I guess I'm confused then why another
HKEY_CURRENT_USER registry item that had a change for Internet Explorer
was
able to be imported through a logon script. Can some HKCU registry items
be
imported through a logon script, and if not, I don't understand why the IE
registry change worked.

"Steven L Umbach" wrote:

That is because users do not have write permissions to policies key and
you
do not want them to. Instead try using
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer]
as a Group Policy "startup" script and it should disable cd burning for
all
users on the computer. If you want it to apply to specific domain users
users then create and deploy a custom .adm template as described in the
article at the first link below and use Group Policy to apply it to the
users you want to restrict. --- Steve

http://thelazyadmin.net/index.php?/a...Templates.html
http://www.windowsecurity.com/articl...-Registry.html
--- options for pushing out registry settings.


"Marks70" wrote in message
...
I'm trying to import the following registry file through GP via a logon
script to disable CD burning in Windows XP:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\
Explorer]
"NoCDBurning"=dword:00000001

The problem is that I get the following error message (or close to it):

"Cannot import (filename). Not all data was successfully written to the
registry. Some keys are open by the system or other processes."

The problem really isn't GP related, because if I just double-click the
registry file as a restricted user, I get the same error message. It
only
allows me to import the file if I'm logged on as an administrator.

I've imported an HKEY_CURRENT_USER registry entry in the past, so I'm
not
sure why I'm running into an issue with this one.

Thanks.






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows update for KB896358 doesnot install Shafeeq-LSHTM General XP issues or comments 4 July 27th 05 06:37 PM
Sophisticated(!) copying in DOS RJB General XP issues or comments 58 June 9th 05 10:02 PM
explorer only works if I rename it Dave Sell General XP issues or comments 7 June 3rd 05 01:33 PM
page file LeeRay General XP issues or comments 10 April 6th 05 09:06 AM
here is just my error log from xp j.natas Performance and Maintainance of XP 1 April 3rd 05 04:30 PM






All times are GMT +1. The time now is 03:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.