<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>CCIE #7742 Techblog</title>
	<atom:link href="http://johnmcmanus7742.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnmcmanus7742.wordpress.com</link>
	<description>CCIE Techbolg, about technical issues, thoughts that come to mind</description>
	<lastBuildDate>Sun, 09 Oct 2011 19:00:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='johnmcmanus7742.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>CCIE #7742 Techblog</title>
		<link>http://johnmcmanus7742.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://johnmcmanus7742.wordpress.com/osd.xml" title="CCIE #7742 Techblog" />
	<atom:link rel='hub' href='http://johnmcmanus7742.wordpress.com/?pushpress=hub'/>
		<item>
		<title>First Post</title>
		<link>http://johnmcmanus7742.wordpress.com/2011/03/26/first-post/</link>
		<comments>http://johnmcmanus7742.wordpress.com/2011/03/26/first-post/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 20:23:59 +0000</pubDate>
		<dc:creator>John McManus</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://networking-guru.net/?p=17</guid>
		<description><![CDATA[Hi Everyone, After the enjoyment I got out of blogging over at Etherealmind.com I decided that I would step out a little bit and give my own web presence. Networking-Guru is not new, I had Networking Guru up and running in 2004, but never really knew what to do with it, so I just let [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmcmanus7742.wordpress.com&amp;blog=5855472&amp;post=24&amp;subd=johnmcmanus7742&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmcmanus7742.wordpress.com/2011/03/26/first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/122d0cf2ed48d1f543951154a0286d05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnmcmanus7742</media:title>
		</media:content>
	</item>
		<item>
		<title>Clone Active Directory User</title>
		<link>http://johnmcmanus7742.wordpress.com/2009/03/04/clone-active-directory-user/</link>
		<comments>http://johnmcmanus7742.wordpress.com/2009/03/04/clone-active-directory-user/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 12:07:21 +0000</pubDate>
		<dc:creator>John McManus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://johnmcmanus7742.wordpress.com/?p=13</guid>
		<description><![CDATA[In Active Directory it is possible to copy users using the Active Directory Users and Computers MMC. Based on this process we have the ability to setup template user accounts with the proper group membership, profile setting. There are many additional attributes that do not get copied across with this process.

Many customers maps users home drives during the logon script, and therefore this is not stored with the account information and cannot be copied during the copy user process.

Copying users in Active Directory does not present the administrator with pre-populated options following internal standards, instead the full name, description fields are completed at the administrator discretion, this flaw in the process does not help in anyway to encourage standard.

These limitations have driven many customers to create a process to fill the gaps in this default method, and encourage standard at the same time.

One option which was considered before writing the clone user script was to modified which attributes are copied using ADSI edit as specified in Microsoft KB article:

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/entserver/DSAdminCopyUser.asp .

However this would not address the issues of home directory creation or encourage standards.

 

Script Summary
“CloneUser.vbs” is visual basic script developed on a Windows 2003 platform. The script has been tested on Windows 2003 servers, but will run from Windows XP clients and the Windows 2000 platform. The code uses standard LDAP and ADSI calls, the only exception is calls to mailbox properties which are only available if exchange extensions for Active Directory Users and Computer are installed on the computer where the script is being executed. The script makes use of the external program “CACLS.EXE” which is a standard operating system command on Windows 2000, Windows XP and Windows 2003.

 

The script can be run cscript CloneUser.vbs without any parameters.

Domain Controller: The code will then locate a local Domain Controller, otherwise a domain controller at random will be selected for use throughout the code to read and write information from the Active Directory.

TemplateSearch : The code will make a default search based on the Active Directory site the client is a member of. “zz_template*” 

Both these parameters can be specified on the command line if desired.

<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmcmanus7742.wordpress.com&amp;blog=5855472&amp;post=13&amp;subd=johnmcmanus7742&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmcmanus7742.wordpress.com/2009/03/04/clone-active-directory-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/122d0cf2ed48d1f543951154a0286d05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnmcmanus7742</media:title>
		</media:content>
	</item>
		<item>
		<title>Connect to the nearest printer</title>
		<link>http://johnmcmanus7742.wordpress.com/2009/03/04/connect-to-the-nearest-printer/</link>
		<comments>http://johnmcmanus7742.wordpress.com/2009/03/04/connect-to-the-nearest-printer/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 11:22:39 +0000</pubDate>
		<dc:creator>John McManus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://johnmcmanus7742.wordpress.com/?p=8</guid>
		<description><![CDATA[again some old code I have written that need airing. Have you ever wanted to have users automatically connect to the printer nearest the workstation they are logging into. We here is how it is done. Create a printer queue(daqueue) on printserver (pserver) Create a global group prt_daqueue_pserver Add the workstation accounts which are closest to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmcmanus7742.wordpress.com&amp;blog=5855472&amp;post=8&amp;subd=johnmcmanus7742&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmcmanus7742.wordpress.com/2009/03/04/connect-to-the-nearest-printer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/122d0cf2ed48d1f543951154a0286d05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnmcmanus7742</media:title>
		</media:content>
	</item>
		<item>
		<title>Set Nearest ISA Server</title>
		<link>http://johnmcmanus7742.wordpress.com/2009/03/04/set-nearest-isa-server/</link>
		<comments>http://johnmcmanus7742.wordpress.com/2009/03/04/set-nearest-isa-server/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 11:00:56 +0000</pubDate>
		<dc:creator>John McManus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ISA Server]]></category>

		<guid isPermaLink="false">http://johnmcmanus7742.wordpress.com/2009/03/04/set-nearest-isa-server/</guid>
		<description><![CDATA[I wrote this years ago but I removed my old web site so it was no longer available. although is it based on ISA 2004 I am sure it can be easily update to the more recent versions.   I use a cmd file to call the vbscript and put all files in the &#8220;c:\Program [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmcmanus7742.wordpress.com&amp;blog=5855472&amp;post=5&amp;subd=johnmcmanus7742&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmcmanus7742.wordpress.com/2009/03/04/set-nearest-isa-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/122d0cf2ed48d1f543951154a0286d05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnmcmanus7742</media:title>
		</media:content>
	</item>
		<item>
		<title>Calculate Full Mesh</title>
		<link>http://johnmcmanus7742.wordpress.com/2009/01/22/calculate-full-mesh/</link>
		<comments>http://johnmcmanus7742.wordpress.com/2009/01/22/calculate-full-mesh/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 11:15:07 +0000</pubDate>
		<dc:creator>John McManus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://johnmcmanus7742.wordpress.com/2009/01/22/calculate-full-mesh/</guid>
		<description><![CDATA[To workout how many point to point connections are required to create a full mesh network e.g. in Frame Relay. Then use the following formula n=nodes. Point to Point connections = n x (n-1)/2 so for a 5 node network 5&#215;4=20 divided by 2 = 10<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmcmanus7742.wordpress.com&amp;blog=5855472&amp;post=4&amp;subd=johnmcmanus7742&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmcmanus7742.wordpress.com/2009/01/22/calculate-full-mesh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/122d0cf2ed48d1f543951154a0286d05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnmcmanus7742</media:title>
		</media:content>
	</item>
		<item>
		<title>Duplexing Still Causing Issues?</title>
		<link>http://johnmcmanus7742.wordpress.com/2008/12/15/duplexing-still-causing-issues/</link>
		<comments>http://johnmcmanus7742.wordpress.com/2008/12/15/duplexing-still-causing-issues/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 09:10:21 +0000</pubDate>
		<dc:creator>John McManus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[duplex]]></category>

		<guid isPermaLink="false">http://johnmcmanus7742.wordpress.com/2008/12/15/duplexing-still-causing-issues/</guid>
		<description><![CDATA[Recently I came across an issue on a customer location where the connection between the router and the switch had a duplexing mismatch. One side was configured as 100 Full and the other end was Auto/Auto. As a result the Auto/Auto auto configured for 100/Half. Now this location had been running for months without issue, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmcmanus7742.wordpress.com&amp;blog=5855472&amp;post=3&amp;subd=johnmcmanus7742&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmcmanus7742.wordpress.com/2008/12/15/duplexing-still-causing-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/122d0cf2ed48d1f543951154a0286d05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnmcmanus7742</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting to the nearest printer.</title>
		<link>http://johnmcmanus7742.wordpress.com/2006/03/30/connecting-to-the-nearest-printer/</link>
		<comments>http://johnmcmanus7742.wordpress.com/2006/03/30/connecting-to-the-nearest-printer/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 23:28:51 +0000</pubDate>
		<dc:creator>John McManus</dc:creator>
				<category><![CDATA[Old]]></category>

		<guid isPermaLink="false">http://networking-guru.net/?p=73</guid>
		<description><![CDATA[Have you ever wanted to have users automatically connect to the printer nearest the workstation they are logging into. We here is how it is done. Create a printer queue(daqueue) on printserver (pserver) Create a global group prt_daqueue_pserver Add the workstation accounts which are closest to the printer (daqueue). Now use the following sub in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmcmanus7742.wordpress.com&amp;blog=5855472&amp;post=73&amp;subd=johnmcmanus7742&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmcmanus7742.wordpress.com/2006/03/30/connecting-to-the-nearest-printer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/122d0cf2ed48d1f543951154a0286d05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnmcmanus7742</media:title>
		</media:content>
	</item>
	</channel>
</rss>
