Solved

Can't attribute system.dat & user.dat

Posted on 1998-11-30
6
308 Views
Last Modified: 2013-12-29
I need to relpace my registry with one that I backed up using a regsaver.exe. the problem is when I go to the dos prompt and try to type "attrib -r-h-s system.dat" it gives me a bad command meesage. wrong parameters ?. I also think it has something to do with the file not being visible at the dos prompht.
0
Comment
Question by:meepee
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:wayneb
ID: 1728747
First set the path to c:\windows\command do this by typing the following command.
path=c:\windows\command
Now try to do an attribute by doing the following
attrib system.dat -r -a -s -h
Now see if this works
Do exactly like I have the command line listed.
0
 

Accepted Solution

by:
rclevlnd earned 100 total points
ID: 1728748
You cannot change the attributes of these files from within windows (ie: Dos Window).  You must follow these stepps to complete the task you are attempting to accomplish:

1) Export your registry using regedit in windows or from the dos prompt with the /e option "regedit /e c:\myreg.reg" for example.

2) Restart your system in MS-Dos mode by selecting this from the shutdown menu, or by pressing F8 at bootup when the message "Starting Windows 95......." appears.

3) Change to your windows directory with "CD \windows"

4) Type ATTRIB system.da? -r -h -s and ATTRIB user.da? -r -h -s at the ms-dos prompt.

5) Delete the system.da? and user.da? from the windows directory.

6) Type the following after this is completed:

      REGEDIT /C c:\myreg.reg

This will import your copy of the registry "myreg.reg".  You may now start windows at normal.

"Myreg.reg" is just an example name.  Use whatever you want to use here.

Hope this helps....


0
 

Expert Comment

by:rclevlnd
ID: 1728749
Just a second thought.  The layout of the ATTRIB command is very important.  Spacing between the -r -h -s is vital.

Just to recap, the command should look like this:

ATTRIB filename.ext -r -h -s

Good Luck.

0
Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

 

Author Comment

by:meepee
ID: 1728750
The attribute function worked,I think it was the spacing in the -r-h-s. I loaded a coulpe of the old registries,but it did't fix the error message" there in not enough menory or the registry is corrupted some apps won't work properly"
0
 

Expert Comment

by:rclevlnd
ID: 1728751
Just a question.  What version of Windows are U using? And is IE4.0 installed?  If you have Version A or B of win95 and have ie4 installed, the version of regedit may not be compatible with the registry changes ie4.0 may have made.  Check microsoft's web site to see if there is an updated regedit for win95 with 4.0.

I think I remember seeing something about this on:

support.microsoft.com

Your best bet may be to extract the portions of the registry (by catagory) and import them one at a time till you find the one that has the error.

I had to do this once, and it was a royal pain in the you know where, but it saved my poor notebook from oblivion.

I hope there is some information there that can help you a little.  


0
 

Author Comment

by:meepee
ID: 1728752
I have ver.OS2 "b" .I did not install IE4.0, I have IE 3.02, I don't think I will install IE4,from what I heard it is full of bugs.
0

Featured Post

Will my email signature work in Office 365?

You've built an email signature using raw HTML code in Office 365, but you can't review how it looks with Transport Rules. So you have to test it over and over again before it can be used. Isn't this a bit of a waste of your time? Wouldn't a WYSIWYG editor make it a lot easier?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now