Restore registry problem.

When I try to import a saved registry file using regedit in w2k i get the following error:

"Cannot import C:\Documents and settings\James1\desktop\gfg.reg: Not all data was successfully written to the registry. Some keys are open by the system or other processes."

What is going wrong? How do I fix it?

Thanks

jim25Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sunray_2003Commented:
Looks like some application or process is connected to that registry

Try closing all programs and applications.

Also go to task  manager and disable services and processes related to that registry

and then try importing

Sunray
WollufCommented:
Also - as message says - some keys (that you are trying to update) may be open by the system - so not available for update. I presume its a fairly large update you're trying to do (affecting much of the registry). Could you break it down into smaller chunks?
Luc FrankenEMEA Server EngineerCommented:
I normally don't trust these messages, have you tried checking for ad/spyware using something like Adaware => http://www.lavasoftusa/support/download ?
Or have you checked for virusses?

LucF
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

lazerstlCommented:
Have you tried using reg.exe from the recovery console?
jim25Author Commented:
How do i get to reg.exe?

done a scan using adaware and removed all programs it suggest still can not restore registry.

closed all programs. then tried to disable processes could not do that. still could not restore registry. done a full virus scan. nothing.

what should i do now?
Luc FrankenEMEA Server EngineerCommented:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q229/7/16.ASP&NoWebContent=1

To start the Windows Recovery Console, use any of the following methods:

Start your computer with the Windows Setup floppy disks, or with the Windows CD-ROM. At the "Welcome to Setup" screen, press F10, or press R to repair, and then press C (Windows 2000 only) to start the Windows Recovery Console. Select the appropriate number for the Windows installation that you want to repair, and then type the administrator password. If the administrator password does not exist, just press ENTER.

Add the Windows Recovery Console to the Windows Startup folder by using Winnt32.exe with the /cmdcons switch. This procedure requires approximately 7 MB of hard disk space on your system partition to hold the Cmdcons folder and files.

You should be able to start reg.exe from command prompt

LucF

jim25Author Commented:
so by running reg.exe i will be able to import the registry file I want?
Luc FrankenEMEA Server EngineerCommented:
You should be able to delete the registry items that are bugging you now. I don't know if there's any way to import .reg files, I have to say I personally never needed the program.

LucF
PashaModCommented:
PAQed - no points refunded (of 50)

PashaMod
Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.