Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Windows 系統 SID 修改教學:Sysprep 重新封裝解決克隆/映像部署 SID 衝突

編輯:關於 Windows

SID (Security Identifier) 為 Windows 安全性識別碼,唯一標識電腦帳戶、群組、用戶。克隆系統或部署 Ghost 映像會導致 SID 重複,造成網域衝突、權限異常。需使用 Sysprep 重新封裝生成新 SID。

查看本機 SID

  1. CMD 執行 whoami /all 查看當前用戶 SID。
  2. 登錄編輯器查看 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList,左側為 SID,右側 ProfileImagePath 對應用戶名。

修改 SID 方法

Windows XP / Server 2003

安裝媒體 Support\Tools\DEPLOY.CAB 中提取 sysprep.exe 與 factory.exe,執行 sysprep.exe 選擇「重新封裝」。

Windows 7 / 8 / 10

直接執行 C:\Windows\System32\Sysprep\sysprep.exe (或 %windir%\System32\Sysprep\sysprep.exe),選擇「進入系統全新體驗 (OOBE)」並勾選「一般化」→ 確定,系統重啟進入 OOBE 階段生成新 SID。

注意:Sysprep 會移除機器特有資訊 (SID、電腦名稱、驅動程式快取等),部署前請確認驅動程式已整合至映像或支援即插即用。

Copyright © Windows教程網 All Rights Reserved