<?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>www.dambeck.ch</title>
	<atom:link href="http://www.dambeck.ch/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dambeck.ch</link>
	<description>Die andere Seite des Internets</description>
	<lastBuildDate>Sun, 15 Jul 2012 18:07:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Packet Analyzer for ESX Server</title>
		<link>http://www.dambeck.ch/2012/07/15/packet-analyzer-for-esx-server/</link>
		<comments>http://www.dambeck.ch/2012/07/15/packet-analyzer-for-esx-server/#comments</comments>
		<pubDate>Sun, 15 Jul 2012 18:07:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EDV & Admin Stuff]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Packet Analyzer]]></category>
		<category><![CDATA[Promiscuous Mode]]></category>
		<category><![CDATA[vSwich]]></category>
		<category><![CDATA[WireShark]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2012/07/15/packet-analyzer-for-esx-server/</guid>
		<description><![CDATA[Last week I needed to analyze traffic form a Virtual Server hosted on a ESX machine. Normally this job would be a piece of cake if the server has his own NIC. But the way with an “old” hub or with an port mirror (port spanning) do not work with a vSwich (a virtual switch [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I needed to analyze traffic form a Virtual Server hosted on a ESX machine. Normally this job would be a piece of cake if the server has his own NIC. But the way with an “old” hub or with an port mirror (port spanning) do not work with a vSwich (a virtual switch on the ESX server). </p>
<p>In this blog post I will describe how to Analyze the traffic of an virtual windows server <a href="http://www.dambeck.ch/wp-content/uploads/2012/07/Drawing1.gif" class="thickbox"><img style="background-image: none; border-right-width: 0px; margin: 10px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drawing1" border="0" alt="Drawing1" align="left" src="http://www.dambeck.ch/wp-content/uploads/2012/07/Drawing1_thumb.gif" width="139" height="182" /></a>with WireShark (Freeware Packet Analyzer <a title="http://www.wireshark.org/" href="http://www.wireshark.org/">http://www.wireshark.org/</a> ) on an ESX host . On the UML deployment diagram it is the red dependency witch will be monitored.</p>
<p>I use Wire Shark since many years and I find it one of the best Analyzer in the market. Wire shark is also cross platform it runs on Windows, Linux &amp; OSX. I used Ubuntu (<a title="http://www.ubuntu.com/" href="http://www.ubuntu.com/">http://www.ubuntu.com/</a>) as host for the sniffer because its free and easy to use. The sniffing software should <strong><u>never</u></strong> <strong>installed on the productive system!</strong></p>
<p>The Ubuntu VM (Virtual Machine) must be connected to same vSwich as the server you want to monitor.</p>
<p>After you have installed the sniffing machine we need to edit the Virtual switch from the ESX server. The good news is that you don’t have any interruption on any VM. Its totally save to do on a Productive system (it only sets the switch form Layer 2 Mode in Layer 1 Mode on the OSI/ TCP/IP Modell) . Open&#160; vSphere Client and go to the Network Settings of the vSwitch and click on “Properties…”</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2012/07/vSwitch.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="vSwitch" border="0" alt="vSwitch" src="http://www.dambeck.ch/wp-content/uploads/2012/07/vSwitch_thumb.png" width="453" height="193" /></a></p>
<p>Select the vSwitch and click on “edit”.</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2012/07/vSwitch2.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="vSwitch2" border="0" alt="vSwitch2" src="http://www.dambeck.ch/wp-content/uploads/2012/07/vSwitch2_thumb.png" width="317" height="230" /></a></p>
<p>go to the “Security” tab an change the “Promiscuous Mode:” to “Accept”. The default value is Reject like in the screenshot.</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2012/07/vSwitch3.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="vSwitch3" border="0" alt="vSwitch3" src="http://www.dambeck.ch/wp-content/uploads/2012/07/vSwitch3_thumb.png" width="421" height="207" /></a></p>
<p>Now the system is reedy to chapter the network traffic. Like you see in the last screenshot the ICMP Traffic (Ping) to an server in the World Wilde Web.</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2012/07/icmp.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="icmp" border="0" alt="icmp" src="http://www.dambeck.ch/wp-content/uploads/2012/07/icmp_thumb.png" width="518" height="154" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2012/07/15/packet-analyzer-for-esx-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SunRay Terminal unexpected reboot</title>
		<link>http://www.dambeck.ch/2012/04/02/sunray-terminal-unexpected-reboot/</link>
		<comments>http://www.dambeck.ch/2012/04/02/sunray-terminal-unexpected-reboot/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 19:29:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EDV & Admin Stuff]]></category>
		<category><![CDATA[Broken pipe]]></category>
		<category><![CDATA[ID 197738]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SocketException]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[vdi]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2012/04/02/sunray-terminal-unexpected-reboot/</guid>
		<description><![CDATA[For a project we use some SunRay 3 Plus terminal with the Sun Oracle VDI server. After all I only can say this thin client solution rock!!! But in the project time we hade to debug a problem. The problem was some Sun Ray Clients did unexpected reboots every 2 till 5 minutes. And it [...]]]></description>
			<content:encoded><![CDATA[<p>For a project we use some SunRay 3 Plus terminal with the Sun Oracle VDI server. After all I only can say this thin client solution rock!!! But in the project time we hade to debug a problem. The problem was some Sun Ray Clients did unexpected reboots every 2 till 5 minutes. And it comes even stranger, next day the Terminal works without any problem and another terminal reboots. After some vi action we found the following error in the Log of the vdi server.</p>
<p><em>TIME SERVERNAME utauthd: [ID 197738 user.info] Worker5 UNEXPECTED: during send to: java.net.SocketOutputStream@94c924 error=java.net.SocketException: Broken pipe</em></p>
<p>After searching the error in the net, we don’t get any step forward. next thing we did analyze the thin client traffic with wire shark. 30 seconds before the Terminal reboots there are many tcp retransmits on the network.</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2012/04/image.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dambeck.ch/wp-content/uploads/2012/04/image_thumb.png" width="600" height="98" /></a></p>
<p>It was “to milk mousses”* after some searching (x&gt;2 Day’s) we find out that the arp Table on the switch with the SunRay attached flips a mac address.</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2012/04/image1.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dambeck.ch/wp-content/uploads/2012/04/image_thumb1.png" width="396" height="118" /></a>&#160;&#160; </p>
<p>With this additional input it takes 20 seconds and we get the brake trough idea. The problem was a simple IP conflict with a old Printer. So if you ever get this problem don’t waste 3 Day’s of your live.</p>
<p>Regards Konrad</p>
<p>*milk mouse is some German saying for we are working very hard but don’t get any step near the Target.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2012/04/02/sunray-terminal-unexpected-reboot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BlueJ a simple Java IDE</title>
		<link>http://www.dambeck.ch/2011/01/14/bluej-a-simple-java-die/</link>
		<comments>http://www.dambeck.ch/2011/01/14/bluej-a-simple-java-die/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 12:39:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blueJ]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JDK]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2011/01/14/bluej-a-simple-java-die/</guid>
		<description><![CDATA[Did you ever consider learning OOP (Object-oriented programming)? Or maybe you want just writte a little code in Java? But you don’t want build an Enterprise level Project or study 1 Day’s, how to start with a “hello world” Project? If you consider one or more questions with yes, BlueJ may be the solution to [...]]]></description>
			<content:encoded><![CDATA[<p>Did you ever consider learning OOP (Object-oriented programming)? Or maybe you want just writte a little code in Java? But you don’t want build an Enterprise level Project or study 1 Day’s, how to start with a “hello world” Project? If you consider one or more questions with yes, BlueJ may be the solution to you.</p>
<p>  <span id="more-414"></span> BlueJ is an very simple to use Java IDE (integrated development environment). One of the mayor feature is you can crate an Object with few clicks. Also interacting with Object as example call a method can be done with a few kicks. The <a href="http://www.dambeck.ch/wp-content/uploads/2011/01/image.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; margin: 10px 10px 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="left" src="http://www.dambeck.ch/wp-content/uploads/2011/01/image_thumb.png" width="244" height="179" /></a>second side of the coin is BlueJ has no IntelliSense, which can you drive crazy, but its god to learn code sintax for a examination.
<p>I guess the best way to start is tray out. Install the <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">JDK (Java Development Kit)</a> from Oracle (SUN) and <a href="http://www.bluej.org/download/download.html" target="_blank">install BlueJ</a>. It runs under Windows, linux and the famous MAC OS X. If you look for a good book I would recommend Objects First with Java, A Practical Introduction using BlueJ (ISBN-10 0-13-606086-2). As a little kick-starter you can download one of <a href="www.dambeck.ch/downloads/bluejprojekt.zip" target="_blank">my BlueJ Projects</a> . In the Project you find an example of: Casting, for / do / while Loop, use of operators, if / if-else / switch case selection, J unit Test, Java Doc, inheritance, bubble / insertion / selection sort algorithms and many more.</p>
<p>PS: Always Remember: Chuck Norris dont need to catch an Excep­tion because Java is afraid of the “fly­ing tor­nado kick” at the moment it throws <img src='http://www.dambeck.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2011/01/14/bluej-a-simple-java-die/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Expose for Windows</title>
		<link>http://www.dambeck.ch/2010/12/23/expose-for-windows/</link>
		<comments>http://www.dambeck.ch/2010/12/23/expose-for-windows/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 17:10:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[expose]]></category>
		<category><![CDATA[switcher]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2010/12/23/expose-for-windows/</guid>
		<description><![CDATA[In this article i will show you a small tool named “switcher”. Maybe you know the feature expose on mac OS S, Switcher enables this on Windows Vista and Windows 7 Clients. I guess if you install Switcher you never use “alt” &#38; “tab” and “win” &#38; “tab” again. &#160; I use the following settings: [...]]]></description>
			<content:encoded><![CDATA[<p>In this article i will show you a small tool named “switcher”. Maybe you know the feature expose on mac OS S, Switcher enables this on Windows Vista and Windows 7 Clients. I guess if you install Switcher you never use “alt” &amp; “tab” and “win” &amp; “tab” again.</p>
<p>&#160;</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2010/12/image.png" class="thickbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.dambeck.ch/wp-content/uploads/2010/12/image_thumb.png" width="420" height="264" /></a></p>
<p>I use the following settings: </p>
<p>General = Default    <br />Appearance = Default     <br />Windows Style = Default     <br />Filters = Default     <br />Advanced = Default     <br />Shortcuts Keyboard “alt” &amp; “tab” and Shortcuts mouse “mose move at top-left of Monitor 1.</p>
<p>You can download Switcher for free at http://insentient.net/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2010/12/23/expose-for-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bad DNS Server Settings in GPO</title>
		<link>http://www.dambeck.ch/2010/08/22/bad-dns-server-settings-in-gpo-2/</link>
		<comments>http://www.dambeck.ch/2010/08/22/bad-dns-server-settings-in-gpo-2/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 19:00:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EDV & Admin Stuff]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[fix IP]]></category>
		<category><![CDATA[gpo]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2010/08/22/bad-dns-server-settings-in-gpo-2/</guid>
		<description><![CDATA[For a Project I hade change the DNS Server settings on several client computers. All Clients hade fixed IP and DNS Settings on the clients and the customer want not to change to a DHCP. I can understand this approach because fixing the IP of computers can improve network security and awareness. My first approach [...]]]></description>
			<content:encoded><![CDATA[<p>For a Project I hade change the DNS Server settings on several client computers. All Clients hade fixed IP and DNS Settings on the clients and the customer want not to change to a DHCP. I can understand this approach because fixing the IP of computers can improve network security and awareness. My first approach was to look inside the GPO of Windows XP. And after 2 minutes searching look what I fond under: “Computer Configuration – Administrative Templates – Network &#8211; DNS Client – DNS Servers”</p>
<p>“ Defines the DNS servers to which a computer sends queries when it attempts to resolve names.</p>
<p>Warning: The list of the DNS servers defined in this setting supersedes DNS servers configured locally and those configured using DHCP. The list of DNS servers is applied to all network connections of multihomed computers to which this setting is applied.</p>
<p>To use this setting, click Enable, and then enter a space-delimited list of IP addresses (in dotted decimal format) in the available field. If you enable this setting, you must enter at least one IP address.</p>
<p>If this setting is not configured, it is not applied to any computers, and computers use their local or DHCP-configured parameters.”</p>
<p>After reading the description I Thanked this is it. So let me show you first the test environment. We got to server and a Client. The server running Windows 2003 and the client runs XP. The two servers (dc01.planetgeek.ch/ 172.16.111.120 and sql.platnetgeek.ch / 172.16.111.124) have installed DNS servers. The Client has only one DNS configured the dc001.</p>
<p>Setting up the new GPO and link it to the client pc.</p>
<p><b><a href="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image002.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image002_thumb.png" width="244" height="92" /></a></b><b></b></p>
<p><b></b></p>
<p>Now we use the client to review the impact of this GPO setting. First we use the gpresut to look if the GPO was adapted.</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image004.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image004_thumb.png" width="244" height="92" /></a></p>
<p>After we are sure that the GPO was applied I do an “ipconfig /all” to check the DNS settings.</p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image006.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image006_thumb.png" width="244" height="114" /></a></p>
<p>Okay it looks like the DNS setting is not applied. I checked the result several times, rebooted the PC, used netsh to look on the DNS settings and searched for event log entries. Then I tried nslookup on the console. Look on witch DNS server the request goes. </p>
<p><a href="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image008.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://www.dambeck.ch/wp-content/uploads/2010/08/clip_image008_thumb.png" width="244" height="45" /></a></p>
<p>It looks like the network tools (ipconfig, netsh and the tcp/ip Settings gui) from windows XP did not recognize the GPO Setting. I guess if you use this in large company this will end up in a debugging nightmare. Normally I hate this Microsoft bashing, because the Company make good and stable products. But this time the guys from Redmond did a very lousy job.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2010/08/22/bad-dns-server-settings-in-gpo-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad</title>
		<link>http://www.dambeck.ch/2010/07/12/ipad/</link>
		<comments>http://www.dambeck.ch/2010/07/12/ipad/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 15:11:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EDV & Admin Stuff]]></category>
		<category><![CDATA[GBI]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[dropox]]></category>
		<category><![CDATA[funbox]]></category>
		<category><![CDATA[goodreader]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[mosess]]></category>
		<category><![CDATA[pocketCAS]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2010/07/12/ipad/</guid>
		<description><![CDATA[Currently I’m in the refresher course of the swiss armed forces in Andermatt. So I get plenty of time to test my new Apple iPad. I have the 16 GB model without the 3G (UMTS) modem. I decide to buy the cheapest model because I think I don’t need much storage on my web tablet. [...]]]></description>
			<content:encoded><![CDATA[<p>Currently I’m in the refresher course of the swiss armed forces in Andermatt. So I get plenty of <a href="http://www.dambeck.ch/wp-content/uploads/2010/07/charltonhestonMossesiPad.jpg"><img style="border-right-width: 0px; margin: 10px 10px 10px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="charlton-heston-Mosses-iPad" border="0" alt="charlton-heston-Mosses-iPad" align="left" src="http://www.dambeck.ch/wp-content/uploads/2010/07/charltonhestonMossesiPad_thumb.jpg" width="164" height="165" /></a> time to test my new Apple iPad. I have the 16 GB model without the 3G (UMTS) modem. I decide to buy the cheapest model because I think I don’t need much storage on my web tablet. The 3G option was for me secondary because I own a notebook with built in UMTS modem. As a side note you can use the freeware Connectify to switch any pc in to a wlan access point <a href="http://www.connectify.me/">http://www.connectify.me/</a>. Or create a wlan network proxy with an iPhone and the app NetShare (10$) from the Sydia store.</p>
<p>First I will make my coming out as an Apple fan boy. So this article reflects my personal meaning and may not be 100% objective. The physical dimensions of the device are 243mm x 190mm x 13mm. The weight of the iPad is 0,68 kg or 0.73 kg for the 3G model. By the way the 3g models have also an compass and a GPS module. The display is 9.7 inch and has a resolution of 1024×768 (132ppi). The battery live is beyond 10 hours witch is very, very, very impressive. There are only three points witch are semi optimal. The reflecting display is not my favorite option. And if you use the iPad in the Sun in became a little bit hot and shuts himself down. The iBook store of Switzerland only host’s only free book from the Gutenberg project. As you can imagine Nathan the wise from Lessing is note my favorite bed lecture. </p>
<p>My top 5 apps for the iPad are:</p>
<p>FunBox: It is an very simple app. There are 60 buttons each of the buttons play’s a funny sound.    <br /><a href="http://linktoapp.com/FunBox" target="_blank">fun box</a></p>
<p>GoodReader is for my case the best eBook reader for the iPad. I assume you don’t need it if you buy books in the Apple Store. At the moment I buy e-books on the Exlibris web store and print the Adobe DRM contaminated files to a pdf printer (Freepdf) and send it to GoodReader.    <br /><a href="http://linktoapp.com/GoodReader" target="_blank">GoodReader</a></p>
<p>NewsRack (thx Dani for the hint) is very nice RSS reader. A very nice feature is the sync with the Google reader. The reader can cash posts and pictures.</p>
<p>PocketCAS is a very nice function plotter. Which is very usefully in my studies at the university of Lucerne    <br /><a href="http://linktoapp.com/PocketCAS" target="_blank">PocketCAS</a></p>
<p>Dropbox the best way to keep your files in sync.    <br /><a href="http://linktoapp.com/dropbox" target="_blank">dropbox</a></p>
<p>After all I like the iPad and give him 4.5 geeks from max 5 geeks</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2010/07/12/ipad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Change the path SQL 2008 Server Database</title>
		<link>http://www.dambeck.ch/2009/08/30/change-the-path-sql-2008-server-database/</link>
		<comments>http://www.dambeck.ch/2009/08/30/change-the-path-sql-2008-server-database/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 17:29:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EDV & Admin Stuff]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[ldf]]></category>
		<category><![CDATA[master.mdf]]></category>
		<category><![CDATA[mdb]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2009/08/30/change-the-path-sql-2008-server-database/</guid>
		<description><![CDATA[In the most cases there are benefits when all data (log and db) files are on the network storage. Think off the benefit in terms of performance and backup. The Install wizard of Microsoft SQL Server 2008 shows only the option to change the path of the temporary database. In this guide I show you [...]]]></description>
			<content:encoded><![CDATA[<p>In the most cases there are benefits when all data (log and db) files are on the network storage. Think off the benefit in terms of performance and backup. The Install wizard of Microsoft SQL Server 2008 shows only the option to change the path of the temporary database. In this guide I show you how to move the databases. Please keep in mind to create a backup of your db’s before starting. I know backup is only for hot shower takers, gym bag losers and armpit hair blow-dryers;-). On my test server the path looks like:
<p>master.mdf, masterlog.ldf
<p>C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\DATA
<p>Model.mdf, modellog.ldf
<p>C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\DATA
<p>MSDBdata.mdf, MSDBlog.mdf
<p>C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\DATA
<p>Tempdbv.mdf, templog.ldf
<p>C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\DATA
<p>planetgeek.mdf, planetgeek_log.ldf
<p>C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\DATA
<p>First thing you notice the filenames are all tuned in the same schema, pls. Microsoft it cannot be so hard. Our mission is to move all log files in the path D:\mssqlserver08 and all data files to E:\mssqlserver08. The first thing we should do is give the sqlserver service account user read and write rights to this two directories. This step is not quiet necessary but the remote db creation and auto grow features will not work. Let&#8217;s start with the master db. Start the SQL Server Configuration Manager. Click “start” -&gt; “run” and type “SQLServerManager10.msc” and right click on the properties from the SQL server Service.
<p><a href="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image002.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="141" alt="clip_image002" src="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image002-thumb.jpg" width="573" border="0"></a>
<p>In the advanced tab you have to edit the Startup Parameters
<p><a href="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image004.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="clip_image004" src="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image004-thumb.jpg" width="222" border="0"></a>
<p>The default value is (keep in mind there are no spaces!!!):
<p>-dC:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\DATA\master.mdf;
<p>-eC:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\Log\ERRORLOG;
<p>-lC:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER08\MSSQL\DATA\mastlog.ldf
<p>-d is the path to the master.mdf
<p>-e path of the “ERRORLOG” File.
<p> -l is path to the ldf File
<p>After change the path to (keep in mind there are no spaces!!!):
<p>-dD:\mssqlserver08\master.mdf;
<p>-eD:\errorlog\ERRORLOG;
<p>-lE:\mssqlserver08\mastlog.ldf
<p>stop the sql server (for cluster use you can use an UNC path and share name. This is useful on relaxed security cluster environments). Copy the master db files to the new path. And start the SQL server Service. One step done four steps are left, so let&#8217;s move on with the temporary db. Open the SQL Server Management Studio and open a new query and enter the following lines
<p><a href="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image006.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="171" alt="clip_image006" src="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image006-thumb.jpg" width="244" border="0"></a>
<p>After the alter database statement you need to stop the Sql Server move the files in explorer to their new location and start the SQL Server Service. Many of you are maybe wondering why “ … name = tempdev, …” and the “name = templog” in the SQL query. This is the internal database name. A very easy name to get this name is stored procedure sp_help
<p><a href="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image007.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="117" alt="clip_image007" src="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image007-thumb.png" width="244" border="0"></a>
<p>with this procedure you are able to easily modify the path of all other databases. Normally we would have finished at this point. But after then years of experience as IT guy I know that “developers” often don’t care about path in the file system (developers who write for planetgeek are not this kind of developers <img src='http://www.dambeck.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  . So we should change the default database creation path to ensure it will work even when we are not in the office (Yes the IT Professionals have Holydays;-).
<p><a href="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image009.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="130" alt="clip_image009" src="http://www.dambeck.ch/wp-content/uploads/2009/08/clip-image009-thumb.jpg" width="244" border="0"></a>
<p>Enjoy the comfort of non direct attached storage, RIDE ON
<p>Konrad </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2009/08/30/change-the-path-sql-2008-server-database/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Big Brother on Amazon</title>
		<link>http://www.dambeck.ch/2009/08/06/big-brother-on-amazon/</link>
		<comments>http://www.dambeck.ch/2009/08/06/big-brother-on-amazon/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 20:34:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dies und Das]]></category>
		<category><![CDATA[EDV & Admin Stuff]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[BigBrother]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2009/08/06/big-brother-on-amazon/</guid>
		<description><![CDATA[I’m Currently in My Yearly Military Reputation curse (WK). So i hade many time to read newspaper. At Thursday the 21 of July there was an nice article in the “Tages Anzeiger” one of the best Newspaper in Swiss. Amazon has an nice e-book reader called Kindle. The device has an “Kill switch” trough this [...]]]></description>
			<content:encoded><![CDATA[<p>I’m Currently in My Yearly Military Reputation curse (WK). So i hade many time to read newspaper. At Thursday the 21 of July there was an nice article in the “Tages Anzeiger” one of the best Newspaper in Swiss. Amazon has an nice e-book reader called Kindle. The device has an “Kill switch” trough this access port Amazon had full control of the device. Many of the next gen devices have this kind of access like the iPhone, Vista, Xbox and PS 3…. So Amazon sells books without have the digital publishing rights, uses the kill switch to delete these books from their readers and give the customer the money back. the book that was deleted was 1984 from Orwell Gerorge. For all geeks how don’t have read the book READ IT. The story goes like Boy meets girl in London, the story plays in an totalitarian society led by Big Brother. The beig borther controls the mind of all citizens. To fore his control the big Brother delets books.
<p>Nice Irony I guess </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2009/08/06/big-brother-on-amazon/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ask a Geek Question, most useful mac os x apps.</title>
		<link>http://www.dambeck.ch/2009/07/12/ask-a-geek-question-most-useful-mac-os-x-apps/</link>
		<comments>http://www.dambeck.ch/2009/07/12/ask-a-geek-question-most-useful-mac-os-x-apps/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 10:47:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dies und Das]]></category>
		<category><![CDATA[EDV & Admin Stuff]]></category>
		<category><![CDATA[Fun Fun Fun]]></category>
		<category><![CDATA[Cyberduck]]></category>
		<category><![CDATA[freeciv]]></category>
		<category><![CDATA[keypass]]></category>
		<category><![CDATA[Latex]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2009/07/12/ask-a-geek-question-most-useful-mac-os-x-apps/</guid>
		<description><![CDATA[Martin one of are famous blog reader submitted an wish, &#8230; Would love to see kind of most useful mac os x apps. I know there are lots of other sites on the web taking care of it already, but hey guys its a growing community. Just a hint. Well keep up your great work. [...]]]></description>
			<content:encoded><![CDATA[<p>Martin one of are famous blog reader submitted an wish, &#8230; Would love to see kind of most useful mac os x apps. I know there are lots of other sites on the web taking care of it already, but hey guys its a growing community. Just a hint. Well keep up your great work. Martin. </p>
<p>The question is not so easy as it guess. Because Mac OS X leopard has many of the things I nee built-in. Let us start with some basic tools I Use. </p>
<p>VMware Fusion. is a virtual machine software product developed by VMware for Macintosh computers with Intel processors. Fusion allows Intel-based Macs to run x86 and x86-64 &quot;guest&quot; operating systems, such as Microsoft Windows, Linux, NetWare and Solaris as virtual machines simultaneously with Mac OS X as the &quot;host&quot; operating system using a combination of virtualization, emulation and dynamic recompilation. While similar in most respects to VMware Workstation. </p>
<p>Skype is a software application that allows users to make telephone calls over the Internet. Calls to other users of the service, and in some countries to free-of-charge numbers are free, while calls to other landlines and mobile phones can be made for a fee. Additional features include instant messaging, file transfer and video conferencing. </p>
<p>Keypass X&#160; is a free open source password manager, which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password or select the key file to unlock the whole database. The databases are encrypted using the best and most secure encryption algorithms currently known (AES and Twofish) </p>
<p>Microsoft Office 2008, Word PowerPoint, Excel and Entourage. More or less the same bugi thing like on Windows. </p>
<p>LaTeX is based on the idea that authors should be able to focus on the content of what they are writing without being distracted by its visual presentation. In preparing a LaTeX document, the author specifies the logical structure using familiar concepts such as chapter, section, table, figure, etc., and lets the LaTeX system worry about the presentation of these structures. It therefore encourages the separation of layout from content while still allowing manual typesetting adjustments where needed. </p>
<p>Cyberduck is an open source FTP, SFTP, WebDAV, Mosso Cloud Files and Amazon S3 browser for the Mac. It features an easy to use interface with quickly accessible bookmarks. The outline view of the browser allows to browse large folder structures efficiently and you can quickly preview files with Quick Look. To edit files, a seamless integration with several external editors makes it easy to change content quickly. Both Amazon CloudFront and Cloud Files from Rackspace can be easily configured to distribute your content in the cloud. Many OS X core system technologies such as Spotlight, Bonjour and the Keychain are supported and a large number of translations makes you feel at home. </p>
<p>Freeciv is a multiplayer, turn-based strategy game for workstations and personal computers inspired by the commercial proprietary Sid Meier&#8217;s Civilization series. The game&#8217;s default settings are closest to Civilization II, both in gameplay and graphics (including the units and the isometric grid). </p>
<p>These are the Programs that make my 24 iMac to a Powerful blog machine. There is only one thing I am missing. On windows there is a free Software called Live Writer. Live writer make blogging very easy but I don&#8217;t find a Sirius alternative for Mac. If you know something pls don&#8217;t hesitated post a commend. </p>
<p>Regards Konrad </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2009/07/12/ask-a-geek-question-most-useful-mac-os-x-apps/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Kick the crashed AD controller out</title>
		<link>http://www.dambeck.ch/2009/05/24/kick-the-crashed-ad-controller-out/</link>
		<comments>http://www.dambeck.ch/2009/05/24/kick-the-crashed-ad-controller-out/#comments</comments>
		<pubDate>Sun, 24 May 2009 15:15:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[FSMO]]></category>

		<guid isPermaLink="false">http://www.dambeck.ch/2009/05/24/kick-the-crashed-ad-controller-out/</guid>
		<description><![CDATA[Sometimes bad things happen, sometimes ugly things happen. One of the very bad things that can happen is when&#160; an active domain controller crashes and there is no backup available. The case becomes really ugly if nobody cares about the crashed controller for about 60 days (forest that was created on a domain controller running [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes bad things happen, sometimes ugly things happen. One of the very bad things that can happen is when&#160; an active domain controller crashes and there is no backup available. The case becomes really ugly if nobody cares about the crashed controller for about 60 days (forest that was created on a domain controller running Windows Server 2003 and earlier) or 180 days (forest that was created on a domain controller running Windows Server 2003 sp1 and later). On this depends the default tombstone lifetime of directory objects. Later we will investigate on the tombstone. </p>
<p>A good place to fix this whole bunch of problems is by verifying the backup strategy and ensuring that all system-states are saved on all domain controllers. The second step is verifying that DNS are fine and syncing the proper way. Now we are ready to move the FSMO roles. For everyone that is not familiar with the five FSMO Friends, here is a small overview from Wikipedia </p>
<p>Flexible Single Master of Operation (FSMO, F is sometimes floating ; pronounced Fiz-mo), or just single master operation or operations master, is a feature of Microsoft&#8217;s Active Directory (AD). As of 2005, the term FSMO has been deprecated in favor of operations masters. </p>
<p>FSMOs are specialized domain controller (DC) tasks, used where standard data transfer and update methods are inadequate. AD normally relies on multiple peer DCs, each with a copy of the AD database, being synchronized by multi-master replication. The tasks which are not suited to multi-master replication, and are viable only with a single-master database, are the FSMOs. </p>
<p>Domain-wide FSMO Roles: </p>
<p>Every domain in an Active Directory forest must contain one of each of the following FSMO roles:    <br />The Relative ID Master allocates security RIDs to DCs to assign to new AD security principals (users, groups or computer objects). It also manages objects moving between domains.     <br />The Infrastructure Master maintains security identifiers, GUIDs, and DNS for objects referenced across domains. Most commonly it updates user and group links. This is another domain-specific role and its purpose is to ensure that cross-domain object references are correctly handled. For example, if you add a user from one domain to a security group from a different domain, the Infrastructure Master makes sure this is done properly. As you can guess however, if your Active Directory deployment has only a single domain, then the Infrastructure Master role does no work at all, and even in a multi-domain environment it is rarely used except when complex user administration tasks are performed, so the machine holding this role doesn&#8217;t need to have much horsepower at all.     <br />The PDC Emulator operations master role processes all password changes in the domain. Failed authentication attempts due to a bad password at other domain controllers are forwarded to the PDC Emulator before rejection. This ensures that a user can immediately login following a password change from any domain controller, without having to wait several minutes for the change to be replicated. The PDC Emulator Operations Master role must be carefully sited in a location to best handle all password reset and failed-authentication forwarding traffic for the domain. </p>
<p>Forest-wide FSMO Roles: </p>
<p>Regardless of the number of domains in an Active Directory forest, the following FSMO roles exist only once:    <br />The Schema Master maintains all modifications to the schema of the forest. The schema determines the types of objects permitted in the forest and the attributes of those objects.     <br />The Domain Naming Master tracks the names of all domains in the forest and is required to add new domains to the forest or delete existing domains from the forest. It is also responsible for group membership. </p>
<p>Normally it&#8217;s very easy to move these roles by right clicking the forest level and choose Move &#8230;&#160; in the Active Directory Schema snap-in, Active Directory Domains and Trusts snap-in and Active Directory Users and Computers snap-in. But it will fail to 99% with an obscure error. The reason for the error is one domain controller in the replica ring is missing and marked as Tombstone. Let&#8217;s get to the bigger guns and start &#8220;ntdsutil.exe&#8221;, open a command prompt and enter &#8220;ntdsutil.exe&#8221;. If the shell is bugging you that the exe is missing, you need to install the server support tools. They are located on the Windows CD in the support folder. Other ways you can download it from Microsoft using Google ☺. </p>
<p>!! Remember at this point you can do very large harm to the directory so please be sure that you have properly working backups!! </p>
<p>After &#8220;ntdsutil.exe&#8221; has successful started, type &#8220;roles&#8221; and press enter. Type &#8220;connections&#8221; and press enter. Now Type &#8220;connect to server xyz.planetgeek.ch&#8221;, where xyz.planetgeek.ch is the name of the server where you want to transfer the roles to. A message will appear: </p>
<p>&#8220;Binding to xyz.planetgeek.ch &#8230;    <br />Connected to servername using credentials of locally logged on user.&#8221; </p>
<p>Tipe &#8220;quit&#8221; to leave the selection menu. Now appears: &#8220;fsmo maintenance:&#8221; now enter: </p>
<p>&#8220;Seize schema master&#8221; if you want move the schema master.    <br />&#8220;Seize domain naming master&#8221; if you want move the naming master.     <br />&#8220;Seize PDC&#8221; if you want move the PDC.     <br />&#8220;Seize RID master&#8221; if you want move the Relative ID master.     <br />&#8220;Seize infrastructure master&#8221; if you want move the infrastructure master. </p>
<p>Next thing to do is kicking the metadata out of the directory. To do this I know two possible ways. The first is use a VB script written by Clay Perrine from Microsoft. The second way is to use ntdsutil.exe. I prefer the VB script. It works on the most common Windows Operating systems (2k, XP, 03, Vista and 08). The script is below ore you can obtain it directly from Microsoft (<a href="http://go.microsoft.com/fwlink/?LinkID=123599)">http://go.microsoft.com/fwlink/?LinkID=123599)</a>. </p>
<p><em>REM&#160;&#160;&#160; ==========================================================      <br />REM&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; GUI Metadata Cleanup Utility       <br />REM&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Written By Clay Perrine       <br />REM&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Version 2.5       <br />REM&#160;&#160;&#160; ==========================================================       <br />REM&#160;&#160;&#160;&#160; This tool is furnished &quot;AS IS&quot;. NO warranty is expressed or Implied. </em></p>
<p><em>on error resume next      <br />dim objRoot,oDC,sPath,outval,oDCSelect,objConfiguration,objContainer,errval,ODCPath,ckdcPath,myObj,comparename </em></p>
<p><em>rem =======This gets the name of the computer that the script is run on ====== </em></p>
<p><em>Set sh = CreateObject(&quot;WScript.Shell&quot;)      <br />key= &quot;HKEY_LOCAL_MACHINE&quot;       <br />computerName = sh.RegRead(key &amp; &quot;\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName&quot;) </em></p>
<p><em>rem === Get the default naming context of the domain==== </em></p>
<p><em>set objRoot=GetObject(&quot;LDAP://RootDSE&quot;)      <br />sPath = &quot;LDAP://OU=Domain Controllers,&quot; &amp; objRoot.Get(&quot;defaultNamingContext&quot;) </em></p>
<p><em>rem === Get the list of domain controllers==== </em></p>
<p><em>Set objConfiguration = GetObject(sPath)      <br />For Each objContainer in objConfiguration       <br />&#160;&#160;&#160; outval = outval &amp; vbtab &amp;&#160; objContainer.Name &amp; VBCRLF       <br />Next       <br />outval = Replace(outval, &quot;CN=&quot;, &quot;&quot;) </em></p>
<p><em>rem ==Retrieve the name of the broken DC from the user and verify it&#8217;s not this DC.=== </em></p>
<p><em>oDCSelect= InputBox (outval,&quot; Enter the computer name to be removed&quot;,&quot;&quot;)      <br />comparename = UCase(oDCSelect) </em></p>
<p><em>if comparename = computerName then      <br />&#160;&#160;&#160; msgbox &quot;The Domain Controller you entered is the machine that is running this script.&quot; &amp; vbcrlf &amp; _       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;You cannot clean up the metadata for the machine that is running the script!&quot;,,&quot;Metadata Cleanup Utility Error.&quot;       <br />&#160;&#160;&#160; wscript.quit       <br />End If </em></p>
<p><em>sPath = &quot;LDAP://OU=Domain Controllers,&quot; &amp; objRoot.Get(&quot;defaultNamingContext&quot;)      <br />Set objConfiguration = GetObject(sPath) </em></p>
<p><em>For Each objContainer in objConfiguration      <br />&#160;&#160;&#160; Err.Clear       <br />&#160;&#160;&#160; ckdcPath = &quot;LDAP://&quot; &amp; &quot;CN=&quot; &amp; oDCSelect &amp; &quot;,OU=Domain Controllers,&quot; &amp; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />&#160;&#160;&#160; set myObj=GetObject(ckdcPath)       <br />&#160;&#160;&#160; If err.number &lt;&gt;0 Then       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; errval= 1       <br />&#160;&#160;&#160; End If       <br />Next </em></p>
<p><em>If errval = 1 then      <br />&#160;&#160;&#160; msgbox &quot;The Domain Controller you entered was not found in the Active Directory&quot;,,&quot;Metadata Cleanup Utility Error.&quot;       <br />&#160;&#160;&#160; wscript.quit       <br />End If </em></p>
<p><em>abort = msgbox (&quot;You are about to remove all metadata for the server &quot; &amp; oDCSelect &amp; &quot;! Are you sure?&quot;,4404,&quot;WARNING!!&quot;)      <br />if abort &lt;&gt; 6 then       <br />&#160;&#160;&#160; msgbox &quot;Metadata Cleanup Aborted.&quot;,,&quot;Metadata Cleanup Utility Error.&quot;       <br />&#160;&#160;&#160; wscript.quit       <br />end if </em></p>
<p><em>oDCSelect = &quot;CN=&quot; &amp; oDCSelect      <br />ODCPath =&quot;LDAP://&quot; &amp; oDCselect &amp; &quot;,OU=Domain Controllers,&quot; &amp; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />sSitelist = &quot;LDAP://CN=Sites,CN=Configuration,&quot; &amp; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />Set objConfiguration = GetObject(sSitelist)       <br />For Each objContainer in objConfiguration       <br />&#160;&#160;&#160; Err.Clear       <br />&#160;&#160;&#160; sitePath = &quot;LDAP://&quot; &amp; oDCSelect &amp; &quot;,CN=Servers,&quot; &amp;&#160; objContainer.Name &amp; &quot;,CN=Sites,CN=Configuration,&quot; &amp; _       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />&#160;&#160;&#160; set myObj=GetObject(sitePath)       <br />&#160;&#160;&#160; If err.number = 0 Then       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; siteval = sitePath       <br />&#160;&#160;&#160; End If&#160;&#160;&#160; <br />Next </em></p>
<p><em>sFRSSysvolList = &quot;LDAP://CN=Domain System Volume (SYSVOL share),CN=File Replication Service,CN=System,&quot; &amp; _      <br />&#160;&#160;&#160; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />Set objConfiguration = GetObject(sFRSSysvolList) </em></p>
<p><em>For Each objContainer in objConfiguration      <br />&#160;&#160;&#160; Err.Clear       <br />&#160;&#160;&#160; SYSVOLPath = &quot;LDAP://&quot; &amp; oDCSelect &amp; &quot;,CN=Domain System Volume (SYSVOL share),CN=File Replication Service,CN=System,&quot; &amp; _       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />&#160;&#160;&#160; set myObj=GetObject(SYSVOLPath)       <br />&#160;&#160;&#160; If err.number = 0 Then       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; SYSVOLval = SYSVOLPath       <br />&#160;&#160;&#160; End If       <br />Next </em></p>
<p><em>SiteList = Replace(sSitelist, &quot;LDAP://&quot;, &quot;&quot;)      <br />VarSitelist = &quot;LDAP://CN=Sites,CN=Configuration,&quot; &amp; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />Set SiteConfiguration = GetObject(VarSitelist) </em></p>
<p><em>For Each SiteContainer in SiteConfiguration      <br />&#160;&#160;&#160; Sitevar = SiteContainer.Name       <br />&#160;&#160;&#160; VarPath =&quot;LDAP://OU=Domain Controllers,&quot; &amp; objRoot.Get(&quot;defaultNamingContext&quot;)       <br />&#160;&#160;&#160; Set DCConfiguration = GetObject(VarPath)       <br />&#160;&#160;&#160; For Each DomContainer in DCConfiguration       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; DCVar = DomContainer.Name       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; strFromServer = &quot;&quot;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; NTDSPATH =&#160; DCVar &amp; &quot;,CN=Servers,&quot; &amp; SiteVar &amp; &quot;,&quot; &amp; SiteList       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; GuidPath = &quot;LDAP://CN=NTDS Settings,&quot;&amp; NTDSPATH       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Set objCheck = GetObject(NTDSPATH)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; For Each CheckContainer in objCheck       <br />rem ====check for valid site paths =======================       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ldapntdspath = &quot;LDAP://&quot; &amp; NTDSPATH       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Err.Clear       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set exists=GetObject(ldapntdspath)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; If err.number = 0 Then       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Set oGuidGet = GetObject(GuidPath)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; For Each objContainer in oGuidGet       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oGuid = objContainer.Name       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oGuidPath = &quot;LDAP://&quot; &amp; oGuid &amp; &quot;,CN=NTDS Settings,&quot; &amp; NTDSPATH&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Set objSitelink = GetObject(oGuidPath)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objSiteLink.GetInfo       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; strFromServer = objSiteLink.Get(&quot;fromServer&quot;)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ispresent = Instr(1,strFromServer,oDCSelect,1) </em></p>
<p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ispresent &lt;&gt; 0 then      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Set objReplLinkVal = GetObject(oGuidPath)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objReplLinkVal.DeleteObject(0)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; end if       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; next </em></p>
<p><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sitedelval = &quot;CN=&quot; &amp; comparename &amp; &quot;,CN=Servers,&quot; &amp; SiteVar &amp; &quot;,&quot; &amp; SiteList      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if sitedelval = ntdspath then       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Set objguidpath = GetObject(guidpath)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objguidpath.DeleteObject(0)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Set objntdspath = GetObject(ldapntdspath)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objntdspath.DeleteObject(0)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; end if       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; End If       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; next       <br />&#160;&#160;&#160; next       <br />next       <br />Set AccountObject = GetObject(ckdcPath)       <br />temp=Accountobject.Get (&quot;userAccountControl&quot;)       <br />AccountObject.Put &quot;userAccountControl&quot;, &quot;4096&quot;       <br />AccountObject.SetInfo       <br />Set objFRSSysvol = GetObject(SYSVOLval)       <br />objFRSSysvol.DeleteObject(0)       <br />Set objComputer = GetObject(ckdcPath)       <br />objComputer.DeleteObject(0)       <br />Set objConfig = GetObject(siteval)       <br />objConfig.DeleteObject(0)       <br />oDCSelect = Replace(oDCSelect, &quot;CN=&quot;, &quot;&quot;)       <br />msgval = &quot;Metadata Cleanup Completed for &quot; &amp; oDCSelect       <br />msgbox&#160; msgval,,&quot;Notice.&quot;       <br />wscript.quit       <br /></em></p>
<p>An easy to use description of the ntdsutil.exe way you find under <a href="http://technet.microsoft.com/en-us/library/cc736378.aspx">http://technet.microsoft.com/en-us/library/cc736378.aspx</a></p>
<p>Next thing that will drive you crazy are the millions of ntfrs errors in the Eventlog. Ntfrs is the &#8220;New Technology File replication Service&#8221; from Windows. It is used for the replication of the sysvol/ netlogon. Remember Since Windows 2003 R2 nftrs is replaced trough DFS. First of all we are saving the eventlog to a file then clean it and boot every Domain Controller in the domain and wait a few minutes. On my experience this will fix half of the problems, like swiss admins tend to say &#8220;ein boot tut immer gut&#8221; ; -). </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dambeck.ch/2009/05/24/kick-the-crashed-ad-controller-out/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
