通过使用本网站, 您同意 隐私政策.
接受
进入IT进入IT进入IT
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
阅读: Sysprep was not able to validate your Windows installation
字体调整器氨基酸
进入IT进入IT
字体调整器氨基酸
  • 家
  • 信息技术专家
  • 技术
  • 微软
  • 视窗
  • SCCM查询集合列表
搜索
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
Windows客户端

Sysprep was not able to validate your Windows installation

出版: 二月 18, 2024
5 最小阅读量
分享

Sysprep was not able to validate your Windows installation. Sysprep can be really useful if you want to save up some time and automatically deploy an operating system on a group of computers. On a machine running Windows 8, 8.1, 10 or even Windows Server 2012, 2012R2 or 2016 you can get an error when syspreping the machine. 然而, when you are faced with one of its issues, it can be, at times, an obstacle to pass. You can learn how to deal with the issue by going through this article.

内容
解决方案 1: Windows Registry Editor解决方案 2: Installing Default Windows Apps解决方案 3: Creating a New Administrator Account (non-domain solution)
Sysprep was not able to validate your Windows installation. (Error 0x8007139f)

So, look in C:\Windows\System32\Sysprep\Panther and open the “setupact.log“ 文件:

Error [0x0f0036] SYSPRP spopk.dll:: Sysprep will not run on an upgraded OS. You can only run Sysprep on a custom (clean) install version of Windows.

Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing ‘Sysprep_Clean_Validate_Opk’ from C:\Windows\System32\spopk.dll; dwRet = 0x139f

Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x139f

Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x139f

Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x139f

Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x8007139f

What we see here is that for some reason Windows thinks it has been upgraded.

Well, if you navigate to the file specified in the error message and go through it, you will find the possible cause of the error. In different scenarios, it can vary, therefore, for a basic insight, it is often due to the following factors:

  • Windows Store apps: In some cases, the error occurs if you have downloaded an app from the Windows Store which is preventing the tool. Mostly, Candy Crush and Twitter were found to be the culprits.
  • Default Windows apps: Another reason due to why the error occurs can be the removal of default Windows applications. If you have, prior to running Sysprep, removed any Windows default app, that might be the cause of the error.

解决方案 1: Windows Registry Editor

导航至:

HKEY_LOCAL_MACHINE\SYSTEM\Setup\

In the Setup node you will find a REG_DWORD «升级» with a value of probably “0透明 (meaning not an upgrade…)

Just delete the «升级» key and you are good to go!

解决方案 2: Installing Default Windows Apps

You will have to install the default applications again. Here’s how to do it:

  1. Go to the 开始菜单, type in Windows Powershell, right-click on it and select ‘Run as an administrator’ or right-click on 开始菜单 and select Windows PowerShell (行政).
  2. Once the Window Powershell loads up, paste in the following command and press Enter:
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

解决方案 3: Creating a New Administrator Account (non-domain solution)

Some users have reported that upon creating a new administrator account and then deleting all the old ones, their issue was resolved. Here’s how to do it:

  1. Press Windows Key + 我 to open 设置.
  2. 前往 Accounts and then navigate to Family & other users.
  3. 点击 Add someone else to this PC.
  4. Afterward, 点击 I don’t have this person’s sign-in information. Creating New Local User Account
  5. Then, click on ‘Add user without a Microsoft account’ and enter a username of your choice and password.
  6. Click on the newly created account and select Change account type.
  7. On the pop-up, from the list under Account type, 选择 行政人员 and then click OK. Changing User Account Type
  8. Restart your system and login using the newly created account.
  9. Press Windows Key + 我 again and go to Accounts.
  10. Switch to the Family & other users tab and select your old account.
  11. Click ‘Remove’ to remove the user account.
  12. Restart your system again and then try to run Sysprep.
标记:微软视窗服务器视窗视窗 10
上一篇 Microsoft Ignite 2019 Office mobile app
下一篇 Outlook Always Starts in Offline Mode
发表评论 发表评论

发表回复 取消回复

您的电子邮件地址不会被公开. 必填字段已标记 *

该网站使用 Akismet 来减少垃圾邮件. 了解您的评论数据的处理方式.

翻译

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
经过 Transposh - translation plugin for wordpress

热门帖子

Windows Server 的系统要求 2016
Windows服务器
配置管理器查询集合列表
配置管理器查询集合列表
configmgr
在经典团队网站的新式页面上启用结构化/托管导航
技术
SCCM 无法从 MP 获取预期版本的 DP 位置
configmgr

最近的帖子

在 AlmaLinux 上使用 Nginx 安装 WordPress 9
Linux
如何安装 OpenSSL 3 在AlmaLinux上 9
Linux
配置管理器查询集合列表
System Center Configuration Manager 技术预览版更新 1611
configmgr
在 Ubuntu 上安装和配置 Fail2ban 以实现 SSH 保护 24.04
Linux

© 2023 进入IT

转到移动版本
欢迎回来!

登录您的帐户

用户名或电子邮件地址
密码

丢失密码?