<?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>[Deploy_Windows (TRUE)] &#187; VBScript</title>
	<atom:link href="http://deploywindows.net/archives/category/scripts/scripts-vbscript/feed" rel="self" type="application/rss+xml" />
	<link>http://deploywindows.net</link>
	<description>Deployment Skills .&#62; Delivered</description>
	<lastBuildDate>Mon, 06 Sep 2010 07:16:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>XP: Remove unwanted icons from the Start Menu</title>
		<link>http://deploywindows.net/archives/252</link>
		<comments>http://deploywindows.net/archives/252#comments</comments>
		<pubDate>Fri, 07 Aug 2009 10:04:06 +0000</pubDate>
		<dc:creator>Lars Krogh</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Unattended Windows XP]]></category>

		<guid isPermaLink="false">http://deploywindows.net/?p=252</guid>
		<description><![CDATA[I install Windows XP in English and 2 other languages &#8211; Danish and German. I use this script to remove unwanted icons from the Start Menu. zCFG-DelStartMenuLnk.vbs &#8212;code&#8212; &#8216; Lars Krogh &#8217;09 Set shell = CreateObject(&#8220;WScript.Shell&#8221;) Set fso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;) path = shell.SpecialFolders(&#8220;AllUsersStartMenu&#8221;) &#38; &#8220;\Angiv programadgang og -standarder.lnk&#8221; If fso.FileExists(path) then fso.DeleteFile path, 1 End If [...]]]></description>
			<content:encoded><![CDATA[<p>I install Windows XP in English and 2 other languages &#8211; Danish and German.</p>
<p><img class="alignnone" title="LTI Windows XP Task sequences" src="http://deploywindows.net/wp-files/png/LTIXPTasks.png" alt="" width="270" height="57" /></p>
<p>I use this script to remove unwanted icons from the Start Menu.</p>
<p><img class="alignnone" title="Del StartMenu Icons" src="http://deploywindows.net/wp-files/png/DelStartMenu.png" alt="" width="232" height="259" /></p>
<p>zCFG-DelStartMenuLnk.vbs</p>
<p>&#8212;code&#8212;</p>
<p>&#8216; Lars Krogh &#8217;09</p>
<p>Set shell = CreateObject(&#8220;WScript.Shell&#8221;)<br />
Set fso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</p>
<p>path = shell.SpecialFolders(&#8220;AllUsersStartMenu&#8221;) &amp; &#8220;\Angiv programadgang og -standarder.lnk&#8221;<br />
If fso.FileExists(path) then<br />
fso.DeleteFile path, 1<br />
End If</p>
<p>path = shell.SpecialFolders(&#8220;AllUsersStartMenu&#8221;) &amp; &#8220;\Programmzugriff und -standards.lnk&#8221;<br />
If fso.FileExists(path) then<br />
fso.DeleteFile path, 1<br />
End If</p>
<p>path = shell.SpecialFolders(&#8220;AllUsersStartMenu&#8221;) &amp; &#8220;\Set Program Access and Defaults.lnk&#8221;<br />
If fso.FileExists(path) then<br />
fso.DeleteFile path, 1<br />
End If</p>
<p>path = shell.SpecialFolders(&#8220;AllUsersStartMenu&#8221;) &amp; &#8220;\Windows Catalog.lnk&#8221;<br />
If fso.FileExists(path) then<br />
fso.DeleteFile path, 1<br />
End If</p>
<p>path = shell.SpecialFolders(&#8220;AllUsersStartMenu&#8221;) &amp; &#8220;\Windows-Katalog.lnk&#8221;<br />
If fso.FileExists(path) then<br />
fso.DeleteFile path, 1<br />
End If</p>
<p>path = shell.SpecialFolders(&#8220;AllUsersStartMenu&#8221;) &amp; &#8220;\Windows Update.lnk&#8221;<br />
If fso.FileExists(path) then<br />
fso.DeleteFile path, 1<br />
End If</p>
<p>&#8212;code&#8212;</p>
<p>I only use it when building the base images.</p>
]]></content:encoded>
			<wfw:commentRss>http://deploywindows.net/archives/252/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scripting: Lock WorkStation shortcut</title>
		<link>http://deploywindows.net/archives/129</link>
		<comments>http://deploywindows.net/archives/129#comments</comments>
		<pubDate>Wed, 05 Aug 2009 07:43:57 +0000</pubDate>
		<dc:creator>Lars Krogh</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[VBS]]></category>

		<guid isPermaLink="false">http://deploywindows.net/?p=129</guid>
		<description><![CDATA[I always create a shortcut on the Desktop, that can lock the Workstation. It&#8217;s great when users are in a hurry and needs to lock their Workstation quickly. zCFG-UrlShortCuts.vbs &#8212;code&#8212; &#8216; Lars Krogh &#8217;09 Option Explicit Dim WshShell Dim DesktopFolder Dim UrlShortCut Set WshShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;) CreateUrlShortCut1() WScript.Quit() Sub CreateUrlShortCut1() DesktopFolder = WshShell.SpecialFolders(&#8220;AllUsersDesktop&#8221;) Set UrlShortCut [...]]]></description>
			<content:encoded><![CDATA[<p>I always create a shortcut on the Desktop, that can lock the Workstation.</p>
<p>It&#8217;s great when users are in a hurry and needs to lock their Workstation quickly.</p>
<p>zCFG-UrlShortCuts.vbs</p>
<p>&#8212;code&#8212;</p>
<p>&#8216; Lars Krogh &#8217;09</p>
<p>Option Explicit</p>
<p>Dim WshShell<br />
Dim DesktopFolder<br />
Dim UrlShortCut<br />
Set WshShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;)</p>
<p>CreateUrlShortCut1()<br />
WScript.Quit()</p>
<p>Sub CreateUrlShortCut1()<br />
DesktopFolder = WshShell.SpecialFolders(&#8220;AllUsersDesktop&#8221;)<br />
Set UrlShortCut = WshShell.CreateShortcut(desktopFolder + &#8220;\Lock Workstation.lnk&#8221;)<br />
UrlShortcut.Description = &#8220;Lock Workstation&#8221;<br />
UrlShortcut.HotKey = &#8220;&#8221;<br />
UrlShortcut.IconLocation = &#8220;%SystemRoot%\system32\SHELL32.dll,47&#8243;<br />
UrlShortcut.TargetPath = &#8220;%SystemRoot%\system32\rundll32.exe&#8221;<br />
UrlShortcut.Arguments = &#8220;user32.dll, LockWorkStation&#8221;<br />
UrlShortcut.WindowStyle = 3<br />
UrlShortcut.Save<br />
end Sub</p>
<p>&#8212;code&#8212;</p>
<p>This is how is looks:</p>
<p><img title="Lock Workstation" src="http://deploywindows.net/wp-files/png/LockWorkstation.png" alt="" width="61" height="79" /></p>
]]></content:encoded>
			<wfw:commentRss>http://deploywindows.net/archives/129/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
