Question Locked

Reseting Policies on workstation disconected from AD

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am looking for a way to reset restrictive policies applied to a workstation that can no longer access the AD. IE: a user get a virus warning message the workstation gets disconnected from the network but when we try to login locally whit admin accounts we have the same restriction as the user. No run no access to mmc or regedit, command prompt. I know their is a way to reset these policies until we reconnect to the network but I cannot remember how I use to do this. Any help would be greatly appreciated.

12 replies

by ugadata

If you can get to the task manager, look under File for the Run command option. If you don't see it under File look under some of the other menu choices, depending on the OS it may show up differently. However, I believe this way of getting to the Run command can be disabled as well.

For future, you may want to create a special registry backup file to put on a floppy or usb key that when clicked on will undo the restrictions. This file would only include the specific entries that need to be undone (or applied).

by lleger

I would need to create some type of script that I could just double click that would relax the local policies. I am not sure where top start

by sgt_shultz

sorry if I am not following the post correctly but a virus can apply local gp with results similar to your symptoms.
I would put the drive in another box for virus/malware scanning and see if you could find anything. remember to look in system restore folder. possibly you are re-infected. www.castlecops.com is a good resource for manual removal instructions if you think you might have this problem

by ugadata

A script file is not needed. An exported (and maybe edited) .REG file (using regedit) will do what you want to do.

I don't recommend doing this with a full registry backup but if you know where in the registry a specific entry is (like disable/enable the run command) you can export just that portion to a .reg file. if you have several of these .reg files you can edit them with Notepad, copy, paste and create just one file to do it all.

Once you have the .reg file, just double click it, it will then ask if you want to add this information to the registry click OK and it will be added. In many cases it will be necessary to at least log off and back on before you see the changes (if you were to disable the Desktop icons, after they were re-enabled you would need to log off and back on before being able to view the icons on the desktop)

The .reg file can be copied from one PC to another and for some things even different OS versions (W2K to XP -just be very careful)

by cg it

if the default domain GP was changed and no backup made, you would have to go through and manually reset all GP attributes, both user and computer.

You should have full access to the workstation with the domain admin account either using cached credentials or logging in locally. If the domain admin account is being restricted by GP then the only other account that will give complete access is the Enterprise Admin account.

by lleger

No the virus is not causing the issue because I have reproduce the problem on a vmware box.
This is how I reproduced the problem.
Start from a new image with just a local admin account, I log in to the network with a USER account with very restricted access and then I log off. Disconnect the workstation from the network and login with local admin.
The same restriction that where applicable to the last user login in are now affecting the local admin account.
Now I need to troubleshoot but I do not want to reconnect to the network or I am not allowed to. Now this is why I am looking for some way to disable or release the applied policies in order to troubleshoot the workstation. This is my dilemma

by cg it

The domain admins account should not have a previous users [non admin account] group policy applied to it. Even if the log in is the local machine using the domain admin account credentials.... unless your using the default local machine administrators account first setup during install of the O/S. Even then a Domain Group Policy template that restricts access shouldn't apply to the local machine login unless the default domain GP was changed. If so then the local machine GP was changed as well. Even then we're back to domain admin accounts having full access unless of course the default domain GP was changed. If this were the case, then all domain admins would have that GP applied which would cause havoc in administrating the network.

by downrighttired

is the vmware image connecting to your DC or is it connecting to a test DC?

by ugadata

Is there some reason you can't just format and reinstall the OS?

If there are files that need to be saved, you could connect the drive as a second drive in another long enough to backup the drive or retrieve the needed files. Then wipe it out and reinstall the OS and Apps.

--------

by downrighttired

it seems if your taking the time to set up a test system and everything else you could of re-installed. If the PC was infected by a virus I would want to wipe the HD anyway.

This discussion is closed to new replies.