<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Script on Anything About IT</title><link>https://www.verboon.info/tags/script/</link><description>Recent content in Script on Anything About IT</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 28 May 2012 22:09:35 +0000</lastBuildDate><atom:link href="https://www.verboon.info/tags/script/index.xml" rel="self" type="application/rss+xml"/><item><title>Windows 8 &amp;ndash; Script for customizing WinPE 4.0 &amp;ndash; Part 2 - Customizing the Wallpaper</title><link>https://www.verboon.info/2012/05/windows-8-script-for-customizing-winpe-4-0-part-2-customizing-the-wallpaper/</link><pubDate>Mon, 28 May 2012 22:09:35 +0000</pubDate><guid>https://www.verboon.info/2012/05/windows-8-script-for-customizing-winpe-4-0-part-2-customizing-the-wallpaper/</guid><description>&lt;p&gt;As a follow up on my earlier post &lt;a href="https://www.verboon.info/index.php/2012/03/windows-8-script-for-customizing-winpe-4-0-part-1/"&gt;Windows 8 – Script for customizing WinPE 4.0 – Part 1&lt;/a&gt; I want to share with you how to customize the WinPE wallpaper. Credits go to blog reader “Max” who responded on a question from reader Carl H.&lt;/p&gt;
&lt;p&gt;In WinPE 4.0 the wallpaper is not called winpe.bmp as in previous versions of WinPE but winpe.jpg. Also the winpe.jpg has special permissions so overwriting the file would require changing them. An easier approach is to add your custom WinPE wallpaper file to the WinPE sources and change the appropriate registry value in WinPE.&lt;/p&gt;</description></item><item><title>Windows 8 &amp;ndash; Script for customizing WinPE 4.0 &amp;ndash; Part 1</title><link>https://www.verboon.info/2012/03/windows-8-script-for-customizing-winpe-4-0-part-1/</link><pubDate>Mon, 12 Mar 2012 23:48:55 +0000</pubDate><guid>https://www.verboon.info/2012/03/windows-8-script-for-customizing-winpe-4-0-part-1/</guid><description>&lt;p&gt;Today I want to share with you a small script I’ve put together for customizing WinPE 4.0 that will ship with Windows 8. I’ve rewritten the script based on some existing script code we already use today, but wanted by purpose a small independent script that I can hook in between the standard scripts provided within the ADK sources, mainly for familiarizing myself with anything new within WinPE 4.0.&lt;/p&gt;
&lt;p&gt;When you install the Windows Assessment and Deployment Kit (ADK) on a 64 bit system, you will find the WinPE 4.0 sources stored under C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment.&lt;/p&gt;</description></item><item><title>Retrieve Windows Boot Time Script</title><link>https://www.verboon.info/2011/05/retrieve-windows-boot-time-script/</link><pubDate>Thu, 19 May 2011 00:42:14 +0000</pubDate><guid>https://www.verboon.info/2011/05/retrieve-windows-boot-time-script/</guid><description>&lt;p&gt;Here’s a small batch script to get the Windows 7 Boot time shown in milliseconds.&lt;/p&gt;
&lt;p&gt;@echo off&lt;br&gt;
FOR /F &amp;ldquo;Tokens=4&amp;rdquo; %%a IN (&amp;rsquo;%windir%\system32\wevtutil.exe qe Microsoft-Windows-Diagnostics-Performance/Operational /rd:true /f:Text /c:1 /q:&amp;quot;*[System[(EventID = 100)]]&amp;quot;  /e:Events ^| FIND &amp;ldquo;Duration&amp;rdquo;&amp;rsquo;) DO SET BTIME=%%a &lt;br&gt;
ECHO Boot Time is : %BTIME%&lt;/p&gt;
&lt;p&gt;
 &lt;img src="images/2011-05-19-02h39_00_thumb.png" alt="2011-05-19 02h39_00"&gt;

