Solved

Can't attribute system.dat & user.dat

Posted on 1998-11-30
6
307 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:meepee
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

744 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

17 Experts available now in Live!

Get 1:1 Help Now