<?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>Wayne Zimmerman&#039;s Blog &#187; Startup</title>
	<atom:link href="http://www.waynezim.com/tag/startup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.waynezim.com</link>
	<description>My World of Tech, Life and Anything Else</description>
	<lastBuildDate>Thu, 11 Mar 2010 05:02:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Disable Windows Games Using Software Restriction Policy</title>
		<link>http://www.waynezim.com/2009/05/disable-windows-games-using-software-restriction-policy/</link>
		<comments>http://www.waynezim.com/2009/05/disable-windows-games-using-software-restriction-policy/#comments</comments>
		<pubDate>Wed, 06 May 2009 13:15:27 +0000</pubDate>
		<dc:creator>Wayne Zimmerman</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Software Restriction Policy]]></category>
		<category><![CDATA[Startup]]></category>
		<category><![CDATA[Windows Games]]></category>

		<guid isPermaLink="false">http://www.waynezim.com/?p=107</guid>
		<description><![CDATA[Do you find that your users spend more time in freecell and minesweeper than actually doing work? Then one would say that it is time to block those applications from being started. To do this you can use the Software Restriction Policy that is Built in to Group Policy and your Domain. What you will [...]]]></description>
			<content:encoded><![CDATA[<p>Do you find that your users spend more time in freecell and minesweeper than actually doing work? Then one would say that it is time to block those applications from being started. To do this you can use the Software Restriction Policy that is Built in to Group Policy and your Domain. What you will need to do is create a new Group Policy, you could call it &#8220;No Windows Games&#8221; and then Edit it and drill down into <em>Computer Configuration > Windows Settings > Security Settings > Software Restriction Policies</em> from there you will probably be presented with &#8220;No Software Restriction Policies Defined&#8221; now right click back on Software Restriction Polices in the tree view on the left and select <em>Create New Policies</em>. Now you should have the option for <em>Additional Rules</em>. This is where you need your restrictions. <a href="http://technet.microsoft.com/en-us/library/bb457006.aspx">Here</a> is the long article about what the different types of rules are, and what you can do with the from Microsoft, but since we just want to block Windows Games we just need to add a <strong>New Path Rules</strong> with the <b>Disallowed</b> option.
<ul>
<li>%SystemRoot%\system32\freecell.exe</li>
<li>%SystemRoot%\system32\mshearts.exe</li>
<li>%SystemRoot%\system32\sol.exe</li>
<li>%SystemRoot%\system32\spider.exe</li>
<li>%SystemRoot%\system32\winmine.exe</li>
<li>C:\Program Files\MSN Gaming Zone</li>
<li>C:\Program Files\Windows NT\Pinball\PINBALL.EXE</li>
</ul>
<p>Once these restriction are in place you can link them to the OU or workstations to make them take effect. Your end result should look something like this:<br />
<a href="http://www.waynezim.com/wp-content/uploads/2009/05/no-windows-games-group-policy.png"><img src="http://www.waynezim.com/wp-content/uploads/2009/05/no-windows-games-group-policy-299x110.png" alt="No Windows Games Group Policy" title="No Windows Games Group Policy" width="299" height="110" class="aligncenter size-medium wp-image-108" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.waynezim.com/2009/05/disable-windows-games-using-software-restriction-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passing Parameters to VB Script to Map Network Drives</title>
		<link>http://www.waynezim.com/2009/05/passing-parameters-to-vb-script-to-map-network-drives/</link>
		<comments>http://www.waynezim.com/2009/05/passing-parameters-to-vb-script-to-map-network-drives/#comments</comments>
		<pubDate>Tue, 05 May 2009 01:39:56 +0000</pubDate>
		<dc:creator>Wayne Zimmerman</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Logon]]></category>
		<category><![CDATA[map drives]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Startup]]></category>

		<guid isPermaLink="false">http://www.waynezim.com/?p=61</guid>
		<description><![CDATA[The other day I got an instant message from a fellow network administrator asking for a script that would map drives to by simply passing parameters from command line. This caused me to go into Google mode checking how parameters are passed in to Visual Basic Script and then applying the basic network drive mapping [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I got an instant message from a fellow network administrator asking for a script that would map drives to by simply passing parameters from command line. This caused me to go into Google mode checking how parameters are passed in to Visual Basic Script and then applying the basic network drive mapping script. Now I feel that only the proper thing to do is share it with everyone out there that is looking for the same thing he was. This is a very simple script that does something equally simple. Hopefully this will simply some of the group policies that are out there.
<p>Usage: mapme.vbs Z //server/share<br />This would result in passing Z as the drive letter and mapping it to the UNC path of //server/share</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.waynezim.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=61&amp;download=mapme.vbs">mapme.vbs</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p612"><td class="code" id="p61code2"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Set</span> objArgs = WScript.Arguments
<span style="color: #000080;">Set</span> objNetwork = WScript.CreateObject(<span style="color: #800000;">&quot;WScript.Network&quot;</span>)
objNetwork.MapNetworkDrive  objArgs(0) &amp; <span style="color: #800000;">&quot;:&quot;</span> , objArgs(1)</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.waynezim.com/2009/05/passing-parameters-to-vb-script-to-map-network-drives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allow Users on Domain to Control Power Settings</title>
		<link>http://www.waynezim.com/2009/04/allow-users-on-domain-to-control-power-settings/</link>
		<comments>http://www.waynezim.com/2009/04/allow-users-on-domain-to-control-power-settings/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 15:55:07 +0000</pubDate>
		<dc:creator>Wayne Zimmerman</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[regexe.ini]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Startup]]></category>

		<guid isPermaLink="false">http://www.waynezim.com/?p=20</guid>
		<description><![CDATA[In some domain environments you need to allow some control back to the users where they can manage it best. A perfect example of this is Power Settings, by default a normal domain user does not have the rights to control the power settings on the PC. This can lead to the computer turning off [...]]]></description>
			<content:encoded><![CDATA[<p>In some domain environments you need to allow some control back to the users where they can manage it best. A perfect example of this is Power Settings, by default a normal domain user does not have the rights to control the power settings on the PC. This can lead to the computer turning off the monitor or going to standby at inopportune times. A way to solve this problem is by modifying the registry so any user authenticated / interactive user can modify these settings. To do this you need to use the regini.exe, it allows you to modify permissions in the registry from command line. Basically anything under registry key: (HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\) need to be given permissions to be modify by the user. Below I have included some code that needs to be placed in a text file for parameters to pass to regini.exe during workstation start up.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://www.waynezim.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=20&amp;download=allowpowerconfig.txt">allowpowerconfig.txt</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p204"><td class="code" id="p20code4"><pre class="text" style="font-family:monospace;">HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\GlobalPowerPolicy [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies\0 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies\1 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies\2 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies\3 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies\4 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies\5 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\ProcessorPolicies [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\ProcessorPolicies\0 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\ProcessorPolicies\1 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\ProcessorPolicies\2 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\ProcessorPolicies\3 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\ProcessorPolicies\4 [1 5 7 11 17 21]
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\ProcessorPolicies\5 [1 5 7 11 17 21]</pre></td></tr></table></div>

<p>Once you have this file made save it Machine Startup Scripts directory for Group Policy. Then add the following entry to the Group Policy (shown below) and the users should now be able to modify their computers power settings.<br /><div id="attachment_21" class="wp-caption alignnone" style="width: 394px"><img src="http://www.waynezim.com/wp-content/uploads/2009/04/regini-gp.gif" alt="Regini.exe with Parameter" title="regini-gp" width="384" height="195" class="size-full wp-image-21" /><p class="wp-caption-text">Regini.exe with Parameter</p></div><br />For more detail on parameters or what exactly regini.exe can do for you hop on over to <a href="http://support.microsoft.com/kb/237607">Microsoft KB 237607</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.waynezim.com/2009/04/allow-users-on-domain-to-control-power-settings/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