&lt;/p&gt;
&lt;p&gt;Inspiration for this script came from the article &lt;a href="http://www.windowsitpro.com/article/windows-client/monitor-system-startup-performance-in-windows-7"&gt;Monitor System Startup Performance in Windows 7&lt;/a&gt; written by Sean Wheeler for &lt;a href="http://www.windowsitpro.com/"&gt;WindowsITPro&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Windows XP Mode Deployment Sample Scripts</title><link>https://www.verboon.info/2009/10/windows-xp-mode-deployment-sample-scripts/</link><pubDate>Sat, 24 Oct 2009 14:56:37 +0000</pubDate><guid>https://www.verboon.info/2009/10/windows-xp-mode-deployment-sample-scripts/</guid><description>&lt;p&gt;if you have watched the &lt;a href="https://www.verboon.info/index.php/2009/10/windows-xp-mode-it-pro-deployment-video/"&gt;Windows XP Mode IT Pro Deployment Video&lt;/a&gt;, you might be interested in the scripts they’ve used to automatically install XP Mode and create virtual machines. You can download them from &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=9f142a1a-a7b7-4d0b-bd56-d9627f39c14f"&gt;here&lt;/a&gt;&lt;/p&gt;</description></item><item><title>A site worth mentioning</title><link>https://www.verboon.info/2008/09/a-site-worth-mentioning/</link><pubDate>Sat, 27 Sep 2008 22:17:19 +0000</pubDate><guid>https://www.verboon.info/2008/09/a-site-worth-mentioning/</guid><description>&lt;p&gt;While searching for something I came across the site &lt;a href="http://www.computerperformance.co.uk/index.htm"&gt;computer performance&lt;/a&gt;, why the sites is called like that, i don&amp;rsquo;t know, but it has a lot of interesting content related to windows 2008, vista, scripting etc. so that i find it worth mentioning.&lt;/p&gt;
&lt;p&gt;
 &lt;img src="./images/cpwebsite.png" alt="cpwebsite"&gt;

&lt;/p&gt;</description></item><item><title>Using BITS for file downloads</title><link>https://www.verboon.info/2008/08/using-bits-for-file-downloads/</link><pubDate>Thu, 07 Aug 2008 21:12:01 +0000</pubDate><guid>https://www.verboon.info/2008/08/using-bits-for-file-downloads/</guid><description>&lt;p&gt;Today I have come across the topic BITS which stands for Binary Intelligent Transfer Service which is a file transfer technology that is included in Windows XP, Windows Server 2003 and Windows Vista.&lt;/p&gt;
&lt;p&gt;What is nice about BITS is that it provides Checkpoint recovery and network throttling. This means that when a download is being interrupted because the remote site became temporarily unavailable or you had shut down your client, BITS will automatically resume the download when the remote source becomes available again or when the machine has been powered up again.&lt;/p&gt;</description></item><item><title>Disable System Restore through WMI</title><link>https://www.verboon.info/2008/06/disable-system-restore-through-wmi/</link><pubDate>Mon, 30 Jun 2008 14:16:05 +0000</pubDate><guid>https://www.verboon.info/2008/06/disable-system-restore-through-wmi/</guid><description>&lt;p&gt;If you are sure about what you are doing and you want to speed up the installation of multiple security patches or applications, you can use the following WMI command to disable Windows XP system restore.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-vb" data-lang="vb"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;on&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;error&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;resume&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;next&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;set&lt;/span&gt; sr&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;GetObject(&lt;span style="color:#f1fa8c"&gt;&amp;#34;winmgmts:\\.\root\default:SystemRestore&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;e&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;sr.disable(&lt;span style="color:#f1fa8c"&gt;&amp;#34;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To turn on System Restore again, use the following command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-vb" data-lang="vb"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;on&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;error&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;resume&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;next&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;set&lt;/span&gt; sr&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;GetObject(&lt;span style="color:#f1fa8c"&gt;&amp;#34;winmgmts:\\.\root\default:SystemRestore&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;e&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;sr.enable(&lt;span style="color:#f1fa8c"&gt;&amp;#34;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Scripting XP quicklaunchbar</title><link>https://www.verboon.info/2008/06/scripting-xp-quicklaunchbar/</link><pubDate>Sat, 28 Jun 2008 08:20:27 +0000</pubDate><guid>https://www.verboon.info/2008/06/scripting-xp-quicklaunchbar/</guid><description>&lt;p&gt;I posted this a couple of years ago into the MyITforum site and received plenty of replies on this, as at that stage it was an unknown trick. Below the trick how to enable the Windows XP quicklaunch bar by using a registry hack.&lt;/p&gt;
&lt;p&gt;copy the reg key
&amp;ldquo;HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\Default Taskbar&amp;rdquo;
to:
&amp;ldquo;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\Taskbar&amp;rdquo;
(for XP RTM)
&amp;ldquo;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\TaskbarWinXP&amp;rdquo;
(for XP SP1) (to be safe copy it to both locations)&lt;/p&gt;</description></item></channel></rss>