Avatar of Rudia Plaga
Rudia Plaga
 asked on

GPO deleted but still being applied. Help!

My network is a domain controller running 2012r2, and a member server joined to the domain running 2016, configured as an RDS terminal server. I created a group policy object that would hide the c:\ drive as a test. I didn't reset the GPO back to the original configuration before I deleted it.  Now I have lost the c:\ drive in my computer, on the domain controller, the RDS terminal server and one domain connected workstation. The GPO is deleted, but is still being applied. I tried to recreate the GPO with the correct configuration, but it did not restore the c:\ drive in my computer on any of the machines. I also looked in the policy folder inside sysvol, but there was no registry entry for the hide drive GPO. I ran gpresult, and on the html report, you can see the GPO is still being applied. I have included a screenshot of the gpresult output and the text file output. I am reading the forums, but nothing is restoring the c:\ drive. Can someone assist me with restoring the c:\ drive to the servers and the workstation. Thank you very much.



* grouppolicyNetworking

Avatar of undefined
Last Comment
Darrell Porter

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Darrell Porter

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Rudia Plaga

ASKER
Thank you very much! Yes, the hide drives key was set to 4 on both servers. I cleared the domain controller, then the RDS terminal server. After the c:\ drive was restored, I ran GPResult  /h GPreport.html, and I noticed the stuck GPO was still listed. Does the GPO clear after a period of time? I'm not completely understanding the list you have provided.  Can you explain what the list is?  I will mark your answer as solution.
Thank you again!
Rudia Plaga

ASKER
Okay, I think I understand the list now. In my case, three machines were affected, so the system must use the next highest number, which was four. I will save your list for future reference. Thanks again.
Darrell Porter

The list is the numeric values of the drive letters, where the numeric value is 2 to the power on (N-1) where N is the drive number.
So, A being the first drive letter is 2^(1-1) = 2^0 = 1, where as Z is the 26th drive letter so 2^(26-1) =2^25 = 33554432.
Your help has saved me hundreds of hours of internet surfing.
fblack61