--- title: "使用公司 PIN 和 setup.exe 进行部署" slug: "automatic-enrollment-of-windows-devices-with-company-pin-using-setupexe" description: "Streamline Windows device onboarding with HP's automatic enrollment methods. Learn how to obtain a Company PIN and choose the best deployment option." updated: 2025-09-02T14:50:57Z published: 2025-09-02T14:59:01Z canonical: "learn.workforceexperience.hp.com/automatic-enrollment-of-windows-devices-with-company-pin-using-setupexe" --- > ## Documentation Index > Fetch the complete documentation index at: https://learn.workforceexperience.hp.com/llms.txt > Use this file to discover all available pages before exploring further. # 使用公司 PIN 和 setup.exe 进行部署 ## 介绍 自动将 Windows 设备注册到 HP Workforce Experience Platform (WXP) 可简化设备载入流程,确保立即了解设备运行状况和性能,并减少手动设置工作。注册是平台开始收集遥测数据、应用策略以及启用监视和分析的先决条件。 本文将指导你 [获取公司 PIN](/wxp/docs/automatic-enrollment-of-windows-devices-with-company-pin-using-setupexe#obtain-a-company-pin) 并选择最适合你的环境的 [注册方法](/wxp/docs/automatic-enrollment-of-windows-devices-with-company-pin-using-setupexe#enrollment-methods-for-windows-devices) 。 ### 先决条件 设备必须连接到互联网才能完成自动注册。 ## 获取公司 PIN 码 要获取公司 PIN: 1. 登录 WXP。将显示 **主页** 。 2. 在 WXP 的左侧菜单中,单击 **设置>首选项。**将显示 **“首选项”** 选项卡。 3. 在 **“首选项”** 选项卡上,向下滚动到 **“公司 PIN** ”部分并复制 PIN 码。                     **注意**:对于 HP 合作伙伴,接受合作伙伴邀请后,请转到 **客户>公司>公司详细信息>首选项**。 ## Windows 设备的注册方法 根据您的部署环境和 IT 基础结构,选择以下方法之一以自动将 Windows 设备注册到 Workforce Experience Platform: - **[CMD 批处理脚本 (setup.exe):](/wxp/docs/automatically-enroll-windows-devices-using-an-install)**非常适合中小型环境或试点推出。此方法使用在设备启动期间执行的简单`Install.cmd`批处理脚本。这是一个轻量级选项,用于检查代理并从共享位置运行`setup.exe`,通常与组策略或手动脚本一起使用。 - **[Microsoft Active Directory 组策略 (setup.exe):](/wxp/docs/automatic-enrollment-of-windows-devices-using-microsoft-active-directory-gpo)**最适合使用本地 Active Directory 的企业。此方法利用组策略对象 (GPO) 在设备启动时以静默方式推送和安装 Windows 代理。它确保一致的域范围部署,建议用于集中式 IT 管理环境。 - **[Microsoft System Center Configuration Manager (setup.exe):](/wxp/docs/automatically-enroll-windows-devices-using-microsoft-sccm-setupexe)**推荐用于具有 SCCM 基础架构的大型企业。此方法使 IT 管理员能够通过细粒度控制打包、计划和监视跨数千台设备部署的 Windows 代理。 - **[Microsoft Intune (setup.exe):](/wxp/docs/automatically-enroll-windows-devices-using-microsoft-intune-setupexe)**专为云优先或混合环境而设计。此方法使用 Microsoft Intune 远程推送和管理 Azure AD 联接或混合联接设备上的代理安装。它非常适合移动员工或转向现代端点管理的组织。 ### 联系我们 如果遇到任何问题, [请创建支持案例](/v1/docs/creating-a-support-case) 或电子邮件 support@wxp.hp.com。