<?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 10 Archives - Jim Dolby</title>
	<atom:link href="https://jim.dolby.id.au/tag/windows-10/feed" rel="self" type="application/rss+xml" />
	<link>https://jim.dolby.id.au/tag/windows-10</link>
	<description>A Geek and still proud of it!</description>
	<lastBuildDate>Thu, 17 Jun 2021 09:06:35 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">195341223</site>	<item>
		<title>Remove preinstalled window 10 apps for all users using powershell</title>
		<link>https://jim.dolby.id.au/tips/windows/remove-preinstalled-window-10-apps-for-all-users-using-powershell.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Wed, 03 Jun 2020 07:53:33 +0000</pubDate>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows Tips]]></category>
		<category><![CDATA[Default Apps]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=295</guid>

					<description><![CDATA[<p>To remove the apps that come pre-installed with windows 10, open a powershell window as Administrator, and paste the following</p>
<p>The post <a href="https://jim.dolby.id.au/tips/windows/remove-preinstalled-window-10-apps-for-all-users-using-powershell.html">Remove preinstalled window 10 apps for all users using powershell</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>We all need Remove preinstalled window 10 apps for all users at some point. We can do this using powershell. The list on this page is hard to keep current, but running the following code will give you a list of the names of your currently installed packages and you can remove what you think isn&#8217;t required. It is fairly easy to re-install if required, but we still advise caution.</p>



<pre class="wp-block-code"><code>Get-AppxPackage -AllUsers | Select Name</code></pre>



<p>To remove the preinstalled windows 10 apps for all users using powershell, open <a href="https://en.wikipedia.org/wiki/PowerShell">powershell</a> as Administrator, and paste the following.</p>



<pre class="wp-block-code"><code>#Be careful with the first line ... you may want to keep the windows store installed as alot of applications come through there now, rather than direct installs.
#Get-appxpackage -allusers windowsstore | install-appxpackage
Get-appxpackage -allusers xboxapp | remove-appxpackage
Get-appxpackage -allusers 3dbuilder | remove-appxpackage
Get-appxpackage -allusers zune | remove-appxpackage
Get-appxpackage -AllUsers camera | remove-appxpackage
Get-appxpackage -AllUsers solitaire | remove-appxpackage
Get-appxpackage -AllUsers bing | remove-appxpackage
Get-appxpackage -AllUsers getstarted | remove-appxpackage
Get-appxpackage -AllUsers photos | remove-appxpackage
Get-appxpackage -allusers alarms | remove-appxpackage
Get-appxpackage -allusers skype | remove-appxpackage
Get-appxpackage -allusers phone | remove-appxpackage
Get-appxpackage -allusers maps | remove-appxpackage
Get-appxpackage -allusers people | remove-appxpackage
Get-appxpackage -allusers messaging | remove-appxpackage
Get-appxpackage -allusers connectivity | remove-appxpackage
Get-appxpackage -allusers communication | remove-appxpackage
Get-appxpackage -allusers candy | remove-appxpackage
Get-appxpackage -AllUsers office | Remove-AppxPackage
Get-appxpackage -AllUsers twitter | Remove-AppxPackage</code></pre>



<p>If you didn&#8217;t actually read the above before copying and pasting (as we may or may not have done), you will need to re-install the store if you want it (which is likely):</p>



<pre class="wp-block-code"><code>Get-AppXPackage WindowsStore -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}</code></pre>



<p>To Add singular packages back in, use the following code</p>



<pre class="wp-block-code"><code>Get-appxpackage -allusers twitter | install-appxpackage</code></pre>



<p><a href="https://www.securetech.com.au/tag/powershell">Powershell</a> is an amazing thing that allows the reasonably knowledgeable person to do many functions easily which would normally require alot more time and or effort.</p>



<p>Microsoft also has a great resource on what apps are installed, system apps and if not on the list are therefore removable &#8230; <a href="https://docs.microsoft.com/en-us/windows/application-management/apps-in-windows-10">Windows 10 &#8211; Apps &#8211; Windows Application Management | Microsoft Docs</a></p>



<h2 class="wp-block-heading">Update 2021</h2>



<p>The following list is one that I have found on a newly installed win10 machine and most of the problematic apps where removed. it should be noted that when i re-ran the list and found most of the apps still installed, so im working on a way to remove the likes of skype &#8230; good old microsoft, always doing what it thinks is right by us, despite being told to remove an app and actually showing it as removing, the app doesn&#8217;t remove &#8230; go figure.</p>



<pre class="wp-block-code"><code>Get-AppxPackage -AllUsers Microsoft.GetHelp | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.Windows.Photos | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.WindowsAlarms | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.WindowsCalculator | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.WindowsCamera | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.WindowsMaps | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.WindowsSoundRecorder | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.Xbox.TCUI | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.XboxGameOverlay | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.XboxIdentityProvider | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.XboxSpeechToTextOverlay | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.YourPhone | Remove-AppPackage
Get-AppxPackage -AllUsers SpotifyAB.SpotifyMusic | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.XboxApp | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.MixedReality.Portal | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.Microsoft3DViewer | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.Getstarted | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.ZuneVideo | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.ZuneMusic | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.BingWeather | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.WindowsFeedbackHub | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.MicrosoftSolitaireCollection | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.MicrosoftStickyNotes | Remove-AppPackage
Get-AppxPackage -AllUsers Microsoft.SkypeApp | Remove-AppPackage
</code></pre>



<p></p>
<p>The post <a href="https://jim.dolby.id.au/tips/windows/remove-preinstalled-window-10-apps-for-all-users-using-powershell.html">Remove preinstalled window 10 apps for all users using powershell</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">295</post-id>	</item>
		<item>
		<title>How to replace Dropbox OneDrive or sugarsync with syncthing</title>
		<link>https://jim.dolby.id.au/tips/backup-and-sync-tips/how-to-replace-dropbox-onedrive-or-sugarsync-with-syncthing.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Wed, 03 Jun 2020 06:37:33 +0000</pubDate>
				<category><![CDATA[Backup and Sync]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Backups]]></category>
		<category><![CDATA[sugarsync]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=293</guid>

					<description><![CDATA[<p>If your sick of paying for synchronization software that is overpriced or your running out of space using a free account, Syncthing is one answer, particularly if you have computers in multiple locations or have a good friend or family member that is happy to share some HDD space and internet bandwidth to allow you [&#8230;]</p>
<p>The post <a href="https://jim.dolby.id.au/tips/backup-and-sync-tips/how-to-replace-dropbox-onedrive-or-sugarsync-with-syncthing.html">How to replace Dropbox OneDrive or sugarsync with syncthing</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>If your sick of paying for synchronization software that is overpriced or your running out of space using a free account, Syncthing is one answer, particularly if you have computers in multiple locations or have a good friend or family member that is happy to share some HDD space and internet bandwidth to allow you to do offsite automatic backups.</p>



<p>We recently discovered <a href="https://syncthing.net/">SyncThing</a> and have been very impressed with it&#8217;s <a href="https://docs.syncthing.net/users/index.html">features</a>, functionality and <a href="https://syncthing.net/security/">security</a>. If you have not yet heard of SyncThing, then you don&#8217;t know what your missing out on.  It has many awesome features, a few of which are listed below.</p>



<ul class="wp-block-list"><li>Syncthing is an amazing free software that allows you to share folders between networked devices, such as laptops and mobile phones.</li><li>Syncthing has clients for <a href="https://github.com/canton7/SyncTrayzor/releases/latest">windows</a>, <a href="https://github.com/syncthing/syncthing-macos/releases/latest">mac</a> and <a href="https://syncthing.net/downloads/">linux</a> computers</li><li>Syncthing has clients for <a href="https://play.google.com/store/apps/details?id=com.nutomic.syncthingandroid">android</a> and apple ios (ipad, iphone, ipod) although the later has limited support.</li><li>Sycthing is <a href="https://syncthing.net/security/">secure</a>.</li><li>Syncthing can be setup to sync in a <a href="https://en.wikipedia.org/wiki/Mesh_networking">mesh</a> or <a href="https://en.wikipedia.org/wiki/Spoke%E2%80%93hub_distribution_paradigm">spoke</a>.</li></ul>



<p></p>
<p>The post <a href="https://jim.dolby.id.au/tips/backup-and-sync-tips/how-to-replace-dropbox-onedrive-or-sugarsync-with-syncthing.html">How to replace Dropbox OneDrive or sugarsync with syncthing</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">293</post-id>	</item>
		<item>
		<title>Map Network drive to remote computer via SSH</title>
		<link>https://jim.dolby.id.au/tips/windows/map-network-drive-to-remote-computer-via-ssh.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Wed, 03 Jun 2020 03:36:55 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Tips]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=268</guid>

					<description><![CDATA[<p>If you need to access files on a remote computer (such as a webserver), you can use several different software to do this.</p>
<p>The post <a href="https://jim.dolby.id.au/tips/windows/map-network-drive-to-remote-computer-via-ssh.html">Map Network drive to remote computer via SSH</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>If you need to access files on a remote computer (such as a webserver), you can use several different software to do this.</p>



<p><a href="https://github.com/evsar3/sshfs-win-manager">sshfs-win-manager</a>  which is free open source software and uses <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a></p>



<p><a href="http://www.expandrive.com/windows">ExpanDrive</a> has not been tested, but looks very promising, if only it had sugarsync</p>
<p>The post <a href="https://jim.dolby.id.au/tips/windows/map-network-drive-to-remote-computer-via-ssh.html">Map Network drive to remote computer via SSH</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">268</post-id>	</item>
		<item>
		<title>Adding Remote Desktop (RDP) support to windows 10 home</title>
		<link>https://jim.dolby.id.au/tips/windows/adding-remote-desktop-rdp-support-to-windows-10-home.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Wed, 01 Apr 2020 12:23:39 +0000</pubDate>
				<category><![CDATA[Windows Tips]]></category>
		<category><![CDATA[mstsc]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Win10 Home]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=251</guid>

					<description><![CDATA[<p>Microsoft Windows 10 home is easily modified to add the Remote Desktop features. These feature are only normally available in the Professional version of win10 (pro). You don&#8217;t need to pay for the professional version to have Remote Desktop services installed on your computer. Some smart people have worked out how install Remote Desktop Server [&#8230;]</p>
<p>The post <a href="https://jim.dolby.id.au/tips/windows/adding-remote-desktop-rdp-support-to-windows-10-home.html">Adding Remote Desktop (RDP) support to windows 10 home</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Microsoft Windows 10 home is easily modified to add the Remote Desktop features. These feature are only normally available in the Professional version of win10 (pro).</p>



<p>You don&#8217;t need to pay for the professional version to have Remote Desktop services installed on your computer. Some smart people have worked out how install Remote Desktop Server on Win10 Home.</p>



<p><a href="https://www.ctrl.blog/entry/how-to-rdpwrapper-win10-home.html">A good article explaining how to enable remote RDP access in Windows 10 Home edition</a>, but <a href="https://github.com/stascorp/rdpwrap/">sadly RDPWrap isn&#8217;t updated</a> for the latest version of windows 10, So we decided to make it easier for people to <a href="https://github.com/stascorp/rdpwrap/pull/859">find a working RDPWrap solution</a>:</p>



<ol class="wp-block-list"><li>Copy the files from the archive &#8220;<a href="https://github.com/stascorp/rdpwrap/">RDPWrap-v1.6.2.zip</a>&#8221; (or newer) to the &#8220;%ProgramFiles%\RDP Wrapper&#8221; directory.</li><li>DO NOT use other location to install/extract the RDP Wrapper files, as it will not work,<br>USE ONLY the &#8220;%ProgramFiles%\RDP Wrapper&#8221; directory (normally C:\Program Files (x86)\RDP Wrapper)</li><li>Extract/Copy the files/folders from the archive &#8220;<a href="https://github.com/asmtron/rdpwrap/raw/master/autoupdate.zip">autoupdate.zip</a>&#8221; to the &#8220;%ProgramFiles%\RDP Wrapper&#8221; directory</li><li>To enable autorun of autoupdate.bat on system startup, run the following helper batch file as administrator: &#8220;%ProgramFiles%\RDP Wrapper\helper\autoupdate__enable_autorun_on_startup.bat&#8221;</li><li>Set in your Antivirus/WindowsDefender an exclusion on the folder &#8220;%ProgramFiles%\RDP Wrapper&#8221; to prevent the deletion of RDP Wrapper files</li><li>Now you can use the autoupdate batch file to install and update the RDP Wrapper. Please run the following autoupdate batch file as administrator: &#8220;%ProgramFiles%\RDP Wrapper\autoupdate.bat&#8221;</li></ol>



<p></p>
<p>The post <a href="https://jim.dolby.id.au/tips/windows/adding-remote-desktop-rdp-support-to-windows-10-home.html">Adding Remote Desktop (RDP) support to windows 10 home</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">251</post-id>	</item>
		<item>
		<title>Remotely Lock &#038; Shutdown computers using PowerShell</title>
		<link>https://jim.dolby.id.au/tips/remotely-lock-shutdown-computers-using-powershell.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Sun, 22 Sep 2019 00:18:56 +0000</pubDate>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Tips]]></category>
		<category><![CDATA[lockdown]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=191</guid>

					<description><![CDATA[<p>PowerShell takes the functionality of batch scripts to the next level and allows you to Remotely Lock &#38; Shutdown computers using PowerShell. The following needs to be run on each computer if using a workgroup setup. or changed in your AD security policy (to make it permanent – which isn’t advisable without signing the script) [&#8230;]</p>
<p>The post <a href="https://jim.dolby.id.au/tips/remotely-lock-shutdown-computers-using-powershell.html">Remotely Lock &#038; Shutdown computers using PowerShell</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.securetech.com.au/tag/powershell">PowerShell</a> takes the functionality of batch scripts to the next level and allows you to Remotely Lock &amp; Shutdown computers using PowerShell. </p>



<p>The following needs to be run on each computer if using a workgroup setup. or changed in your AD security policy (to make it permanent – which isn’t advisable without signing the script) </p>



<p><a href="https://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/">https://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/</a></p>



<pre class="wp-block-code"><code>Enable-PSRemoting
Set-executionpolicy unrestricted
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "192.168.1.250" -Force 
Get-Item WSMan:\localhost\Client\TrustedHosts
Restart-Service WinRM</code></pre>



<p>The above does the following:<br><code>Enable-PSRemoting</code> sets up the policies and firewalls to allow remote connections using powershell<br><code>Set-executionpolicy unrestricted</code> changes the local execution policy to allow execution of all scripts (not just signed)<br><code>Set-Item WSMan:\localhost\Client\TrustedHosts -Value "192.168.1.250" -Force</code> Adds server IP into the trustedhosts to allow execution<br><code>Restart-Service WinRM</code> restarts windows remote management service</p>



<p>We are assuming that your server IP is 192.168.1.250, change as appropriate</p>



<p>Now to the actual shutdown code that will be run from our &#8220;Server&#8221;:</p>



<pre class="wp-block-code"><code>Function Get-MyCredential{
 param(
 [string]$username,
 [string]$password
 )

 $secStr = new-object -typename System.Security.SecureString
 $password.ToCharArray() | ForEach-Object {$secStr.AppendChar($_)}
 return new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$secStr
}
Function Lock-Machine{
 param(
 $machineName
 )

 &amp; winrm set winrm/config/client `@`{TrustedHosts = `"$machineName`"`}
 Invoke-Command -ComputerName $machineName -ScriptBlock { tsdiscon.exe console } -Credential (Get-MyCredential User Pa$W0rd)
 }
Function Hibernate-Machine{
 param(
 $machineName
 )

 &amp; winrm set winrm/config/client `@`{TrustedHosts = `"$machineName`"`}
 Invoke-Command -ComputerName $machineName -ScriptBlock { &amp;"$env:SystemRoot\System32\rundll32.exe" powrprof.dll,SetSuspendState Hibernate } -Credential (Get-MyCredential Administrator password)
}
Lock-Machine "192.168.1.84"
#Lock-Workstation "NameOfTheComputer" (Get-Credential)
Stop-Computer -ComputerName 192.168.1.85 -Force -Credential (Get-MyCredential User Pa$W0rd)</code></pre>



<p></p>
<p>The post <a href="https://jim.dolby.id.au/tips/remotely-lock-shutdown-computers-using-powershell.html">Remotely Lock &#038; Shutdown computers using PowerShell</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">191</post-id>	</item>
		<item>
		<title>Relaunching a windows app using a batch script</title>
		<link>https://jim.dolby.id.au/tips/relaunching-a-windows-app-using-a-batch-script.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Sat, 21 Sep 2019 13:26:38 +0000</pubDate>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Tips]]></category>
		<category><![CDATA[Batch Script]]></category>
		<category><![CDATA[restart app]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=187</guid>

					<description><![CDATA[<p>We recently had need to restart an app server exe automatically when the demonstration license it was running on caused the server to close regularly, annoying everyone trying to learn the system. We had need of a script (YAY) to check if it was running and restart it when required. Requirements: Check to see if [&#8230;]</p>
<p>The post <a href="https://jim.dolby.id.au/tips/relaunching-a-windows-app-using-a-batch-script.html">Relaunching a windows app using a batch script</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We recently had need to restart an app server exe automatically when the demonstration license it was running on caused the server to close regularly, annoying everyone trying to learn the system. We had need of a script (YAY) to check if it was running and restart it when required.</p>
<h2>Requirements:</h2>
<ol>
<li>Check to see if the app is running on start if not running, start it.</li>
<li>wait for some period of time (60 seconds)</li>
<li>Check to see if the app is running, if not running, start it</li>
</ol>
<h2>Flourishes:</h2>
<ol>
<li>Date app last restarted is displayed in title</li>
<li>ability to close script with a button press</li>
<li>ability to cancel wait time and relaunch app now</li>
<li>ability to log when app was restarted</li>
</ol>
<h2>Working on it:</h2>
<h3>checking if a process is running:</h3>
<p>It turns out that checking if a process is running is relatively easy:</p>
<p><pre>tasklist /FI "IMAGENAME eq appServer.exe" | findstr "appServer.exe"
if %ERRORLEVEL% == 1 Echo No server Process found
if %ERRORLEVEL% == 1 goto start
</pre>
<p>and of course, now you have to choose:</p>
<p><pre>choice /T 60 /D y /C YABCDEFGHIJKLMNOPQRSTUVWXZ /N &gt;NUL
if %ERRORLEVEL% == 1 goto loop</pre>
<p>now we start the exe</p>
<p><pre>start "" "C:\Program Files (x86)\AppVision 4.0\Bin\appServer.exe"</pre>
<p>Set the title</p>
<p><pre>title appServer (re)Started at %NowDate% %NowTime% (Press X to exit script before closing appServer.exe)</pre>
<h2>Pulling it all together:</h2>
<p><pre>@echo off
title appServer (re)Launching script started at %time:~0,2%_%time:~3,2%_%time:~6,2% (Press X to exit script before closing appServer.exe)
pushd "C:\Program Files (x86)\AppVision 4.0\Bin"

:loop
timeout 2 &gt;NUL
rem ping 127.0.0.1 -n 2 &gt;NUL
echo.
tasklist /FI "IMAGENAME eq appServer.exe" | findstr "appServer.exe"
if %ERRORLEVEL% == 1 Echo No server Process found
if %ERRORLEVEL% == 1 goto start
echo Server process found at %time%, waiting 60 seconds
echo.
rem timeout 60
rem ping 127.0.0.1 -n 30 &gt;NUL
choice /T 60 /D y /C YABCDEFGHIJKLMNOPQRSTUVWXZ /N &gt;NUL
rem echo %ERRORLEVEL%
if %ERRORLEVEL% == 1 goto loop
goto eof

:start
set NowTime=%time:~0,2%_%time:~3,2%_%time:~6,2%
set NowDate=%date:~10,4%_%date:~4,2%_%date:~7,2%

cls
echo starting
start "" "C:\Program Files (x86)\AppVision 4.0\Bin\appServer.exe"
title appServer (re)Started at %NowDate% %NowTime% (Press X to exit script before closing appServer.exe)
choice /T 10 /D y /C YABCDEFGHIJKLMNOPQRSTUVWXZ /N &gt;NUL
rem ping 127.0.0.1 -n 11 &gt;NUL
goto loop

:eof
popd
echo script finished due to keypress
rem pause</pre>
<p>The post <a href="https://jim.dolby.id.au/tips/relaunching-a-windows-app-using-a-batch-script.html">Relaunching a windows app using a batch script</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">187</post-id>	</item>
		<item>
		<title>Pausing a Batch script</title>
		<link>https://jim.dolby.id.au/tips/pausing-a-batch-script.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Sat, 14 Sep 2019 08:39:00 +0000</pubDate>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Batch Script]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=185</guid>

					<description><![CDATA[<p>Those of you that still use batch scripts (and why not … they are backwards compatible to older systems), will occasionally need to pause a script...</p>
<p>The post <a href="https://jim.dolby.id.au/tips/pausing-a-batch-script.html">Pausing a Batch script</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Those of you that still use batch scripts (and why not … they are backwards compatible to older systems), will occasionally need to pause a script to wait for something to start or finish or just because.</p>



<p>There are various different ways to accomplish this. My current favourite is:</p>



<pre class="wp-block-code"><code>choice /T 60 /D y /C YABCDEFGHIJKLMNOPQRSTUVWXZ /N >NUL</code></pre>
<p>The post <a href="https://jim.dolby.id.au/tips/pausing-a-batch-script.html">Pausing a Batch script</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">185</post-id>	</item>
		<item>
		<title>IPChanger for Windows 10 IPV4 settings</title>
		<link>https://jim.dolby.id.au/projects/ipchanger/ipchanger-for-windows-10-ipv4-settings.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Sun, 19 May 2019 23:38:43 +0000</pubDate>
				<category><![CDATA[IPChanger]]></category>
		<category><![CDATA[IPConfig]]></category>
		<category><![CDATA[IPV4]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=120</guid>

					<description><![CDATA[<p>The IPChanger for Windows 10 IPV4, allows you to change your IP address details with just two clicks, disconnect/reconnect adapters. WARNING This program is designed to be used by personnel who administrate Network&#8217;s and/or have a good understanding of the Network addressing scheme&#8217;s of their networks. Using the IPChanger for Windows 10 IPV4 incorrectly, may [&#8230;]</p>
<p>The post <a href="https://jim.dolby.id.au/projects/ipchanger/ipchanger-for-windows-10-ipv4-settings.html">IPChanger for Windows 10 IPV4 settings</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The IPChanger for Windows 10 IPV4, allows you to change your IP address details with just two clicks, disconnect/reconnect adapters.</p>



<p class="has-medium-font-size"><strong><em><strong>WARNING</strong></em></strong></p>



<p class="has-normal-font-size">This program is designed to be used by personnel who administrate Network&#8217;s and/or have a good understanding of the Network addressing scheme&#8217;s of their networks.</p>



<p>Using the IPChanger for Windows 10 IPV4 incorrectly, may stop your computer from accessing or being accessible on the network, and you may loose internet connection.</p>



<h3 class="wp-block-heading">Download</h3>



<p><a href="https://www.securetech.com.au/wp-content/uploads/2019/08/IPChanger_3.8.zip">Download IPChangerV3.8</a></p>



<h3 class="wp-block-heading">IPChanger for Windows 10 IPV4 Features</h3>



<ul class="wp-block-list"><li>Easy to configure &#8211; just edit the INI file (examples already in file) or use the GUI</li><li>Unlimited different IP addresses (well, the limit is your screen size)</li><li>Easy to use &#8211; Right click on tray icon and select the name of your network.</li><li>Simple GUI for changing Network adapters and selecting / editing IP addresses.</li><li>Created using <a href="https://www.autoitscript.com/site/">Autoit scripting language</a> for <a href="https://www.autoitscript.com/site/autoit/">easy maintenance, powerful functionality</a> and <a href="https://www.autoitscript.com/forum/">friendly support forum</a>.</li></ul>



<h3 class="wp-block-heading">Screenshots</h3>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="577" height="408" data-attachment-id="122" data-permalink="https://jim.dolby.id.au/projects/ipchanger/ipchanger-for-windows-10-ipv4-settings.html/attachment/image-1" data-orig-file="https://jim.dolby.id.au/wp-content/uploads/2019/05/image-1.png" data-orig-size="577,408" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-1" data-image-description="" data-image-caption="" data-large-file="https://jim.dolby.id.au/wp-content/uploads/2019/05/image-1.png" src="https://www.securetech.com.au/wp-content/uploads/2019/05/image-1.png" alt="IPChanger for Windows 10 IPV4 Main Window" class="wp-image-122" srcset="https://jim.dolby.id.au/wp-content/uploads/2019/05/image-1.png 577w, https://jim.dolby.id.au/wp-content/uploads/2019/05/image-1-300x212.png 300w" sizes="(max-width: 577px) 100vw, 577px" /><figcaption>Main Screen for IPChanger (V3.8) </figcaption></figure>



<figure class="wp-block-image"><img decoding="async" width="725" height="994" data-attachment-id="121" data-permalink="https://jim.dolby.id.au/projects/ipchanger/ipchanger-for-windows-10-ipv4-settings.html/attachment/image" data-orig-file="https://jim.dolby.id.au/wp-content/uploads/2019/05/image.png" data-orig-size="725,994" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://jim.dolby.id.au/wp-content/uploads/2019/05/image.png" src="https://www.securetech.com.au/wp-content/uploads/2019/05/image.png" alt="IPChanger for Windows 10 IPV4 Disclaimer window" class="wp-image-121" srcset="https://jim.dolby.id.au/wp-content/uploads/2019/05/image.png 725w, https://jim.dolby.id.au/wp-content/uploads/2019/05/image-219x300.png 219w" sizes="(max-width: 725px) 100vw, 725px" /><figcaption>Welcome Screen for IPChanger (V3.8)</figcaption></figure>



<h3 class="wp-block-heading">History</h3>



<p>Originally created by Timmio (Circa 2009), the application was updated by us to deal with Windows 7 changes and then again for Windows 10, Unfortunately the original location of the software has been lost to us, so we cannot link to it. If you find it, please comment below, so we can give credit where its due.</p>



<p></p>
<p>The post <a href="https://jim.dolby.id.au/projects/ipchanger/ipchanger-for-windows-10-ipv4-settings.html">IPChanger for Windows 10 IPV4 settings</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">120</post-id>	</item>
		<item>
		<title>Backup MYSQL databases on Windows 10 free Script</title>
		<link>https://jim.dolby.id.au/projects/opensource/backup-mysql-databases-on-windows-10.html</link>
		
		<dc:creator><![CDATA[YTS_Jim]]></dc:creator>
		<pubDate>Wed, 08 May 2019 04:47:31 +0000</pubDate>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Backups]]></category>
		<category><![CDATA[Batch Script]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[DB]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.securetech.com.au/?p=106</guid>

					<description><![CDATA[<p>We needed a simple way to automatically Backup MySQL on windows 10 for free. Our development and testing environments required: The convenience of backing up all DBs (such as This Script does). Ability to exclude some of the DBs in each machine. Date stamped backups, so changes are backed up each day. Free and preferably [&#8230;]</p>
<p>The post <a href="https://jim.dolby.id.au/projects/opensource/backup-mysql-databases-on-windows-10.html">Backup MYSQL databases on Windows 10 free Script</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>We needed a simple way to automatically Backup MySQL on windows 10 for free. Our development and testing environments required: </p>



<ul class="wp-block-list"><li>The convenience of backing up all DBs (such as <a href="https://www.proy.info/one-click-automatic-backup-all-your-mysql-database-in-zip-format-on-windows/">This Script</a> does).</li><li>Ability to exclude some of the DBs in each machine. </li><li>Date stamped backups, so changes are backed up each day.</li><li>Free and preferably open-source.</li><li>Easy to integrate into our existing <a href="https://www.securetech.com.au/projects/opensource/yts-backup-script.html">backup scripts</a>. </li></ul>



<p>A quick search showed up nothing. We decided to expand the above mentioned script functionality to include what we require. Provided below is the important parts of the script:</p>



<pre class="wp-block-code"><code>:: allows for skipping of particular databases
set SkipThis=0
for /d %%f in (*) do (
    set /A Counterf=!Counterf!+1
    :: remove echo here if you like
    echo processing folder "%%f"
    pushd "%~dp0"
        set Countera=0
        for %%a in (*.exclude) do (
            rem increment the counter, so we know how many files we have read.
            set /A Countera=!Countera!+1
            if %Debug% == 1 echo DEBUG - Exclude file found: "%%~na"
            if %%a == %%f.exclude set SkipThis=1
            if !SkipThis! == 1 if %Debug% == 1 echo DEBUG - Skipping Backup of "%%f"
            )
        If %Debug% == 1 echo DEBUG - !Countera! exclude files checked
    popd

    if !SkipThis! == 0 %mysqldump% --host="localhost" --user=%dbUser% --password=%dbPassword% --single-transaction --add-drop-table --databases %%f > %backupDir%\%dirName%\%%f.sql
    if !SkipThis! == 0 %zip% a -tzip %backupDir%\%dirName%\%fileSuffix%_%%f.sql.zip %backupDir%\%dirName%\%%f.sql
    if !SkipThis! == 0 set /A Counterb=!Counterb!+1

    :: make sure to set this back to normal, so we don't skip the next DB backup as well
    set SkipThis=0
)
echo DONE - !Counterf! DBs found, !Counterb! DBs backed up
</code></pre>



<p>We then just need to create some blank files with &#8220;<em>.exclude</em>&#8221; extension. The &#8220;<em>.exclude</em>&#8221; files have the same name as the DB to exclude. Example such as &#8220;<em>sys.exclude</em>&#8221; will exclude the &#8220;<em>sys</em>&#8221; DB from backups</p>



<p>Licensing is as usual, this script is <a href="https://www.securetech.com.au/projects/opensource">Open Source</a> and we provide a download for your easy of use.</p>



<h2 class="wp-block-heading">Troubleshooting</h2>



<ol class="wp-block-list"><li>If backups are not created, check all your location variables are set correctly</li></ol>



<h2 class="wp-block-heading">How to Use</h2>



<ol class="wp-block-list"><li>Download the MySQL Backup Script and extract into a suitable location.</li><li>Open up &#8220;<em>MySQLBackup.bat</em>&#8221; in <a href="https://notepad-plus-plus.org/download/all-versions.html">notepad++</a> (or similar).</li><li>You will need to change the dbUser, dbPassword, backupDir, mysqldump, mysqlDataDir and zip file/app locations on lines 4-9.</li><li>Save the file and run (you can open a command prompt by typing cmd into the title bar of explorer)</li><li>This script will now be executable. Go to your command prompt and run this to backup your databases.</li><li>If backups are not created, check all your location variables are set correctly</li></ol>


<p><!--EndFragment--></p>


<p>Next time you need to Backup MySQL on windows 10 for free, use this script to make it easy</p>
<p>The post <a href="https://jim.dolby.id.au/projects/opensource/backup-mysql-databases-on-windows-10.html">Backup MYSQL databases on Windows 10 free Script</a> appeared first on <a href="https://jim.dolby.id.au">Jim Dolby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">106</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: jim.dolby.id.au @ 2026-04-19 21:37:57 by W3 Total Cache
-->