Solved

Can't attribute system.dat & user.dat

Posted on 1998-11-30
6
314 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

690 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