<?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>windows &#8211; Uroš Vovk</title>
	<atom:link href="https://www.urosvovk.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.urosvovk.com</link>
	<description>Uroš Vovk home page</description>
	<lastBuildDate>Wed, 18 Jul 2018 09:10:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>BGInfo &#8211; Script for Local IP, Public IP and ISP Name</title>
		<link>https://www.urosvovk.com/bginfo-local-ip-public-ip-and-isp-name/</link>
					<comments>https://www.urosvovk.com/bginfo-local-ip-public-ip-and-isp-name/#comments</comments>
		
		<dc:creator><![CDATA[Uroš]]></dc:creator>
		<pubDate>Thu, 23 Feb 2017 19:00:09 +0000</pubDate>
				<category><![CDATA[Windows Stuff]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[bginfo]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[system info]]></category>
		<category><![CDATA[visual basic]]></category>
		<category><![CDATA[wallpaper]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://www.urosvovk.com/?p=788</guid>

					<description><![CDATA[I recently created 3 scripts for BGInfo &#8230; If you need it, use it ;) Local IP.vbs I found this script at ardamis.com and adapted to my needs. I removed VMware local IP, because I don&#8217;t need it strMsg = "" strComputer = "." Set objWMIService = GetObject("winmgmts:" &#038; "{impersonationLevel=impersonate}!\\" &#038; strComputer &#038; "\root\cimv2") Set IPConfigSet = &#8230; <a href="https://www.urosvovk.com/bginfo-local-ip-public-ip-and-isp-name/" class="more-link">Continue reading <span class="screen-reader-text">BGInfo &#8211; Script for Local IP, Public IP and ISP Name</span></a>]]></description>
										<content:encoded><![CDATA[<p>I recently created 3 scripts for <a href="https://technet.microsoft.com/en-us/sysinternals/bginfo.aspx">BGInfo </a>&#8230; If you need it, use it ;)</p>
<h2>Local IP.vbs</h2>
<p>I found this script at <a href="https://ardamis.com/2012/07/28/a-vbscript-for-displaying-only-ipv4-addresses-with-bginfo/" target="_blank" rel="noopener">ardamis.com</a> and adapted to my needs. I removed VMware local IP, because I don&#8217;t need it</p>
<pre lang="vb">strMsg = ""
strComputer = "."

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set IPConfigSet = objWMIService.ExecQuery("Select IPAddress,description from Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'True'")

For Each IPConfig in IPConfigSet
	If Not IsNull(IPConfig.IPAddress) Then
	For i = LBound(IPConfig.IPAddress) to UBound(IPConfig.IPAddress)
		If Not Instr(IPConfig.IPAddress(i), ":") > 0 Then
			If InStr(1, IPConfig.description(i), "VMware") = 0 Then
				strMsg = strMsg & IPConfig.IPAddress(i)
				If i > 0 Then
					strMsg = strMsg & vbcrlf & VBTab
				End If
			End If
		End If
	Next
	End If
Next
Echo strMsg
</pre>
<h2>Public IP.vbs</h2>
<p>Based on script from <a href="https://www.howtogeek.com/school/sysinternals-pro/lesson7/" target="_blank" rel="noopener">howtogeek.com</a><br />
I&#8217;m retrieving my public IP from <a href="https://www.ipify.org/">ipify.org</a></p>
<pre lang="vb">Dim o
Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "https://api.ipify.org", False
o.send
echo o.responseText
</pre>
<h2>ISP Name.vbs</h2>
<p>I&#8217;m using <a href="https://www.whoismyisp.org">whoismyisp.org</a> for this task</p>
<pre lang="vb">Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "https://www.whoismyisp.org", False
o.send
strid = o.responseText
Set myRegExp = New RegExp
With myRegExp
	.Pattern = "< p class=""isp"">(.*)< / p >" 'remove spaces before use :)
	.IgnoreCase = False
	.Global = False
End With
Set myMatches = myRegExp.Execute(strid)

Echo myMatches.Item(0).SubMatches(0)
</pre>
<p><strong>IMPORTANT:</strong><br />
<span style="color: #ff0000;">Because my regex contain HTML tags I added space between < and p. If you want to use my script remove this spaces!</span></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.urosvovk.com/bginfo-local-ip-public-ip-and-isp-name/feed/</wfw:commentRss>
			<slash:comments>14</slash:comments>
		
		
			</item>
		<item>
		<title>Connectify Hotspot 2015</title>
		<link>https://www.urosvovk.com/connectify-hotspot-2015/</link>
		
		<dc:creator><![CDATA[Uroš]]></dc:creator>
		<pubDate>Sat, 12 Sep 2015 13:52:07 +0000</pubDate>
				<category><![CDATA[Network Stuff]]></category>
		<category><![CDATA[Windows Stuff]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[connectify]]></category>
		<category><![CDATA[hotspot]]></category>
		<category><![CDATA[internet connection]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[repeater]]></category>
		<category><![CDATA[Share]]></category>
		<category><![CDATA[virtual router]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wireless]]></category>
		<guid isPermaLink="false">http://www.urosvovk.com/?p=754</guid>

					<description><![CDATA[I was on vacation in Germany and as usually I carried my laptop, smartphone, iPad and other &#8220;Wi-Fi devices&#8221; with me&#8230; When we arrived in hotel I asked for Wi-Fi access. They asked me for how many devices and I said that for 6 devices. After a while I received 6 tickets with 6 username/password&#8230; &#8230; <a href="https://www.urosvovk.com/connectify-hotspot-2015/" class="more-link">Continue reading <span class="screen-reader-text">Connectify Hotspot 2015</span></a>]]></description>
										<content:encoded><![CDATA[<p>I was on vacation in Germany and as usually I carried my laptop, smartphone, iPad and other &#8220;Wi-Fi devices&#8221; with me&#8230;</p>
<p>When we arrived in hotel I asked for Wi-Fi access. They asked me for how many devices and I said that for 6 devices. After a while I received 6 tickets with 6 username/password&#8230; all different. I went to my room where I started connecting all devices to the hotel WiFi&#8230;</p>
<p>My phone and laptop connected without any problems, my wife phone couldn&#8217;t connect at all&#8230; in that moment I decided to check if is possible to share laptop internet with other devices and I found this simple, but powerful application&#8230; <strong><a href="http://www.connectify.me/" target="_blank">Connectify Hotspot</a> </strong>&#8230; I instaled it, run it and in a few simple steps I configured it&#8230;</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-757" src="http://www.urosvovk.com/wp-content/uploads/2015/09/c3.png" alt="c3" width="430" height="729" srcset="https://www.urosvovk.com/wp-content/uploads/2015/09/c3.png 430w, https://www.urosvovk.com/wp-content/uploads/2015/09/c3-177x300.png 177w" sizes="(max-width: 430px) 100vw, 430px" /></p>
<p>After that, I connected all my devices to Wolfy-AP and everything works without problems. And the best thing off all&#8230; when I moved to the next hotel I asked only 1 ticket for WiFi, connected my laptop on hotel WiFi and without any other configuration all my other devices had internet connection, because they were already connected to my Wolfy-AP!</p>
<p><img decoding="async" class="aligncenter size-full wp-image-756" src="http://www.urosvovk.com/wp-content/uploads/2015/09/c2.png" alt="c2" width="428" height="513" srcset="https://www.urosvovk.com/wp-content/uploads/2015/09/c2.png 428w, https://www.urosvovk.com/wp-content/uploads/2015/09/c2-250x300.png 250w" sizes="(max-width: 428px) 100vw, 428px" /></p>
<p>I could write all features that comes with this great app, but I think that if you find that app useful, you will go on there <a href="http://www.connectify.me/" target="_blank">homepage</a> and get all information there&#8230;</p>
<p>I bought  Hotspot MAX version, witch have all features, but they have other version&#8230;</p>
<p><img decoding="async" class="aligncenter size-full wp-image-760" src="http://www.urosvovk.com/wp-content/uploads/2015/09/c41.png" alt="c4" width="1020" height="486" srcset="https://www.urosvovk.com/wp-content/uploads/2015/09/c41.png 1020w, https://www.urosvovk.com/wp-content/uploads/2015/09/c41-300x143.png 300w" sizes="(max-width: 1020px) 100vw, 1020px" /></p>
<p>The free version is good enough for travelers, but when you see how many problems go away with this app, you will probably decided to buy a licence just for support the developers even if you don&#8217;t need any other features :)</p>
<p>For aditional info go to <a href="http://www.connectify.me" target="_blank">www.connectify.me</a>.</p>
<p>Do you already use connectify hotspot? Share your opinion with a comment :)</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Free (SSD) disk space on Windows machine</title>
		<link>https://www.urosvovk.com/free-ssd-disk-space-on-windows-machine/</link>
		
		<dc:creator><![CDATA[Uroš]]></dc:creator>
		<pubDate>Tue, 20 Aug 2013 09:10:25 +0000</pubDate>
				<category><![CDATA[Windows Stuff]]></category>
		<category><![CDATA[cleanup]]></category>
		<category><![CDATA[disable system protection]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[hiberfil]]></category>
		<category><![CDATA[hibernation]]></category>
		<category><![CDATA[low disk space]]></category>
		<category><![CDATA[pagefile]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[uninstall]]></category>
		<category><![CDATA[virtual memory]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://urosv.wordpress.com/?p=466</guid>

					<description><![CDATA[Having a SSD drive is a good thing when we talk about performance, but when we talk about disk space we always want more :) To free some disk space you can: Run &#8220;Disc Cleanup&#8221; Running Disc Cleanup will free max 2-3GB of space. This will help you, but won&#8217;t solve low disk space problems&#8230; &#8230; <a href="https://www.urosvovk.com/free-ssd-disk-space-on-windows-machine/" class="more-link">Continue reading <span class="screen-reader-text">Free (SSD) disk space on Windows machine</span></a>]]></description>
										<content:encoded><![CDATA[<p>Having a SSD drive is a good thing when we talk about performance, but when we talk about disk space we always want more :) To free some disk space you can:</p>
<h1>Run &#8220;Disc Cleanup&#8221;</h1>
<p><img loading="lazy" decoding="async" class="alignright size-medium wp-image-478" alt="Disk Cleanup" src="http://urosv.files.wordpress.com/2013/08/disk-cleanup1.png?w=245" width="245" height="300" srcset="https://www.urosvovk.com/wp-content/uploads/2013/08/disk-cleanup1.png 389w, https://www.urosvovk.com/wp-content/uploads/2013/08/disk-cleanup1-245x300.png 245w" sizes="auto, (max-width: 245px) 100vw, 245px" /> Running Disc Cleanup will free max 2-3GB of space. This will help you, but won&#8217;t solve low disk space problems&#8230; After a while this file will be back again and we will need to do the cleanup again and again&#8230;</p>
<h1>Uninstall unused applications</h1>
<p><img loading="lazy" decoding="async" class="alignright size-medium wp-image-477" alt="Uninstall applications" src="http://urosv.files.wordpress.com/2013/08/uninstall-applications1.png?w=300" width="300" height="206" srcset="https://www.urosvovk.com/wp-content/uploads/2013/08/uninstall-applications1.png 1200w, https://www.urosvovk.com/wp-content/uploads/2013/08/uninstall-applications1-300x206.png 300w, https://www.urosvovk.com/wp-content/uploads/2013/08/uninstall-applications1-1024x703.png 1024w" sizes="auto, (max-width: 300px) 100vw, 300px" /> Uninstall unused applications is always a good idea. Doing this you will probably gain some free space, possibly you will speed up your PC too.</p>
<h1>Turn off/Minimize System Protection</h1>
<p><img loading="lazy" decoding="async" class="alignright size-medium wp-image-479" alt="System Protection" src="http://urosv.files.wordpress.com/2013/08/system-protection.png?w=276" width="276" height="300" srcset="https://www.urosvovk.com/wp-content/uploads/2013/08/system-protection.png 486w, https://www.urosvovk.com/wp-content/uploads/2013/08/system-protection-276x300.png 276w" sizes="auto, (max-width: 276px) 100vw, 276px" /> If you use any other system backup tool you can turn Windows System protection off, otherwise you can set max disk usage for system restore points.</p>
<h1>Hibernation and Virtual Memory</h1>
<p>If we have a large amount of installed RAM, we should take care of this 2 files:</p>
<ul>
<li>hiberfil.sys</li>
<li>pagefile.sys</li>
</ul>
<p>Each of this 2 files size is the same as the amount of installed RAM.</p>
<h1>What is hiberfil.sys file?</h1>
<p>From <a title="Microsoft Support" href="http://support.microsoft.com/kb/920730/en" target="_blank">Microsoft Support</a>:</p>
<blockquote><p>The Hiberfil.sys hidden system file is located in the root folder of the drive where the operating system is installed. The Windows Kernel Power Manager reserves this file when you install Windows. The size of this file is approximately equal to how much random access memory (RAM) is installed on the computer.</p></blockquote>
<p>If we don&#8217;t use hibernation we can remove this file. To do this we need to disable hibernation. This can be easily done with this command in command line (as Administrator):</p>
<pre>powercfg -h off</pre>
<p>If you want to re-enable hibernation again just run:</p>
<pre>powercfg -h on</pre>
<h1>What is pagefile.sys file?</h1>
<p>Again, from <a title="Microsoft Support" href="http://support.microsoft.com/kb/2160852/en" target="_blank">Microsoft Support</a>:</p>
<blockquote><p>RAM is a limited resource, whereas for most practical purposes, virtual memory is unlimited. There can be many processes, and each process has its own 2 GB of private virtual address space. When the memory being used by all the existing processes exceeds the available RAM, the operating system moves pages (4-KB pieces) of one or more virtual address spaces to the computer’s hard disk. This frees that RAM frame for other uses. In Windows systems, these “paged out” pages are stored in one or more files (Pagefile.sys files) in the root of a partition.</p></blockquote>
<p>We can manualy set the size of pagefile.sys file or we can disable it. To do this:</p>
<ul>
<li>Right click on &#8220;<strong>Computer</strong>&#8220;</li>
<li>Click on &#8220;<strong>Properties</strong>&#8220;</li>
<li>Click on &#8220;<strong>Advanced system settings</strong>&#8220;</li>
<li>Under &#8220;<strong>Performance</strong>&#8221; click on button &#8220;<strong>Settings&#8230;</strong>&#8220;</li>
<li>Select &#8220;<strong>Advanced</strong>&#8221; tab</li>
<li>Under &#8220;<strong>Virtual Memory</strong>&#8221; click on button &#8220;<strong>Change&#8230;</strong>&#8220;</li>
<li>Change the file size or disable it and click on button &#8220;<strong>Set</strong>&#8220;</li>
</ul>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="wp-image-482 aligncenter" alt="Virtual Memory" src="http://urosv.files.wordpress.com/2013/08/virtual-memory.png?w=208" width="187" height="270" srcset="https://www.urosvovk.com/wp-content/uploads/2013/08/virtual-memory.png 434w, https://www.urosvovk.com/wp-content/uploads/2013/08/virtual-memory-208x300.png 208w" sizes="auto, (max-width: 187px) 100vw, 187px" /></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
