<?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>a Flo + a Blog = a Flog &#187; IT</title>
	<atom:link href="http://florian.puthod.net/blog/category/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://florian.puthod.net/blog</link>
	<description>my ブログ</description>
	<lastBuildDate>Mon, 12 Dec 2011 21:09:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel="next" href="http://florian.puthod.net/blog/category/it/feed/?page=2" />

		<item>
		<title>wbadmin to include all volumes</title>
		<link>http://florian.puthod.net/blog/2011/wbadmin-to-include-all-volumes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wbadmin-to-include-all-volumes</link>
		<comments>http://florian.puthod.net/blog/2011/wbadmin-to-include-all-volumes/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 21:09:41 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[wbadmin]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=391</guid>
		<description><![CDATA[I am not sure why but I ended having to use wbadmin to do a full backup of a server. I usually do a -criticalonly to get a bare-bone restore of some windows 2008 r2 servers but I needed a include everything a specific server had.
I took me almost an hour to figure out how [...]]]></description>
			<content:encoded><![CDATA[<p>I am not sure why but I ended having to use wbadmin to do a full backup of a server. I usually do a -criticalonly to get a bare-bone restore of some windows 2008 r2 servers but I needed a include everything a specific server had.</p>
<p>I took me almost an hour to figure out how to use the -include parameter.</p>
<p>As from technet or the embedded help:</p>
<p>-include       Specifies the comma-delimited list of items to include in the<br />
backup. You can include multiple volumes. Volume paths can be<br />
specified using volume drive letters, volume mount points, or<br />
GUID-based volume names. If you use a GUID-based volume<br />
name, it should be terminated with a backslash (\). You can<br />
use the wildcard character (*) in the file name when<br />
specifying a path to a file. Should be used only when the<br />
-backupTarget parameter is used.</p>
<p>This said if I listed the volumes separated by a comma it would not let me. So just to save time to someone trying to do something like: wbadmin start backup -backuptarget:\\somewhere\here -systemstate -vssfull -allcritical -quiet -include:a:,b:,c:,d:,e:[...] to put the list of volumes to include between double quotes. -include:"a:,b:,c:,d:,e:[...]"</p>
<p>I cannot believe that this is not mentioned anywhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/wbadmin-to-include-all-volumes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use google maps API from google docs</title>
		<link>http://florian.puthod.net/blog/2011/use-google-maps-api-from-google-docs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-google-maps-api-from-google-docs</link>
		<comments>http://florian.puthod.net/blog/2011/use-google-maps-api-from-google-docs/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 21:02:45 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[En]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[googledoc]]></category>
		<category><![CDATA[googlemap]]></category>
		<category><![CDATA[importxml]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=388</guid>
		<description><![CDATA[I am looking for a dojo where I could go practice to. I needed to find out which one would be closest to my work or home place...
I had that list of address representing some place of interests - all of the aikido dojos. And course I knew my home address. While google doc offered [...]]]></description>
			<content:encoded><![CDATA[<p>I am looking for a dojo where I could go practice to. I needed to find out which one would be closest to my work or home place...</p>
<p>I had that list of address representing some place of interests - all of the aikido dojos. And course I knew my home address. While google doc offered me an easy way to map all of those addresses on a map, I wanted to get some extra information such as the duration or distance for directions between my place and the listed address.</p>
<p>With the following formula one can easily find plenty of information:</p>
<p>For a duration</p>
<blockquote><p>=INDEX(importXML("http://maps.googleapis.com/maps/api/directions/xml?origin="&amp;SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE( D2 ;CHAR(13);" ");CHAR(10);" ")); " "; "+")&amp;"&amp;destination="&amp;SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE( $D$9 ;CHAR(13);" ");CHAR(10);" ")); " "; "+")&amp;"&amp;sensor=false" ; "//leg/duration/text[last()]" ) ; 1)</p></blockquote>
<p>For a distance</p>
<blockquote><p>=INDEX(importXML("http://maps.googleapis.com/maps/api/directions/xml?origin="&amp;SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE( D2 ;CHAR(13);" ");CHAR(10);" ")); " "; "+")&amp;"&amp;destination="&amp;SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE( $D$9 ;CHAR(13);" ");CHAR(10);" ")); " "; "+")&amp;"&amp;sensor=false" ; "//leg/distance/text[last()]" ) ; 1)</p></blockquote>
<p>You will understand that my home address would be in the cell D9 and that each address are in a D# cell.</p>
<p>Of course using the <a title="XPath Syntax" href="http://www.w3schools.com/xpath/xpath_syntax.asp" target="_blank">XPath Syntax</a>, you can refer to any of the xml tag and get the value you need in a cell as you notice that the only difference between those are the parsing I am doing with //leg/distance.</p>
<p>importXML is pretty neat for parsing into xml data but use it with moderation as you can only use it 50 times in a spreadsheet.</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/use-google-maps-api-from-google-docs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big Brother client installation on UNIX/Linux</title>
		<link>http://florian.puthod.net/blog/2011/big-brother-client-installation-on-unixlinux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=big-brother-client-installation-on-unixlinux</link>
		<comments>http://florian.puthod.net/blog/2011/big-brother-client-installation-on-unixlinux/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 20:19:27 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[En]]></category>
		<category><![CDATA[xNix]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[bigbrother]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=378</guid>
		<description><![CDATA[Following procedure explains the steps for installing Big Brother client on UNIX/Linux servers and information about all the supported files. I could not really find this anywhere easily broke down, I hope this helps a few...
Installation Steps
Create user bb on the server to be monitored.Assign 1984 uid to the Big Brother user.
useradd -u 1984 -c [...]]]></description>
			<content:encoded><![CDATA[<p>Following procedure explains the steps for installing Big Brother client on UNIX/Linux servers and information about all the supported files. I could not really find this anywhere easily broke down, I hope this helps a few...</p>
<p>Installation Steps<br />
Create user bb on the server to be monitored.Assign 1984 uid to the Big Brother user.</p>
<blockquote><p>useradd -u 1984 -c "Big Brother monitoring" bb</p></blockquote>
<p>Copy the latest BB client tar file from your repository to bb home directory of the monitored server.</p>
<blockquote><p>su - bb<br />
scp root@yourrepo:/home/bb/software/BBCLT-aix6.1-bbc4.30-bbpe.tar .</p></blockquote>
<p>Decompress the tar file in the bb home directory</p>
<blockquote><p>In the bb home directory<br />
tar -xvf BBCLT-aix6.1-bbc4.30-bbpe.tar</p></blockquote>
<p>Exit from bb home directory as the BB client should be installed using root account.<br />
From root user go to /home/bb/bbc4.30-bbpe/install and execute bbconfig file.After executing bbconfig file, it will ask to accept the License agreement.<br />
After accepting the License agreement, the installation process will ask to enter a few details.</p>
<p>OS [aix] is the default so you can hit enter directly<br />
It will ask for the userid for Big Brother which will be "bb".</p>
<p>The installation process will add a service in /etc/init.d which will start at boot.</p>
<p>At this point the BB client is not started as bb-hosts file is missing or empty.</p>
<p>Information about bb-hosts file<br />
The bb-hosts file in present in /home/bb/bbc4.30-bbpe/etc.This file holds the information about the host and the BBDisplay,BBPAGER and BBNET.<br />
BBDISPLAY is the server which will display all the monitored servers.<br />
BBPAGER is the server which sends email alerts.<br />
BBNET is the server which performa all Network tests.</p>
<p>Sample bb-hosts file.If the first line or name of the monitored host does not match the entry in the bb-hosts file then the bb client will not start.</p>
<blockquote><p>0.0.0.0         monitoredsrv #must name uname -n<br />
0.0.0.0         displaysrv # BBNET BBDISPLAY BBPAGER</p></blockquote>
<p>Once all the changes are done then we are good to start the BB client.<br />
The entry of the monitored server in bb-hosts file should also match with the entry in BB server's bb-hosts file.</p>
<p>I forgot to mention that to start and stop BB you can use the following:</p>
<blockquote><p>su - bb -c "cd /home/bb/bbc4.30-bbpe;./runbb.sh start"</p>
<p>su - bb -c "cd /home/bb/bbc4.30-bbpe;./runbb.sh stop"</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/big-brother-client-installation-on-unixlinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My WebLogic 10.3 does not start</title>
		<link>http://florian.puthod.net/blog/2011/my-weblogic-10-3-does-not-start/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-weblogic-10-3-does-not-start</link>
		<comments>http://florian.puthod.net/blog/2011/my-weblogic-10-3-does-not-start/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 16:19:11 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[xNix]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[diagnostic]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[weblogic]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=376</guid>
		<description><![CDATA[I was coming back from a pretty good weekend doing renovation when I am called as one of the application resting on a WebLogic Server (WLS) was inaccessible to users.
A quick round up at the WLS console showed that one of the server doesn't want to start nor restart.
Having a look at the logs for [...]]]></description>
			<content:encoded><![CDATA[<p>I was coming back from a pretty good weekend doing renovation when I am called as one of the application resting on a WebLogic Server (WLS) was inaccessible to users.</p>
<p>A quick round up at the WLS console showed that one of the server doesn't want to start nor restart.</p>
<p>Having a look at the logs for that specific server - you know under logs directory of that server - showed that amount other errors caused by this there was a problem with the diagnostic file.</p>
<blockquote><p>.../domain/servers/WebLogicAdmin (or managed server)/data/store/default/XXXXX.dat (WLS_DIAGNOSTICS000000.DAT).</p></blockquote>
<p>the diagnostic file? I never remembered setting any diag mode up and apparently the diag option is off. Anyhow quickly reading of the <a href="http://forums.oracle.com" target="_blank">OTN</a>, some people mentioned deleting the file as it could be corrupted.</p>
<p>That trick never worked for my case. I indeed deleted the WLS_DIAG*.WLS and any .lok under ../Oracle/Middleware/user_projects/domains/canp8/servers files around but nothing.</p>
<p>I eventually had to delete the following directories under each server for which that error occurred. I stopped WLS and for each server I deleted the /data, /tmp and /logs. then starting WLS, it seemed to like not finding them and created a new clean structure. However that was not the end of the troubleshooting as it would complain about the port for one of the server to be already taken by something else.</p>
<p>Indeed, the port seems to be taken by some WLS ghost process of the same name with a different UID. I did not want to look further and decided to shutdown the whole WLS box clean and restart it.</p>
<p>It did the trick for me... perhaps it will do it for you. I still wonder what those files are for and why they would get corrupted and prevent a server from starting up.</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/my-weblogic-10-3-does-not-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2008 x Data Protector: Can not connect to the SCM (Service Control Manager)</title>
		<link>http://florian.puthod.net/blog/2011/windows-2008-x-data-protector-can-not-connect-to-the-scm-service-control-manager/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-2008-x-data-protector-can-not-connect-to-the-scm-service-control-manager</link>
		<comments>http://florian.puthod.net/blog/2011/windows-2008-x-data-protector-can-not-connect-to-the-scm-service-control-manager/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 18:33:20 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2k8]]></category>
		<category><![CDATA[data protector]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[R2]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=371</guid>
		<description><![CDATA[I noticed this a while ago but a colleague came to me with this problem. Luckily - and because I have short memory, I documented the process accordingly - which he did not read... anyways.
With windows 2008R2, in order to deploy the client to the server - locally or remotely - one will need to [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed this a while ago but a colleague came to me with this problem. Luckily - and because I have short memory, I documented the process accordingly - which he did not read... anyways.</p>
<p>With windows 2008R2, in order to deploy the client to the server - locally or remotely - one will need to make sure the account used to deploy the agent is in the inet password account list and part of the install server user list. If not it will need to be added as follow.</p>
<p lang="ja">C:\Program Files\OmniBack\bin&gt;omniinetpasswd -add youraccount@domain.net</p>
<p>C:\Program Files\OmniBack\bin&gt;omniinetpasswd.exe -inst_srv_user youraccount@domain.net</p>
<p>Use -list to get a list of users already in the list. If you do not add your account, you will have to use the backup service account to deploy any clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/windows-2008-x-data-protector-can-not-connect-to-the-scm-service-control-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6 day</title>
		<link>http://florian.puthod.net/blog/2011/ipv6-day/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ipv6-day</link>
		<comments>http://florian.puthod.net/blog/2011/ipv6-day/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 11:04:36 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=368</guid>
		<description><![CDATA[As it is IPv6, there are a few things you will want to try. Of course, there is IPv6 itself but also any  kind of teredo implementation for cross IP stack connectivity.
On your older XP machine:
netsh interface ipv6 install
 netsh interface ipv6 set teredo client
On your Win7 machine:
nothing, it is there already!
On your ubuntu:
sudo apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>As it is IPv6, there are a few things you will want to try. Of course, there is IPv6 itself but also any  kind of teredo implementation for cross IP stack connectivity.</p>
<p>On your older XP machine:</p>
<blockquote><p><code>netsh interface ipv6 install</code><br />
<code> netsh interface ipv6 set teredo client</code></p></blockquote>
<p>On your Win7 machine:</p>
<blockquote><p>nothing, it is there already!</p></blockquote>
<p>On your ubuntu:</p>
<blockquote><p><code>sudo apt-get install miredo</code></p></blockquote>
<p>and voila you are ready to get connected and use the latest technologies. For testing any of that remember that most IPv4 command will work with IPv6 but may require some -6 option or use their IPv6 equivalent such qs ping6.</p>
<p>Then I would head to <a href="http://www.sixxs.net/misc/coolstuff/" target="_blank">http://www.sixxs.net/misc/coolstuff/</a> for a bunch of cool stuff to try when on IPv6.</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/ipv6-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Celerra NFS and VDM</title>
		<link>http://florian.puthod.net/blog/2011/celerra-nfs-and-vdm/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=celerra-nfs-and-vdm</link>
		<comments>http://florian.puthod.net/blog/2011/celerra-nfs-and-vdm/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 12:53:22 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[celerra]]></category>
		<category><![CDATA[emc]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=357</guid>
		<description><![CDATA[Just to share with you something I have found out the hard way.
It is not possible to create a nfs export of a file system that is on a VDM (cf EMC doc p 13 Configuring NFS on EMC Celerra 5.6.46)
However it is possible to trick the system using some hidden references to the vdm [...]]]></description>
			<content:encoded><![CDATA[<p>Just to share with you something I have found out the hard way.<br />
It is not possible to create a nfs export of a file system that is on a VDM (cf EMC doc p 13 <a href="../wp-content/uploads/2011/05/Configuring-NFS-on-EMC-Celerra-5.6.46.pdf">Configuring NFS on EMC Celerra 5.6.46</a>)</p>
<p>However it is possible to trick the system using some hidden references to the vdm path.<br />
For instance, to create an export of the FS named prod_public on a vdm, I had to do the following:</p>
<blockquote><p>[nasadmin@xxxpemccs01 ~]$ server_export xxxpemc01dm01a -P nfs -n vdmpublic -o anon=0 /root_vdm_3/prod_public<br />
xxxpemc01dm01a : done</p></blockquote>
<p>xxxpemc01dm01a is the name of the DM<br />
and root_vdm_3 is the hidden path the vdm structure. 3 is supposed to be the sequence number of the VDM. I was expecting 1 but somehow it is 3, perhaps we had created from VDM in the past.</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/celerra-nfs-and-vdm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Robocopy and EMC Celerra</title>
		<link>http://florian.puthod.net/blog/2011/robocopy-and-emc-celerra/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=robocopy-and-emc-celerra</link>
		<comments>http://florian.puthod.net/blog/2011/robocopy-and-emc-celerra/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 00:11:50 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[En]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[xNix]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=350</guid>
		<description><![CDATA[I came across a problem when using Robocopy command scripts when copying files from NTFS to EMC Celerra file system.  The problem was that every time Robocopy was told to copy files to the EMC Celerra over the WAN, the files were always detected as “newer” on from the originating source.  This caused [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a problem when using Robocopy command scripts when copying files from NTFS to EMC Celerra file system.  The problem was that every time Robocopy was told to copy files to the EMC Celerra over the WAN, the files were always detected as “newer” on from the originating source.  This caused Robocopy to copy every single file from our network to the remote network each and every time.</p>
<p>I came across a command line switch for Robocopy: /FFT : Assume FAT File Times (2-second date/time granularity).  The NTFS date and time stamp is a 64-bit variable, which DART doesn’t deal with.  So what this does is force Robocopy to use FAT style time stamps which are 2-second granularity.  It allows enough flexibility to account for the way the time is recorded when doing a file copy from NTFS to another file system. This is needed when going between and NTFS and Linux/Unix/FAT or emulated file system.</p>
<p>update 20110601: I now use <a title="Home of FastCopy (English)" href="http://ipmsg.org/tools/fastcopy.html.en" target="_blank">fastcopy</a> instead of robocopy. It is a great fast(er) and friendly tool! And it doesn't have any of the security or date issues I have seem with the msft tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2011/robocopy-and-emc-celerra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using 32-bit .Net Applications on a 64-bit system</title>
		<link>http://florian.puthod.net/blog/2010/using-32-bit-net-applications-on-a-64-bit-system/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-32-bit-net-applications-on-a-64-bit-system</link>
		<comments>http://florian.puthod.net/blog/2010/using-32-bit-net-applications-on-a-64-bit-system/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 15:47:40 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[En]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[coreflags]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=314</guid>
		<description><![CDATA[I needed to use the Windows Mobile Security Power Toy the other day.  So I download the power toy, fired it up, and watched it promptly crash. After several failed attempts I figured there was something wrong with my computer, so I went to another computer and did the same thing with success.  [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to use the Windows Mobile Security Power Toy the other day.  So I download the power toy, fired it up, and watched it promptly crash. After several failed attempts I figured there was something wrong with my computer, so I went to another computer and did the same thing with success.  In trying to diagnose the problem I went to another computer and tried to run the power toy and it crashed there also.  So what was the problem?</p>
<p>In looking at the similarities and differences among the computers I realized that the two computers on which the application crashed had one thing in common - they were 64-bit machines whereas the machine on which the power toy worked was a 32-bit machine.  I ran into a problem like this years ago.  I had a .Net application that P/Invoked some 32-bit APIs.  The computer would automatically load the .Net code in a 64-bit process, but 64-bit and 32-bit code cannot coexists in the same process which is why the program would crash.  When I ran into this problem years ago I just changed the settings on my project so that the code would NGEN to 32-bit code (that means it was converted to x86 code at compile time).  But I don't have the source code for the Windows Mobile Security Power Toy.  So what could I do?</p>
<p>There's a command line utility that would help me here. It allows one to start a .Net executable and load it into a 32-bit process. the utility is named CORFLAGS.EXE.  I went back to the 64-bit machines, opened the command prompt, and typed the following:</p>
<p>COREFLAGS.EXE SecurityManager.exe /32BIT+</p>
<p>Success!</p>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2010/using-32-bit-net-applications-on-a-64-bit-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting windows key management</title>
		<link>http://florian.puthod.net/blog/2010/troubleshooting-windows-key-management/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=troubleshooting-windows-key-management</link>
		<comments>http://florian.puthod.net/blog/2010/troubleshooting-windows-key-management/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 16:13:05 +0000</pubDate>
		<dc:creator>Florian</dc:creator>
				<category><![CDATA[En]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[activation]]></category>
		<category><![CDATA[KMS]]></category>
		<category><![CDATA[R2]]></category>

		<guid isPermaLink="false">http://florian.puthod.net/blog/?p=318</guid>
		<description><![CDATA[I have recently been deploying a few windows 2008 R2 and I ran into some activation issues. Where the KMS could not be found and/or did not activate the servers.
First off, there a few commands and output that will give you a good starting point.
C:\Windows\system32&#62;cscript slmgr.vbs /dlv
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently been deploying a few windows 2008 R2 and I ran into some activation issues. Where the KMS could not be found and/or did not activate the servers.</p>
<p>First off, there a few commands and output that will give you a good starting point.</p>
<blockquote><p>C:\Windows\system32&gt;cscript slmgr.vbs /dlv<br />
Microsoft (R) Windows Script Host Version 5.8<br />
Copyright (C) Microsoft Corporation. All rights reserved.</p>
<p>Software licensing service version: 6.1.7600.16385</p>
<p>Name: Windows Server(R), ServerStandard edition<br />
Description: Windows Operating System - Windows Server(R), RETAIL channel<br />
Activation ID: 039998e3-3ef5-4adf-b758-mnbvczxlkjjhh<br />
Application ID: 55c92734-d682-4d71-983e-lkdaskdjaskl<br />
Extended PID: 00477-4444-444-000000-00-1033-7600.0000-3482009<br />
Installation ID: 006386735361234567898785803475982043689521915735258065<br />
Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342<br />
Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343<br />
Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345<br />
Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344<br />
Partial Product Key: 2YYCD<br />
License Status: Initial grace period<br />
Time remaining: 43200 minute(s) (30 day(s))<br />
Remaining Windows rearm count: 2<br />
Trusted time: 4/27/2010 11:09:12 AM</p></blockquote>
<p>Or its equivalent with less information slmgr /dli.</p>
<p>In that case, it seems that KMS client is not even set here.</p>
<p>First off, you may want to tell the server where to look to get Keys using the following commands.</p>
<p>To know which server should be register you may want to check the DNS record that</p>
<blockquote><p>C:\Windows\system32&gt;nslookup -type=srv _vlmcs._tcp.xxxx.net<br />
Server:  rrrpdcad02.xxxx.net<br />
Address:  10.9999.15</p>
<p>_vlmcs._tcp.xxxx.net   SRV service location:<br />
priority       = 0<br />
weight         = 0<br />
port           = 8081<br />
svr hostname   = rrrmskms01.xxxx.net<br />
rrrpmskms01.xxxx.net   internet address = 10.99.98.97</p></blockquote>
<p>With this information you can now register for this server.</p>
<blockquote><p>C:\Windows\system32&gt;cscript slmgr.vbs /skms rrrpmskms01:1688<br />
Microsoft (R) Windows Script Host Version 5.8<br />
Copyright (C) Microsoft Corporation. All rights reserved.</p>
<p>Key Management Service machine name set to rrrmskms01:1688 successfully.</p></blockquote>
<p>You will then need to enter a valid key if not already done with you unattended install. Please check the below table with MS provided keys for activation using KMS.</p>
<blockquote><p>C:\Windows\system32&gt;cscript slmgr.vbs -ipk YC6KT-GKW9T-YTKYR-T4X34-R7VHC<br />
Microsoft (R) Windows Script Host Version 5.8<br />
Copyright (C) Microsoft Corporation. All rights reserved.</p>
<p>Installed product key YC6KT-GKW9T-YTKYR-T4X34-R7VHC successfully.</p></blockquote>
<p>then trying the activation using the command below I would get another error.</p>
<blockquote><p>C:\Windows\system32&gt;cscript slmgr.vbs /ato<br />
Microsoft (R) Windows Script Host Version 5.8<br />
Copyright (C) Microsoft Corporation. All rights reserved.</p>
<p>Activating Windows Server(R), ServerStandard edition (039998e3-3ef5-ddasdasdass8-d25fa0128ff4) ...<br />
On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0x80072EE2' to display the error text.<br />
Error: 0x80072EE2</p></blockquote>
<p>Using the mentioned command I would find that 0x80072EE2 means that the operation timed out. Very well, then I may facing some communication errors.</p>
<p>Indeed, as you may have noticed I made a mistake above not using the right port. I used 1688 which the default port instead.</p>
<p>You can also check on your KMS for a status using the slmgr /dlv command:</p>
<blockquote><p>Key Management Service is enabled on this machine<br />
Current count: 50<br />
Listening on Port: 8081<br />
DNS publishing enabled<br />
KMS priority: Normal</p></blockquote>
<p>Be sure to use the port that is given by the volume license DNS entry and make sure it communicates. As you may have guessed there are 2 ways a new server where a KMS is install will register. Of course after changing to the right port and can try -ato (activation) again.</p>
<ol>
<li>by using the DNS to automatically locate the KMS</li>
<li>or just register it manually using the commands above</li>
</ol>
<p>When rightfully registered the /dli or /dlv will give you something like that:</p>
<blockquote><p>C:\Windows\system32&gt;cscript slmgr.vbs -dli<br />
Microsoft (R) Windows Script Host Version 5.8<br />
Copyright (C) Microsoft Corporation. All rights reserved.</p>
<p>Name: Windows Server(R), ServerStandard edition<br />
Description: Windows Operating System - Windows Server(R), VOLUME_KMSCLIENT channel<br />
Partial Product Key: R99HC<br />
License Status: Licensed<br />
Volume activation expiration: 259200 minute(s) (180 day(s))</p>
<p>Key Management Service client information<br />
Client Machine ID (CMID): 70e4de42-rewa-4c93-gf45-a6d372bc0a19<br />
Registered KMS machine name: rrrpmskms01.xxxx.net:8081<br />
KMS machine extended PID: 55041-009999-313-09999-03-1033-6002.0000-3442009<br />
Activation interval: 120 minutes<br />
Renewal interval: 10080 minutes<br />
KMS host caching is enabled</p></blockquote>
<p>Activation Keys table (taken from <a href="http://technet.microsoft.com/en-us/library/dd772269.aspx" target="_blank">here</a>)</p>
<table style="height: 288px;" width="547">
<tbody>
<tr>
<th>Operating System Edition</th>
<th>Product Key</th>
</tr>
<tr>
<td><strong>Windows 7</strong></td>
<td></td>
</tr>
<tr>
<td>Windows 7 Professional</td>
<td>FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4</td>
</tr>
<tr>
<td>Windows 7 Professional N</td>
<td>MRPKT-YTG23-K7D7T-X2JMM-QY7MG</td>
</tr>
<tr>
<td>Windows 7 Enterprise</td>
<td>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</td>
</tr>
<tr>
<td>Windows 7 Enterprise N</td>
<td>YDRBP-3D83W-TY26F-D46B2-XCKRJ</td>
</tr>
<tr>
<td>Windows 7 Enterprise E</td>
<td>C29WB-22CC8-VJ326-GHFJW-H9DH4</td>
</tr>
<tr>
<td><strong>Windows Server 2008 R2</strong></td>
<td></td>
</tr>
<tr>
<td>Windows Server 2008 R2 HPC Edition</td>
<td>FKJQ8-TMCVP-FRMR7-4WR42-3JCD7</td>
</tr>
<tr>
<td>Windows Server 2008 R2 Datacenter</td>
<td>74YFP-3QFB3-KQT8W-PMXWJ-7M648</td>
</tr>
<tr>
<td>Windows Server 2008 R2 Enterprise</td>
<td>489J6-VHDMP-X63PK-3K798-CPX3Y</td>
</tr>
<tr>
<td>Windows Server 2008 R2 for Itanium-Based Systems</td>
<td>GT63C-RJFQ3-4GMB6-BRFB9-CB83V</td>
</tr>
<tr>
<td>Windows Server 2008 R2 Standard</td>
<td>YC6KT-GKW9T-YTKYR-T4X34-R7VHC</td>
</tr>
<tr>
<td>Windows Web Server 2008 R2</td>
<td>6TPJF-RBVHG-WBW2R-86QPH-6RTM4</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://florian.puthod.net/blog/2010/troubleshooting-windows-key-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

