<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>batch &#8211; Robert&#039;s private homepage</title>
	<atom:link href="http://rehner.org/archives/category/coding/batch/feed" rel="self" type="application/rss+xml" />
	<link>http://rehner.org</link>
	<description></description>
	<lastBuildDate>Mon, 22 Jun 2015 14:19:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Remove Windows10 Notification</title>
		<link>http://rehner.org/archives/116</link>
		
		<dc:creator><![CDATA[Robert]]></dc:creator>
		<pubDate>Wed, 17 Jun 2015 11:31:50 +0000</pubDate>
				<category><![CDATA[batch]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows Registry]]></category>
		<category><![CDATA[Windows Update]]></category>
		<guid isPermaLink="false">http://rehner.org/?p=116</guid>

					<description><![CDATA[If you have automatic updates enabled in Windows, you will eventually notice a new Icon in the task bar that offers you Windows 10 for free. What if you do not want this notification? Here is a simple and clean &#8230; <a href="http://rehner.org/archives/116">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>If you have automatic updates enabled in Windows, you will eventually notice a new Icon in the task bar that offers you Windows 10 for free. What if you do not want this notification?<span id="more-116"></span></p>
<p>Here is a simple and clean way to remove this notification:<br />
Uninstall the Update KB3035583. You can do this manually by executing a lot of clicks, or just use this command (you need to execute it as administrator):</p>
<pre class="brush: bash; title: ; notranslate">
WUSA /UNINSTALL /KB:3035583
</pre>
<p>If you want to automate this process, I have written a bash file that first obtains admin rights and then executes the command:</p>
<pre class="brush: bash; title: ; notranslate">
@echo off

:: BatchGotAdmin
:-------------------------------------
&gt;nul 2&gt;&amp;1 &quot;%SYSTEMROOT%\system32\cacls.exe&quot; &quot;%SYSTEMROOT%\system32\config\system&quot;

if '%errorlevel%' NEQ '0' (
    goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
    echo Set UAC = CreateObject^(&quot;Shell.Application&quot;^) &gt; &quot;%temp%\ga.vbs&quot;
    set params = %*:&quot;=&quot;&quot;
    echo UAC.ShellExecute &quot;%~s0&quot;, &quot;%params%&quot;, &quot;&quot;, &quot;runas&quot;, 1 &gt;&gt; &quot;%temp%\ga.vbs&quot;

    &quot;%temp%\getadmin.vbs&quot;
    exit /B

:gotAdmin
    if exist &quot;%temp%\ga.vbs&quot; ( del &quot;%temp%\ga.vbs&quot; )
    pushd &quot;%CD%&quot;
    CD /D &quot;%~dp0&quot;
:--------------------------------------

WUSA /UNINSTALL /KB:3035583

</pre>
<p>You can download the <a href="http://rehner.org/wp-content/uploads/2015/06/RemoveWindows10Notification.cmd" download="">Windows10 Notification Remover batch file</a> here.</p>
<p><strong>Update (22.06.2015): </strong>You can also disable the update notification by adding this key to the registry:</p>
<pre class="brush: plain; title: ; notranslate">

Windows Registry Editor Version 5.00

&#x5B;HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Gwx]
&quot;DisableGwx&quot;=dword:00000001

</pre>
<p>Just save this to a file with <em>.reg</em> ending, execute it and reboot. Now the notification as well as the GWX program running in the Background are gone.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
