Home › Knowledgebase › KB-1931

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

  1. Log in to your domain controller using an account with Domain Admin privileges.
  2. Open Active Directory Users and Computers from the Start menu.
  3. Create a new domain local group named Contractor-LocalAccess.
  4. Add the contractor user accounts to this group.
  5. Open Group Policy Management and create a new GPO linked to the Organisational Unit containing the contractor workstations.
  6. Configure the Restricted Groups policy to add Contractor-LocalAccess to the local Users group and remove it from the local Administrators group.
  7. Run gpupdate /force on the target workstation or wait for the next policy refresh cycle.

Detailed Instructions

Step 1: Create the Domain Local Group

  1. On your domain controller, open Server Manager and select Tools > Active Directory Users and Computers.
  2. Expand your domain, right-click the Users container, and select New > Group.
  3. Enter Contractor-LocalAccess as the group name.
  4. Set Group scope to Domain local and Group type to Security.
  5. Click OK.
  6. Double-click the new group, select the Members tab, and click Add.
  7. Enter the contractor usernames, click Check Names, then click OK.

Step 2: Create and Link the Group Policy Object

  1. Open Group Policy Management from Server Manager > Tools.
  2. Right-click the Organisational Unit (OU) that contains the contractor workstations and select Create a GPO in this domain, and Link it here.
  3. Name the GPO Contractor Workstation Restrictions.
  4. Right-click the new GPO and select Edit.

Step 3: Configure Restricted Groups

  1. In the Group Policy Management Editor, navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Restricted Groups.
  2. Right-click Restricted Groups and select Add Group.
  3. Type Administrators and click OK.
  4. Click Add under Members of this group.
  5. Ensure only authorised administrative accounts and groups are listed. Do not add Contractor-LocalAccess here.
  6. Click OK, then right-click Restricted Groups again and select Add Group.
  7. Type Users and click OK.
  8. Click Add under Members of this group.
  9. Enter Contractor-LocalAccess and click OK.
  10. 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

  1. On the contractor workstation, open Command Prompt as Administrator.
  2. Run gpupdate /force to refresh Group Policy immediately.
  3. Restart the workstation to ensure all security settings apply.
  4. Log in as a contractor user.
  5. Right-click the Start button and select Computer Management.
  6. Navigate to Local Users and Groups > Groups.
  7. Double-click Administrators and confirm the contractor account is not listed.
  8. Double-click Users and confirm the contractor account is listed via the domain local group.

Troubleshooting

Contractor still has local administrator rights

Contractor cannot access required local resources

Policy not applying to workstation

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