Skip to main content

Group Policy

Overview

This guide outlines the Windows Registry-based Group Policy configurations available for Sparrow, enabling enterprise administrators to enforce secure, compliant, and controlled feature access across managed environments.

Prerequisites

  • Windows Server 2016 or later for domain controllers
  • Group Policy Management Console (GPMC)
  • Administrative privileges on domain controllers
  • Sparrow installed on target machines

Controlled Features and Policy Guidelines


Login Enable/Disable

Controls whether users can authenticate and access the Sparrow platform through the desktop application.

SettingDescription
Registry Key PathHKLM\SOFTWARE\Policies\Sparrow\Login
Value NameEnableLogin
Value TypeREG_DWORD
Default BehaviorLogin enabled (when policy is not configured)

Configuration Options:

  • Not Configured (Default): Users can log in to Sparrow platform
  • Enabled (1): Explicitly allows user authentication
  • Disabled (0): Prevents users from logging in to Sparrow platform

AI Assistance

Controls the availability of AI-powered development assistance features, including code generation, API documentation suggestions, and intelligent completions.

SettingDescription
Registry Key PathHKLM\SOFTWARE\Policies\Sparrow\AI
Value NameEnableAIAssistance
Value TypeREG_DWORD
Default BehaviorAI assistance enabled (when policy is not configured)

Configuration Options:

  • Not Configured (Default): AI features are available to users
  • Enabled (1): Explicitly enables AI-powered assistance
  • Disabled (0): Disables all AI-based features and suggestions

Public Workspace Creation Restrictions

Controls whether users can create public workspaces that may be shared outside the organization, helping prevent accidental exposure of internal APIs and sensitive data.

SettingDescription
Registry KeyHKLM\SOFTWARE\Policies\Sparrow\Workspaces
Value NameRestrictPublicWorkspaceCreation
Value TypeREG_DWORD
Default BehaviorPublic workspace creation allowed (when policy is not configured)

Configuration Options:

  • Not Configured (Default): Users can create both public and private workspaces
  • Enabled (1): Restricts users to private workspaces only
  • Disabled (0): Explicitly allows public workspace creation

Implementation Instructions

Policies can be applied directly via registry by creating it at desired place:

Below are the powershell commands that can be used to control them.

# Disable Login
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Sparrow\Login" -Name
"EnableLogin" -Value 0 -PropertyType DWord -Force

# Disable AI Features
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Sparrow\AI" -Name
"EnableAIAssistance" -Value 0 -PropertyType DWord -Force

# Restrict Public Workspaces
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Sparrow\Workspaces" -Name
"RestrictPublicWorkspaceCreation" -Value 1 -PropertyType DWord -Force

Support

For assistance with setup or to confirm the policy impact, please contact your Sparrow technical account representative or enterprise support team at contactus@sparrowapp.dev