How to delete password policy on windows 10 pro workgroup computer

Federico Coppola 1,181 Reputation points
2022-01-18T08:58:18.31+00:00

Hi all,
I have a Windows 10 Pro computer that In the past this computer was Active Directory joined.
Inside domain there were some password policies as lockout password or password complexity.

This computer is not joined anymore and it is a WORKGROUP computer, but password policies still exist on this computer.
Employe uses this computer with a local account that I created before remove this computer from company AD domain.
This local user is a local administrator user.

What can I do?
Can I reset all password policy settings on this computer?

I can not reset this Windows PC in this moment.

Thanks a lot
Federico

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,592 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,748 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Shane Walsh 31 Reputation points
    2022-01-18T11:42:33.217+00:00

    You could try run these PowerShell Commands which could remove the enforced policies:

    Remove-item C:\Windows\System32\GroupPolicyUsers* -Recurse -force

    Remove-item C:\Windows\System32\GroupPolicy* -Recurse –force

    Make sure you restart after.

    0 comments No comments

  2. Limitless Technology 39,341 Reputation points
    2022-01-18T18:50:04.16+00:00

    Hello @Federico Coppola

    Step 1
    Click on "Start," type "regedit" in the search box and press "Enter." Once the registry opens, right-click on "Computer" at the top and select "Export." Depending on how many registry keys you have this may take a few minutes.

    Step 2
    Save the backup that you created to a removable storage device in the event that you need to access it. Click on "Start," type "regedit" in the search box and press "Enter." Click the arrow next to the primary registry key labeled "HKEY_LOCAL_MACHINE" to expand the registry key.

    Step 3
    Navigate to the "Software" folder and click on the arrow next to the folder to expand the contents. Click on the arrow next to the "Policies" folder. Scroll down to the "Microsoft" folder under "Policies," click on the folder to highlight the folder and press the "Delete" key on your keyboard.

    Step 4
    Click on the arrow next to the "HKEY_LOCAL_MACHINE" to collapse the folders. Navigate registry key folder labeled "HKEY_CURRENT_USER" and click on the arrow to expand the folder. Locate the "Software" folder and click the arrow to expand it. Double-click the "Policies" folder, click to highlight the folder labeled "Microsoft" and delete the folder.

    Step 5
    Click the arrow to expand the "Microsoft" folder located in the "Software" folder of the "HKEY_CURRENT_USER" registry folder. Click the arrow to expand the "Windows" folder. Double-click the "CurrentVersion" folder to show "Group Policy Objects" and "Policies." Delete both of these folders.

    Step 6
    Exit the Registry Editor and restart the computer. After the computer restarts, the Domain Group Policy will no longer be in effect.

    Hope this helps with your query,

    ----------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments