升级Windows10![收不到Win10升级预订通知解决办法]

Windows10发布了,你更新了吗? 大多数用户电脑状态栏已经显示Win10升级预定通知,但是仍然有一大部分用户不显示。

收不到Win10升级预订通知解决办法

不出现升级提示的不要着急,可将如下代码复制到文本文件内,并改扩展名为.bat

(或在这里下载:收不到Win10升级预定解决办法

@echo off
title Windows 10 Missing Icon Fixes
goto foreward
:foreward
color 0b
cls
echo The methods inside this batch modify files and registry settings.
echo While they are tested and tend to work, I take no responsibility for the use of this file.
echo This batch is provided without warranty. Any damage caused is your own responsibility.
echo.
echo As well, batch files are almost always flagged by anti-virus, feel free to review the code if you‘re unsure.
echo.
echo If you understand the above, and accept - press any key to continue...
pause > NUL
goto elevatecheck
:elevatecheck
color 0c
cls
echo Checking for Administrator elevation...
echo.
echo.
openfiles > NUL 2>&1
if %errorlevel%==0 (
    echo Elevation found! Proceeding...
    goto vercheck
) else (
    echo You are not running as Administrator...
    echo This batch cannot do it‘s job without elevation!
    echo.
    echo Right-click and select ^‘Run as Administrator^‘ and try again...
    echo.
    echo Press any key to exit...
    pause > NUL
    exit
)
:vercheck
color 0c
cls
echo Performing Pre-Checks...
for /f "tokens=4-5 delims=. " %%i in (‘ver‘) do set version=%%i.%%j
if "%version%"=="6.3" set allow=1
if "%version%"=="6.1" set allow=1
if %allow%==1 goto warning
set allow=0
echo.
echo You did not pass the pre-requisites.
echo If you‘re running Windows 8, go install Windows 8.1 from the Store.
echo.
echo Press any key to exit.
pause > NUL
exit
:warning
color 0b
cls
echo Warning about qualifications...
echo.
echo.
echo Just because your version checks out, doesn‘t mean you‘re eligible for the free upgrade!
echo Notably, the following are not elibile for Windows 10 via Windows Update...
echo.
echo Windows 7 RTM
echo Windows 8
echo Windows 8.1 RTM
echo Windows RT
echo Windows Phone 8.0
echo.
echo Press any key to continue...
pause > NUL
goto menu
:menu
color 0b
cls
echo Main Menu
echo.
echo.
echo 1^) Check Update Status
echo 2^) Quick-Method #1 ^[JC from answers.microsoft.com^]
echo 3^) Quick-Method #2 ^[KevinStevens_845 from answers.microsoft.com^]
echo 4^) Long-Method #1 ^[Yaqub K from answers.microsoft.com^]
echo 5^) EXIT
echo.
set /p mmchoice=Selection:
if %mmchoice%==1 goto upstatus
if %mmchoice%==2 goto qm1
if %mmchoice%==3 goto qm2
if %mmchoice%==4 goto lm1
if %mmchoice%==5 exit
goto error
:error
color 0C
cls
echo Main Menu - Error!
echo.
echo.
echo You did not enter a valid entry.
echo.
echo Press any key to return to the main menu and try again.
pause > NUL
goto menu
:upstatus
cls
echo Checking for appropriate update installation status...
echo.
echo.
if "%version%"=="6.3" goto upstatus8
if "%version%"=="6.1" goto upstatus7
goto menu
:upstatus8
echo Windows 8^+ detected...
echo.
set upcheck=3035583
echo Checking for update KB%upcheck%...
dism /online /get-packages | findstr %upcheck% > NUL
if %errorlevel%==0 (
    echo Update KB%upcheck% is installed!
    set missupdate=0
) else (
    echo Update KB%upcheck% is missing!
    set missupdate=1
)
echo.
set upcheck=3035583
echo Checking for update KB%upcheck%...
dism /online /get-packages | findstr %upcheck% > NUL
if %errorlevel%==0 (
    echo Update KB%upcheck% is installed!
) else (
    echo Update KB%upcheck% is missing!
    set /a missupdate=%missupdate%+1>NUL
)
echo.
echo.
if %missupdate%==0 (
    echo You are not missing any updates, congratulations!
) else (
    echo You are missing %missupdate% update^(s^).
)
echo Press any key to return to the main menu...
pause > NUL
goto menu
:upstatus7
echo Windows 7 detected...
echo.
set upcheck=3035583
echo Checking for update KB%upcheck%...
dism /online /get-packages | findstr %upcheck% > NUL
if %errorlevel%==0 (
    echo Update KB%upcheck% is installed!
    set missupdate=0
) else (
    echo Update KB%upcheck% is missing!
    set missupdate=1
)
echo.
set upcheck=2952664
echo Checking for update KB%upcheck%...
dism /online /get-packages | findstr %upcheck% > NUL
if %errorlevel%==0 (
    echo Update KB%upcheck% is installed!
) else (
    echo Update KB%upcheck% is missing!
    set /a missupdate=%missupdate%+1>NUL
)
echo.
echo.
if %missupdate%==0 (
    echo You are not missing any updates, congratulations!
) else (
    echo You are missing %missupdate% update^(s^).
)
echo Press any key to return to the main menu...
pause > NUL
goto menu
:qm1
cls
echo Quick-Method #1 ^[JC from answers.microsoft.com^]
echo.
echo.
echo Updating registry...
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\UpgradeExperienceIndicators" /v UpgEx /t REG_SZ /d Green /f
echo Trying to launch notification tray application...
%SystemRoot%\System32\GWX\GWX.exe /taskLaunch
echo.
echo This method is now complete - and is also instant!
echo You should see the Windows 10 icon in your notification tray.
echo If you do not, return to the menu and try another method.
echo.
echo Press any key to return to the main menu...
pause > NUL
goto menu
:qm2
echo Quick-Method #2 ^[KevinStevens_845 from answers.microsoft.com^]
echo.
echo.
echo Trying to launch GWX task...
%SystemRoot%\System32\GWX\GWX.exe /taskLaunch
echo Trying to refresh GWX config...
%SystemRoot%\System32\GWX\GWXConfigManager.exe /RefreshConfig
echo.
echo This method is now complete - but it could take a few minutes.
echo In approximately 10 minutes you should see the Windows 10 icon in your notification tray.
echo If you do not, return to the menu and try another method.
echo.
echo Press any key to return to the main menu...
pause > NUL
goto menu
:lm1
cls
echo Long-Method #1 ^[Yaqub K from answers.microsoft.com^]
echo.
echo.
echo This method can take anywhere from 10 minutes on.
echo I‘ve had this run up to 40 minutes during my tests...
echo.
echo This will loop for a while but please note...
echo If you see the ^"STATUS^" as anything but ^"RUNNING^", there is something wrong.
echo If that happens, close the batch file and start over. It may take a few times.
echo.
echo Further, due to the way this script was originally written, you may have to re-launch this batch to continue.
echo.
echo If you understand the above, press any key to continue.
pause > NUL
color 0c
cls
echo Work has begun...
REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\UpgradeExperienceIndicators" /v UpgEx | findstr UpgEx
if "%errorlevel%"=="0" goto RunGWX
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Appraiser" /v UtcOnetimeSend /t REG_DWORD /d 1 /f
schtasks /run /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
echo THIS MAY CAUSE A LOOP - CHECK FOR RUNNING STATUS!!! &echo THIS MAY CAUSE A LOOP - CHECK FOR RUNNING STATUS!!! &echo THIS MAY CAUSE A LOOP - CHECK FOR RUNNING STATUS!!!
:CompatCheckRunning
schtasks /query /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
schtasks /query /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" | findstr Ready
if not "%errorlevel%"=="0" ping localhost > NUL &goto :CompatCheckRunning
:RunGWX
schtasks /run /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig"
color 0b
cls
echo.
echo This method is now complete.
echo Reports show that this could take up to an hour to show the icon.
echo It is also recommended that you reboot your PC if it has not shown up after that hour wait.
echo.
echo If you do not see the notification tray icon, try another method.
echo If you are using this method last, please wait in the Microsoft Answers forums for a new answer.
echo.
echo Press any key to return to the main menu...
pause > NUL
goto menu

以管理员身份运行,按任意键继续,直到出现如下显示:

输入1,回车后,程序自动检测并更新补丁,如图:

如果没有缺少必需更新,系统仍无法收到升级提醒,按任意键返回到主菜单。这里提供了三种修复方法:两种快速(Quick)修复方法和一个比较慢(Long)的修复方法,可以依次尝试一下。这些修复方法都来自于微软的问答社区,这里是将其汇总起来做成了批处理。

官方Windows10升级助手

也可尝试微软官方升级助手:官方Windows10升级助手 http://download.csdn.net/detail/cleopard/8949097

包括32位和64位。

Windows10激活

Win10安装完毕后,首先以管理员身份打开CMD命令行窗口。

专业版用户

请依次输入:

slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX

slmgr /skms kms.xspace.in

slmgr /ato

企业版用户

请依次输入:

slmgr /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43

slmgr /skms kms.xspace.in

slmgr /ato

至此,Windows10已哦。

CLeopard

2015/07/31 14:27

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-11 05:15:38

升级Windows10![收不到Win10升级预订通知解决办法]的相关文章

升级Windows10![收不到Win10升级预订通知的解决办法]

Windows10发布了,你更新了吗? 大多数用户电脑状态栏已经显示Win10升级预定通知,但是仍然有一大部分用户不显示. 收不到Win10升级预订通知的解决办法 不出现升级提示的不要着急,可将如下代码复制到文本文件内,并改扩展名为.bat: (或在这里下载:收不到Win10升级预定解决办法) @echo off title Windows 10 Missing Icon Fixes goto foreward :foreward color 0b cls echo The methods in

