<?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>JJClements.co.uk &#187; dun</title>
	<atom:link href="http://www.jjclements.co.uk/tag/dun/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jjclements.co.uk</link>
	<description>Clem&#039;s Technical Blog</description>
	<lastBuildDate>Tue, 15 Nov 2011 00:16:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Regkey to disable XP dial-up connection logon</title>
		<link>http://www.jjclements.co.uk/2008/08/22/regkey-to-disable-xp-dial-up-connection-logon/</link>
		<comments>http://www.jjclements.co.uk/2008/08/22/regkey-to-disable-xp-dial-up-connection-logon/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 11:34:47 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[dun]]></category>
		<category><![CDATA[logon]]></category>
		<category><![CDATA[msgina]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=74</guid>
		<description><![CDATA[Here is a registry key I run from a startup script to disable the option that allows users to invoke a "Log on using dial-up connection". Having had experience of working in a school I know how kids will use any excuse to distract them from logging onto a computer and starting the lesson! Here [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a registry key I run from a startup script to disable the option that allows users to invoke a "Log on using dial-up connection". Having had experience of working in a school I know how kids will use any excuse to distract them from logging onto a computer and starting the lesson!</p>
<p><span id="more-74"></span></p>
<p>Here is the logon screen before the registry key has been added:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2008/08/beforedunregkey.png" alt="beforedunregkey.png" /></p>
<p>Here is what happens if a user selects the "Log on using dial-up connection" checkbox before logging on:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2008/08/duringdunlogon.png" alt="duringdunlogon.png" /></p>
<p>Setting the following registry key will disable the checkbox, disabling all users from using the dial-up connection feature:</p>
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</p>
<p>you will need to manually create a new string value (REG_SZ) called RasDisable. Set the value's data to 1.</p>
<p>Here is the final result:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2008/08/afterdunregkey.png" alt="afterdunregkey.png" /></p>
<p>And finally here is what I wrote to add the regkey to all computers using a <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> startup script through Group Policy:</p>
<p>;===============================================<br />
;===============================================<br />
;<br />
;       DISABLE LOGON USING DIAL-UP CONNECTION<br />
;<br />
;===============================================<br />
;===============================================</p>
<p>IF READVALUE("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "RasDisable") <>"1"<br />
	WRITEVALUE("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "RasDisable", "1", "REG_SZ")<br />
ENDIF</p>
<p>NOTE: I've noticed that the quote marks are not displayed properly on this page. Here is the <a href="http://www.kixtart.org" target="_blank" rel="nofollow">KiXtart</a> script in its intended form:</p>
<p><a href="http://www.jjclements.co.uk/wp-content/uploads/2008/08/kixtart-disable-logon-dun.txt" target="_blank" rel="nofollow">Download Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/08/22/regkey-to-disable-xp-dial-up-connection-logon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

