有人可以向我解释一下吗?

有人可以向我解释一下吗?

你好,我想在任务栏上运行 Windows 10 应用程序。但是当我运行评估我的计算机的脚本时,我没有从命令提示符脚本中获得任何信息。

脚本是

C:\Temp>REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFl ags\UpgradeExperienceIndicators" /v UpgEx | findstr UpgEx if "0" == "0" GOTO RunGWX reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlag s\Appraiser" /v UtcOnetimeSend /t REG_DWORD /d 1 /f schtasks /run /TN "\Microso ft\Windows\Application Experience\Microsoft Compatibility Appraiser" :CompatChe ckRunning schtasks /query /TN "\Microsoft\Windows\Application Experience\Micros oft Compatibility Appraiser" schtasks /query /TN "\Microsoft\Windows\Applicatio n Experience\Microsoft Compatibility Appraiser" | findstr Ready if NOT "0" == "0" ping localhost 1>nul & goto :CompatCheckRunning :RunGWX schtasks /run /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig"

我的结果是

FINDSTR: Cannot open if FINDSTR: Cannot open NOT FINDSTR: Cannot open 0 FINDSTR: Cannot open == FINDSTR: Cannot open if FINDSTR: Cannot open 0 FINDSTR: Cannot open 0 FINDSTR: Cannot open ping FINDSTR: Cannot open == FINDSTR: Cannot open localhost FINDSTR: Cannot open 0 FINDSTR: Cannot open GOTO FINDSTR: Cannot open RunGWX FINDSTR: Cannot open reg FINDSTR: Cannot open add FINDSTR: Cannot open HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompat Flags\Appraiser FINDSTR: Cannot open /v FINDSTR: Cannot open UtcOnetimeSend FINDSTR: Cannot open /t FINDSTR: Cannot open REG_DWORD FINDSTR: Cannot open /d FINDSTR: Cannot open 1 FINDSTR: Cannot open /f FINDSTR: Cannot open schtasks FINDSTR: Cannot open /run FINDSTR: Cannot open /TN FINDSTR: Cannot open \Microsoft\Windows\Application Experience\Microsoft Compati bility Appraiser FINDSTR: Cannot open :CompatCheckRunning FINDSTR: Cannot open schtasks FINDSTR: Cannot open /query FINDSTR: Cannot open /TN FINDSTR: Cannot open \Microsoft\Windows\Application Experience\Microsoft Compati bility Appraiser FINDSTR: Cannot open schtasks FINDSTR: Cannot open /query FINDSTR: Cannot open /TN FINDSTR: Cannot open \Microsoft\Windows\Application Experience\Microsoft Compati bility Appraiser The system cannot find the batch label specified - CompatCheckRunning

有人可以向我解释一下吗?

答案1

我假设你从这里获得了你的脚本: http://techdows.com/2015/06/how-to-enable-get-windows-10-app-icon-windows-7-or-8-1-taskbar.html

通过修改注册表来获取应用程序只会给您带来麻烦。

如果您希望能够安装 Windows 10,则需要在您的计算机上安装最低数量的补丁。这些是:

  • KB3035583
  • KB2952664

您还需要确保您运行的是 Windows 7 SP1

如果您确实必须修改注册表,上述文章包含一个 CMD 文件的链接,该文件将为您更改注册表...您需要做的就是保存 .cmd 文件,禁用 AV,右键单击并以管理员身份运行...然后重新启用您的 AV 并运行 Windows 更新。

相关内容