Solved

Can't attribute system.dat & user.dat

Posted on 1998-11-30
6
312 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
PDF to JPG 13 57
wmiprvse.exe (How to prevent wmiprvse to check COM port?) 1 30
how to count files? 4 31
Where to download python requests library 6 31
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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…
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…

828 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