<?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>Arquivos script desabilitar usb - Remontti</title>
	<atom:link href="https://blog.remontti.com.br/tag/script-desabilitar-usb/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.remontti.com.br/tag/script-desabilitar-usb</link>
	<description>rudimar@remontti</description>
	<lastBuildDate>Wed, 10 Jun 2009 01:56:53 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.remontti.com.br/wp-content/uploads/2024/09/icone-rr-80x80.png</url>
	<title>Arquivos script desabilitar usb - Remontti</title>
	<link>https://blog.remontti.com.br/tag/script-desabilitar-usb</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Sever 2003/2008: Script para Desabilitar USB</title>
		<link>https://blog.remontti.com.br/343</link>
					<comments>https://blog.remontti.com.br/343#comments</comments>
		
		<dc:creator><![CDATA[Rudimar Remontti]]></dc:creator>
		<pubDate>Wed, 10 Jun 2009 01:49:55 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[script desabilitar usb]]></category>
		<guid isPermaLink="false">http://www.remontti.com.br/blog/?p=343</guid>

					<description><![CDATA[<p>Script para Desabilitar e Habilitar USB via GPO no Windows Server 2003 ou Server 2008.</p>
<p>O post <a href="https://blog.remontti.com.br/343">Sever 2003/2008: Script para Desabilitar USB</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>É isso ai então, no script em <span style="color: #ff0000;">vermelho</span> <strong>Desabilitamos</strong> a USB e no <span style="color: #0000ff;">Azul</span> <strong>Habilitamos</strong> a USB:</p>
<p><span style="color: #ff0000;">Dim WSHShell<br />
Set WSHShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;)</span></p>
<p><span style="color: #ff0000;">WSHShell.RegWrite &#8220;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR\Start&#8221;,4 ,&#8221;REG_DWORD&#8221;</span></p>
<p><span style="color: #ff0000;"><span id="more-343"></span><br />
Set WSHShell = nothing</span></p>
<p><span style="color: #0000ff;">Dim WSHShell<br />
Set WSHShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;)</span></p>
<p><span style="color: #0000ff;">WSHShell.RegWrite &#8220;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR\Start&#8221;,3 ,&#8221;REG_DWORD&#8221;</span></p>
<p><span style="color: #0000ff;"><br />
Set WSHShell = nothing</span><br />
<span style="color: #000000;">Dai é só copiar o script para o Notepad, salvar em .vbs e criar a GPO para executar da forma que você achar melhor.<br />
Só tome cuidado pra não mudar uma <span style="color: #333300;"><strong>,</strong></span> no script quando envolve o Registry do Windows, tu pode no futuro ter que secar lágrimas.<br />
</span></p>
<p>O post <a href="https://blog.remontti.com.br/343">Sever 2003/2008: Script para Desabilitar USB</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.remontti.com.br/343/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
