<?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>Take A Byte &#187; Scripts</title>
	<atom:link href="http://www.takeabyte.com.au/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.takeabyte.com.au</link>
	<description>Helping the IT Crowd</description>
	<lastBuildDate>Fri, 17 Jul 2009 10:43:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Script to make USB Mass Storage read only</title>
		<link>http://www.takeabyte.com.au/2008/03/script-to-make-usb-mass-storage-read-only/</link>
		<comments>http://www.takeabyte.com.au/2008/03/script-to-make-usb-mass-storage-read-only/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 11:24:55 +0000</pubDate>
		<dc:creator>John Tran</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.takeabyte.com.au/2008/03/script-to-make-usb-mass-storage-read-only/</guid>
		<description><![CDATA[The following script gives users read only access to USB Mass Storage devices. This is handy if you want to prevent users from copying data to any USB Storage device.
Set WshShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;)
WshShell. RegWrite &#8220;HKLM\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\&#8221;, &#8220;0&#8243;, &#8220;REG_DWORD&#8221;
WshShell. RegWrite &#8220;HKLM\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\WriteProtect&#8221;, &#8220;1&#8243;, &#8220;REG_DWORD&#8221;
WScript.Quit &#8216; Tells the script to stop and exit.
You will need to save this as [...]]]></description>
			<content:encoded><![CDATA[<p>The following script gives users read only access to USB Mass Storage devices. This is handy if you want to prevent users from copying data to any USB Storage device.</p>
<p><em>Set WshShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;)</em></p>
<p>WshShell. RegWrite &#8220;HKLM\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\&#8221;, &#8220;0&#8243;, &#8220;REG_DWORD&#8221;<br />
WshShell. RegWrite &#8220;HKLM\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\WriteProtect&#8221;, &#8220;1&#8243;, &#8220;REG_DWORD&#8221;</p>
<p><em>WScript.Quit &#8216; Tells the script to stop and exit.</em></p>
<p>You will need to save this as a .vbs file and then add it to the startup script in GPO.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.takeabyte.com.au/2008/03/script-to-make-usb-mass-storage-read-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
