Firewall GPO has locked me out of the network

I have configured a firewall policy which when applied to the client PCs has taken the device of the network. I am unable to connect to the DC from it. I am also unable to remove the policy from the Pc and hence cant do much with it.

How can I remove this policy setting from the PC?

The server is running Windows Server 2012 r2. The PC is running Windows 8.1.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sreejith SugathanSenior Network Support EngineerCommented:
Where did you configure the firewall policy? Is it on a domain GPO or locally? if it is on a domain gpo, just revert it and restart the computers couple of times.
Will SzymkowskiSenior Solution ArchitectCommented:
If you have somehow locked down the network connectivity what you need to do is get access to the machine physically or if it is a VM then you the console to connect to it. Once you have logged in unlink the GPO that you created.

In situations like this it is always best to test this on an OU with a test machine/user first.

roy_battyDirectorAuthor Commented:
The policy was set on a domain gpo.

I have access to the physical PC. But I cant remove the policy because even though I have unlinked the policy in the Domain, because the network is blocked, the PC doesnt pick up that I have unlinked the policy
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Casey WeaverManaged Services Windows Engineer IIICommented:
Local policy and local admin privileges trump the domain policies and privileges. You can log in as a local administrator, go to local group policy, set the group policy back to what you want it to be, and reboot. Make sure that you have already changed the GPO on the domain, or after the reboot it'll lock down again once GPO runs.
Muhammad BurhanManager I.T.Commented:
try with following GPOs at default domain level
Will SzymkowskiSenior Solution ArchitectCommented:
Local policy and local admin privileges trump the domain policies and privileges

The above statement is false.

Policies apply in the following order.

See the below link for reference/details

roy_battyDirectorAuthor Commented:
Part of the GPO specified not to use local policy.

In the end I simply removed the PC from the domain.

That seemed to do it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
roy_battyDirectorAuthor Commented:
Non of the comments helped me resolve the issue
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.