Discuz升级 Database Error : pre_common_syscache ADD PRIMARY KEY (cname)【解决办法】

错误码: 1068Multiple primary key defined Execution Time : 00:00:00:000Transfer Time : 00:00:00:000Total Time : 00:00:00:000 解决办法:DROP TABLE IF EXISTS pre_common_syscache;CREATE TABLE pre_common_syscache ( cname varchar(32) NOT NULL, ctype tinyint(3) uns

win10关机指示灯亮解决办法

新上市的win10,大家都迫不及待的装上了,但是却遇到了很多问题. 对于win10关机指示灯亮的解决办法有下面几种. 指示灯 如果是只有电源的指示灯亮,拔掉电源即可. 如果是信号灯和其他的指示灯都亮原因有以下两种(我所知的,可能还有其他原因,欢迎补充说明) (1)电源设置问题                  (2)驱动程序问题 对于(1)解决办法如下 windows键,如图 首先通过键盘上的windows键+X的快捷键打开控制面板.如下图. 选中系统和安全后,如图 选中电源选项下的更改电池设置

windows升级到1607后操作很卡顿的解决办法

CPU I5,固态128G,win7主系统,WIN10和WIN7都安装在固态硬盘上. 未升级之前,操作很流畅,以至于把家里的老古董电脑也换固态,系统换WIN10了.自从升级了1607后这个问题就出现了,进入到桌面倒是挺快的,但一进入桌面,操作什么东西都没反应,等反应过来了突突突出来一大堆,让人很是恼火,但家里的那台电脑升级后什么事也没有,很无语,难道是驱动的问题,考虑要不要重装,办公电脑上有几个软件很大,安装很麻烦,所以就尽量不走重装这条路,禁用服务.启动项.快速启动网上大部分解决方案都试过了,

Mac 升级10.10 Yosemite系统 brew 报错无法使用解决办法

随着水果公司发布最新系统,想尝鲜的同学们相信早已经装上体验了一把吧,可能个别同学使用 brew 的时候会报这个错误: /usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 23: 

升级到XCode之后一些插件不能用的解决办法

1.打开插件所在的目录: ~/{当前用户名}/library/Application Support/Developer/Shared/2.选择已经安装的show package contents, 3.找到info.plist 文件,找到DVTPlugInCompatibilityUUIDs的项目, 4.添加C4A681B0-4A26-480E-93EC-1218098B9AA0(当前),这个号码怎么得到?  在终端执行 defaults read /Applications/5.再右键“打开

关于升级OSX10.10 Yosemite后Matlab无法启动的解决办法

这是北大未名站提供的解决方案: 下载一个补丁包pach.zip 解压后: 1.用补丁包内的info.plist替换Matlab包Contents下的同名文件: 2.把补丁包内的java下的文件夹path放在Matlab包的java目录下. OK问题应该已经解决了,enjoy~

升级到XCode7之后插件RTImageAssets不能用的解决办法

1.打开xcode插件所在的目录: ~/{当前用户名}/library/Application Support/Developer/Shared/Xcode/Plug-ins 2.选择已经安装的插件例如VVDocument,右键点击“打开包内容”, 3.找到info.plist 文件,找到DVTPlugInCompatibilityUUIDs的项目, 4.添加C4A681B0-4A26-480E-93EC-1218098B9AA0(当前xcode的一个号码),这个号码怎么得到? 在终端执行 de

java7 升级到java8后java -version不生效的解决办法

一.需要在eclipse上安装pydev, 而其要求本地java是java8,否则会出现在eclipse中显示不出来的问题 二.本地已经安装过java7和java8, 只不过当前的环境变量JAVA_HOME指向java7 三.修改JAVA_HOME指向java8,打开cmd ,set PATH=c:  然后打开另一个cmd,echo %PATH%查看到当前PATH,能看到JAVA_HOME确实已经指向java8目录 但是java -version 居然还是显示版本为7,重启机器也没用 四.最终解