How To Restrict Local Access for Offsite Contractors
Summary
This guide helps you troubleshoot and resolve: How To Restrict Local Access for Offsite Contractors. Follow the steps below to fix the issue.
Quick Tip: Need immediate assistance? 💻 Open a Ticket
Common Causes
This article explains how to restrict local access for offsite contractors on workstations managed by your local Active Directory domain controller. By using domain local groups and Group Policy Objects (GPOs), you can grant contractors limited local permissions without altering the administrative rights of your permanent staff. This approach is ideal for small to medium business offices with 5 to 20 staff members who engage temporary or external personnel.
Quick Fix Steps
- Log in to your domain controller using an account with Domain Admin privileges.
- Open Active Directory Users and Computers from the Start menu.
- Create a new domain local group named
Contractor-LocalAccess. - Add the contractor user accounts to this group.
- Open Group Policy Management and create a new GPO linked to the Organisational Unit containing the contractor workstations.
- Configure the
Restricted Groupspolicy to addContractor-LocalAccessto the localUsersgroup and remove it from the localAdministratorsgroup. - Run
gpupdate /forceon the target workstation or wait for the next policy refresh cycle.
Detailed Instructions
Step 1: Create the Domain Local Group
- On your domain controller, open Server Manager and select Tools > Active Directory Users and Computers.
- Expand your domain, right-click the
Userscontainer, and select New > Group. - Enter
Contractor-LocalAccessas the group name. - Set Group scope to Domain local and Group type to Security.
- Click OK.
- Double-click the new group, select the Members tab, and click Add.
- Enter the contractor usernames, click Check Names, then click OK.
Step 2: Create and Link the Group Policy Object
- Open Group Policy Management from Server Manager > Tools.
- Right-click the Organisational Unit (OU) that contains the contractor workstations and select Create a GPO in this domain, and Link it here.
- Name the GPO
Contractor Workstation Restrictions. - Right-click the new GPO and select Edit.
Step 3: Configure Restricted Groups
- In the Group Policy Management Editor, navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Restricted Groups.
- Right-click Restricted Groups and select Add Group.
- Type
Administratorsand click OK. - Click Add under Members of this group.
- Ensure only authorised administrative accounts and groups are listed. Do not add
Contractor-LocalAccesshere. - Click OK, then right-click Restricted Groups again and select Add Group.
- Type
Usersand click OK. - Click Add under Members of this group.
- Enter
Contractor-LocalAccessand click OK. - Click OK to close the policy window.
Restricted Groups membership is enforced exactly as configured. Any account not listed as a member of the local Administrators group in the GPO will be removed from that group on the next policy refresh. Test this policy on a single workstation before deploying it office-wide.
Step 4: Apply and Verify the Policy
- On the contractor workstation, open Command Prompt as Administrator.
- Run
gpupdate /forceto refresh Group Policy immediately. - Restart the workstation to ensure all security settings apply.
- Log in as a contractor user.
- Right-click the Start button and select Computer Management.
- Navigate to Local Users and Groups > Groups.
- Double-click
Administratorsand confirm the contractor account is not listed. - Double-click
Usersand confirm the contractor account is listed via the domain local group.
Troubleshooting
Contractor still has local administrator rights
- Verify the GPO is linked to the correct OU containing the workstation.
- Run
gpresult /h report.htmlon the workstation to confirm theContractor Workstation RestrictionsGPO is applied. - Check that the contractor account is not individually listed in the local Administrators group outside of Group Policy.
- Ensure
gpupdate /forcewas run and the computer was restarted.
Contractor cannot access required local resources
- Confirm the contractor account is a member of the
Contractor-LocalAccessdomain local group in Active Directory. - Check that the
Usersrestricted group in the GPO includesContractor-LocalAccess. - Review NTFS permissions on specific folders or applications the contractor needs to access.
Policy not applying to workstation
- Ensure the workstation is joined to the domain and located in the targeted OU.
- Run
gpupdate /forceand check the Event Viewer under Windows Logs > System for Group Policy errors. - Verify no conflicting GPO with higher precedence is overriding the Restricted Groups settings.
Still Having Issues?
Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.
💻 Open a Ticket
💻 Open a Ticket