{"id":22415526,"url":"https://github.com/tech-freedom/activedirectory","last_synced_at":"2026-01-07T00:04:51.936Z","repository":{"id":264643164,"uuid":"893908651","full_name":"Tech-Freedom/activedirectory","owner":"Tech-Freedom","description":"Active Directory: How to add users, groups and group policies ","archived":false,"fork":false,"pushed_at":"2024-11-25T13:58:38.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T09:26:16.406Z","etag":null,"topics":["active-directory"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tech-Freedom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-25T12:22:17.000Z","updated_at":"2024-11-25T13:58:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"354dfc3f-8650-4b84-a0d7-feb13647c6c8","html_url":"https://github.com/Tech-Freedom/activedirectory","commit_stats":null,"previous_names":["tech-freedom/activedirectory"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Freedom%2Factivedirectory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Freedom%2Factivedirectory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Freedom%2Factivedirectory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tech-Freedom%2Factivedirectory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tech-Freedom","download_url":"https://codeload.github.com/Tech-Freedom/activedirectory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245779486,"owners_count":20670688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["active-directory"],"created_at":"2024-12-05T15:12:35.699Z","updated_at":"2026-01-07T00:04:51.909Z","avatar_url":"https://github.com/Tech-Freedom.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Active Directory\nActive Directory: How to add users, groups and group policies using the graphical interface (PowerShell is only used for the installation and the configuration of the AC)\n\nIntroduction\nThis guide documents the process of setting up and configuring Active Directory in a Windows Server environment. It serves as a step-by-step reference for installing Active Directory Domain Services (AD DS), managing users and groups, and configuring group policies.\n\nPrerequisites\n\nWindows Server (any recent version)\nAdministrator access\nPowerShell access\n\nInstallation Process\n1. Installing Active Directory Domain Services\nUsing PowerShell (Automated Method):\npowershellCopy# Run PowerShell as Administrator\nC:\\Qwiklabs\\ADSetup\\active_directory_install.ps1\n\nNote: After installation, the server will automatically restart\n\nPost-Restart Configuration:\npowershellCopy# Run after server restart\nC:\\Qwiklabs\\ADSetup\\configure_active_directory.ps1\n2. User Management Guide\nCreating a New User\n\nOpen Active Directory Administrative Center (ADAC)\n\nSearch for \"Active\" in Windows Start menu\nSelect \"Active Directory Administrative Center\"\n\n\nNavigate to User Creation\n\nClick on your domain (example.com)\nDouble-click \"Users\" container\nIn the Tasks pane, click \"New\" → \"User\"\n\n\nConfigure New User Settings\nCopyRequired Fields:\n- First name\n- Last name\n- User UPN logon\n- Password\n\nEnable the Account\n\nRight-click on the disabled user\nSelect \"Enable\"\nIf error occurs, set a password first:\n\nRight-click user → \"Reset password\"\nEnter new password\nCheck \"User must change password at next logon\"\nClick \"OK\"\n\n\n\n\n\n3. Group Management Guide\nCreating a New Group\n\nIn ADAC:\n\nNavigate to Users container\nTasks pane → \"New\" → \"Group\"\n\n\nConfigure Group Settings\nCopyRequired Fields:\n- Group name (e.g., \"Python Developers\")\n- Group scope (Usually \"Global\")\n- Group type (Usually \"Security\")\n\n\nAdding Group to Another Group\nMethod 1: Via Group Properties\n\nDouble-click target group\nClick \"Members\"\nClick \"Add\"\nEnter group name\nClick \"Check Names\" to verify\nClick \"OK\"\n\nMethod 2: Via Context Menu\n\nRight-click group\nSelect \"Add to another group\"\nEnter parent group name\nClick \"Check Names\"\nClick \"OK\"\n\n4. Group Policy Configuration\nCreating and Configuring a GPO\n\nOpen Group Policy Management\n\nSearch for \"Group Policy Management\" in Start menu\n\n\nCreate New GPO\n\nNavigate to domain → desired OU\nRight-click → \"Create a GPO in this domain and Link it here\"\nEnter name (e.g., \"New Wallpaper\")\n\n\nEdit GPO\n\nRight-click new GPO → \"Edit\"\nNavigate policy tree:\nCopyUser Configuration →\nPolicies →\nAdministrative Templates →\nDesktop →\nDesktop\n\n\n\nConfigure Policy Settings\nExample - Setting Wallpaper:\n\nDouble-click \"Desktop Wallpaper\"\nSelect \"Enabled\"\nEnter wallpaper path (e.g., C:\\Qwiklabs\\wallpaper.jpg)\nClick \"OK\"\n\n\nVerify Policy Settings\n\nReturn to Group Policy Management\nSelect your GPO\nView \"Settings\" tab\n\n\n\nCommon Tasks Quick Reference\nModifying Group Membership\nCopyTo Add User to Group:\n1. Double-click group\n2. Click \"Members\" → \"Add\"\n3. Enter username\n4. Click \"Check Names\" → \"OK\"\n\nTo Remove User from Group:\n1. Double-click group\n2. Select user in Members list\n3. Click \"Remove\"\n4. Click \"OK\"\nChecking Group Membership\nCopyTo Check User's Groups:\n1. Double-click user\n2. Click \"Member Of\" tab\nTroubleshooting\nCommon Issues and Solutions\n\nUnable to Enable User\n\nSolution: Ensure password meets complexity requirements\n\n\nGroup Policy Not Applying\n\nRun gpupdate /force in Command Prompt\nCheck GPO link status\nVerify user/computer is in correct OU\n\n\n\nVerification Commands\npowershellCopy# Force Group Policy Update\ngpupdate /force\n\n# Check Group Policy Results\ngpresult /r\n\n# Check Active Directory Replication\nrepadmin /replsummary\nBest Practices\n\nAlways use strong passwords\nFollow the principle of least privilege\nDocument all policy changes\nTest GPOs before broad deployment\nRegularly review user and group memberships\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-freedom%2Factivedirectory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftech-freedom%2Factivedirectory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftech-freedom%2Factivedirectory/lists"}