General discussion


Policy or Profile screw-up

By pricepd ·
I have somehow screwed up the policy on a Windows 98 machine. The machine has cached a profile restricting everything. I can't do anything on the machine. Even when I logon on as the domain administrator.

Is there a way to remove the user.dat file in dos (it seems to be invisible, because I can't see it.) Or edit the registry to not apply the policy.

I have already used DOS regedit to change the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Update Key to "00", so that policies won't be applied, but they still are.

I don't want to have to reinstall the operating system.

Any Ideas?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

Policy or Profile screw-up

by Ann777 In reply to Policy or Profile screw-u ...

User.dat and user.da0 are both hidden files ( h) and system files (s). And the files are read-only (r). To get to them you will need to use the attrib command at your c:\windows prompt:

attrib -h -s -r user.dat

the minus in from of the attributes tell the system to remove those attributes from the file. A + in front of the same will make them hidden, system, and read-only again. Then you will be able to see the file (dir user.dat).

Deleteing user.dat will only cause windows to not boot properly; it may hang or rebuilt itself from the backup file (user.da0). It will not fix your problem.

What you need to do is look for and delete *.PWL files (these are password files for the users who have logged into the system). Delete any of these, because the profile may be taking effect from there and the next time anyone logs in, their profile should be recreated. See if that first step will resolve the whole issue.

Collapse -

Policy or Profile screw-up

by pricepd In reply to Policy or Profile screw-u ...

Thank you for the help. After renaming the user.dat file to user.da1, I copie a user.dat file from another win98 machine and that solved my problem.

Thanks, for the great help!

Collapse -

Policy or Profile screw-up

by pricepd In reply to Policy or Profile screw-u ...

This question was closed by the author

Related Discussions

Related Forums