Overview
The Windows Google SSO Policy configures Google sign-in on company-owned Windows devices through Google Credential Provider for Windows (GCPW). Employees use their work or school Google Account to sign in to Windows, while administrators configure permitted domains, offline access, multi-user sign-in, and Windows profile associations through Swif.
This policy supports Windows device sign-in. Signing in to the Swif dashboard with Google is a separate integration.
Requirements
Requirement | Details |
Device ownership | Company-owned devices; this Swif policy is not listed for BYOD |
Windows | Windows 10 or 11 Pro, Pro for Workstations, Enterprise, or Education |
Architecture | Google supports x86 and x64 GCPW installations, not ARM-based devices |
Browser | Google Chrome stable, version 81 or later, installed with administrator privileges |
Google account | A work or school account covered by an eligible Google Workspace or Cloud Identity edition |
Swif | Device enrolled in Swif, with the Swif agent operational |
Network | Access to Google sign-in services for initial authentication and subsequent online verification |
Recovery | A tested administrator sign-in method and a backup of important user data before changing profile associations |
Use currently serviced Windows and Chrome releases. The minimums above describe GCPW compatibility, not recommended software versions.
Compatibility note: Google's installation guide currently states that GCPW is not compatible with third-party MDM providers. Swif provides this integration, but that does not establish Google support for the combined deployment. Validate it with Swif Support and a pilot group. Disabling Google automatic device-management enrollment avoids requesting that enrollment; it does not remove Google's broader compatibility limitation. See Google's GCPW installation requirements.
How Sign-In Works
GCPW adds Google authentication to the Windows sign-in experience. Depending on the account configuration, first sign-in can create a new Windows profile or associate the Google Account with an existing profile.
Plan which outcome you want before employees sign in:
New device or new user: Allow GCPW to create the user's Windows profile.
Existing employee profile: Configure the correct Windows account SID and Google email association before first GCPW sign-in.
Profile association preserves access to the selected profile; it is not a tool for merging two profiles or moving data between computers. Google also documents a separate Directory-attribute association method for local and Active Directory accounts. See Associate Google accounts with existing Windows profiles.
Settings and Defaults
The additional settings appear when Enable Google SSO is enabled.
Setting | Declared Swif field default |
Enable Google SSO | Not specified |
Enrollment Token | Not specified |
Domains Allowed to Login | Not specified |
Enable Device Management Enrollment | Enabled |
Offline Access Validity Period (Days) | Not specified |
Enable Multi-User Login | Enabled |
Use Shorter Account Name | Disabled |
Existing Windows Profile Accounts | No mappings specified |
Choose important values explicitly. An omitted field should not be treated as proof that an existing registry value or Google Admin setting has been cleared.
Enable Google SSO
Enables or disables the Google SSO integration managed by this policy.
Enable it to configure the remaining options. Before disabling it on a production device, verify an alternative sign-in method. The supplied policy definition does not specify whether disabling the integration uninstalls GCPW or removes existing account associations.
Enrollment Token
Enter the GCPW enrollment token from your organization's Google Admin console:
Sign in to the Google Admin console with the appropriate administrative access.
Go to Devices > Mobile & endpoints > Settings > Windows.
Open Google Credential Provider for Windows (GCPW) setup.
Locate and copy the Enrollment Token.
Paste it into the Swif policy.
The token associates GCPW with your organization's Admin-console configuration. It is not an employee password or a Swif enrollment code. Keep it out of public screenshots and support logs.
Token-based GCPW configuration and automatic Google Windows device-management enrollment are separate functions. A token does not require you to enable the latter.
Set Permitted Domains for GCPW
Specify which domains are permitted to use Google SSO for Windows login. This ensures that only authorized users from your organization can log in.
In the Google Admin Console, go to Menu > Devices > Mobile and endpoints > Settings > Windows.
Under Google Credential Provider for Windows (GCPW) setup, click on Permitted domains.
Enter the domains that you want to allow for GCPW sign-in (e.g.,
yourcompany.com).Note: If no domains are added, users will not be able to sign in through GCPW.
Click Save. It may take up to an hour for these settings to sync with your devices.
Enable Device Management Enrollment
Controls automatic enrollment into Google's Windows device management when a user first signs in through GCPW.
Value | Effect |
Enabled | Requests automatic Google Windows device-management enrollment, subject to eligibility and device state. |
Disabled | Turns off GCPW's automatic Google management enrollment. |
This setting does not enroll the device in Swif.
For a deployment intended to remain managed by Swif, explicitly set this to Disabled and review the effective Google Admin setting as well. Do not assume leaving the field at its enabled default is appropriate for an already managed device.
Google management has separate licensing and enrollment requirements. Disabling automatic enrollment also should not be treated as unenrolling a device that is already enrolled.
Offline Access Validity Period (Days)
Sets how long users may sign in through GCPW offline before online authentication is required.
Value | Intended behavior |
| Requires online sign-in immediately when disconnected; unsuitable for users who need offline access. |
Positive whole number | Allows the configured offline period before requiring online sign-in. |
Unset | GCPW's native default allows indefinite offline sign-in if no other effective setting imposes a limit. |
The Swif field accepts values of zero or greater. Select a period that accommodates travel, unreliable connectivity, and your account-verification requirements.
This is not a screen-lock timeout or a guarantee that every Windows unlock will perform Google authentication. Test online, offline, password, and Windows Hello flows used in your environment.
Enable Multi-User Login
Controls whether multiple Google Workspace accounts can sign in to the device through GCPW.
Enabled: Permits multiple Google accounts, useful for shared devices.
Disabled: Limits GCPW to one Google account, useful for an assigned workstation.
This does not configure Windows Fast User Switching or delete existing accounts. If Google's Windows device management is used, only one user can be enrolled in that management per device even when multiple GCPW users are allowed.
Use Shorter Account Name
Controls the Windows account name generated when GCPW creates a new profile.
Disabled: Uses the
username_domainnaming pattern.Enabled: Uses only the username portion of the work or school email.
For example, the shorter-name option uses alex as the naming basis for alex@example.com.
This setting is for new profiles. It does not rename an existing Windows account or profile folder. Consider collisions when different permitted domains have users with the same email prefix.
Existing Windows Profile Accounts
Associates a Google work or school account with an existing local Windows profile so the user can begin using GCPW without selecting Add Work Account for that first association.
Each mapping requires:
Field | Value |
Windows Account SID | The exact security identifier of the intended Windows account |
Google Account Email | The employee's full work or school Google email |
The mapping sets:
HKLM\Software\Google\GCPW\Users\<SID>\email
To find the current user's SID, run this command while signed in as that employee:
whoami /user
Check the execution context: Running this through a remote command as SYSTEM or another administrator returns that account's SID, not the employee's. Verify the account name and target device before adding the mapping.
Keep SID mappings scoped to the correct devices. Do not assign one employee's device-specific mapping to an organization-wide group. Do not associate an employee with a shared administrator or service account.
Google Admin Settings and Swif Settings
Google Admin-console GCPW settings override corresponding registry settings when both are configured. If Swif is intended to manage a setting locally, leave the matching Google setting Not configured where available and verify the resulting value.
Permitted domains can also be maintained in Google under GCPW setup > Permitted domains. Allow up to an hour for Google's GCPW settings to synchronize. This is separate from the device receiving its Swif policy. See Google's configuration instructions.
Suggested Configuration for an Assigned Device
Setting | Suggested value |
Enable Google SSO | Enabled |
Enrollment Token | Your organization's GCPW token |
Domains Allowed to Login | Only approved work domains |
Enable Device Management Enrollment | Disabled for the Swif-managed deployment |
Offline Access Validity Period (Days) |
|
Enable Multi-User Login | Disabled |
Use Shorter Account Name | Disabled |
Existing Windows Profile Accounts | A verified mapping if preserving an employee's existing local profile |
For shared devices, enable multi-user login and test each intended account. These are deployment suggestions, not Swif defaults or a guarantee of compatibility.
Create and Deploy the Policy
Confirm GCPW eligibility, device architecture, and Chrome installation.
Back up the employee's important files and confirm administrator recovery access.
In Swif, go to Device Management > Policies and create a Windows Google SSO Policy.
Enable Google SSO and enter the token and permitted domains.
Explicitly choose Google management enrollment and offline access behavior.
Configure multi-user login and account naming.
Add a verified SID-to-email mapping if using an existing profile.
Assign the policy to a pilot device and allow it to check in.
Confirm successful policy application and that GCPW is installed before testing sign-in. Review deployment errors with Swif Support if it is missing.
Arrange a restart with the user after saving open work, then test the Google sign-in flow.
Employee Sign-In Experience
At the Windows sign-in screen, use the Google sign-in option. An unmapped first-time user may need to select Add Work Account. Enter the work or school Google email and complete authentication, including any applicable Google 2-Step Verification challenge.
Google confirms that GCPW supports 2-Step Verification, but not passwordless Google sign-ins. Do not describe this policy as requiring a new MFA challenge on every unlock. See Google's GCPW FAQ.
After sign-in, confirm the expected desktop, files, and account permissions. A successful Google authentication alone does not prove the correct Windows profile was selected.
Local Accounts Created or Used by GCPW
The existing Swif guide describes a GCPW helper account, such as gaia, and a Windows user associated with the employee's Google account. Account counts depend on existing-profile associations and the number of users. Do not assume deployment always creates exactly two new accounts.
Do not remove a GCPW helper account solely because it is unfamiliar. Also verify the employee's actual group membership rather than assuming this SSO policy makes every account a standard user. An existing profile can retain permissions that require separate management.
Verify the Deployment
Check the Swif policy report and installed GCPW version.
Test an approved work account and confirm the expected profile opens.
Verify that an unapproved domain is rejected through GCPW.
Confirm the intended Google management enrollment state.
Test permitted offline access with a recovery method available.
Test a second account if multi-user login is required.
Review account permissions and administrator recovery access.
Use a read-only registry inspection for relevant settings if troubleshooting. Avoid exporting the entire GCPW registry tree into a ticket because it can contain tokens and account information.
Troubleshooting
No Google Sign-In Option Appears
Check policy application, GCPW installation, supported Windows edition and architecture, and Chrome availability. Restart after saving work if installation requires it. Review other credential providers and Windows Logon Policy settings that may affect the sign-in interface.
The User's Domain Is Rejected
Verify the domain spelling, the effective permitted-domain list, and Google Admin overrides. If managing domains from Google, check the token and allow time for synchronization.
Windows Opens a New or Empty Profile
Stop before moving or deleting files. Compare the signed-in account with the intended existing account, then verify the SID, email, and policy target. A missing or incorrect association can result in a separate profile. Shorter account names do not merge profiles.
The User Cannot Sign In Offline
Check the effective offline validity period and whether the user has completed initial online authentication. A value of 0 or an expired offline allowance requires connectivity. Review Google Admin settings as well as the Swif value.
Sign-In Encounters a Device-Management Enrollment Error
Check Enable Device Management Enrollment, existing enrollment, Google licensing, and Google Admin overrides. For the intended Swif-managed configuration, verify that automatic Google enrollment is disabled. Escalate unresolved compatibility issues to Swif Support; do not remove a working MDM enrollment as an unplanned troubleshooting step.
A Password Change Causes Sign-In Problems
Verify whether the Google and Windows passwords are synchronized and follow the GCPW prompts. Password changes made through another tool can require reconciliation. Avoid repeatedly resetting passwords through different systems. Review Google's profile association guidance and use your approved account recovery process.
Authentication Fails on a Corporate Network
Check internet access before Windows sign-in, proxy requirements, device time, and Google endpoint reachability. Use the current proxy endpoint list in Google's GCPW FAQ rather than assuming access to Gmail alone is sufficient.
Change or Remove the Policy
Before changing domains, profile associations, or disabling SSO, confirm that affected employees and administrators can still sign in.
Deploy changes to a test device, review the effective configuration, and test after restart. Removing the policy should not be assumed to uninstall GCPW, delete Google or Windows accounts, restore earlier registry values, or remove an existing Google management enrollment. Plan those actions separately when required.


