<?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.christiano.ch //::.. &#187; Windows General</title>
	<atom:link href="http://www.christiano.ch/wordpress/category/microsoft/windowsgeneral/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christiano.ch/wordpress</link>
	<description>christiano.ch blog - personal knowledge base, news, memoires et cetera</description>
	<lastBuildDate>Fri, 06 Jan 2012 15:28:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Disable &#8220;No Internet Access&#8221; notification on Windows Server 2008 (R2)</title>
		<link>http://www.christiano.ch/wordpress/2012/01/05/disable-no-internet-access-notification-on-windows-server-2008-r2/</link>
		<comments>http://www.christiano.ch/wordpress/2012/01/05/disable-no-internet-access-notification-on-windows-server-2008-r2/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 06:55:26 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[GPMC]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Notifications]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2012/01/05/disable-no-internet-access-notification-on-windows-server-2008-r2/</guid>
		<description><![CDATA[The “No Internet Access” notification on the network connection icon usually appears when you’re not connected to the Internet or you probably behind a proxy server. However, when you setting up your servers in an isolated environment without Internet access &#8230; <a href="http://www.christiano.ch/wordpress/2012/01/05/disable-no-internet-access-notification-on-windows-server-2008-r2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="233"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2012/01/w2k8r2_nointernetaccess.jpg"><img style="display: inline" title="w2k8r2_nointernetaccess" alt="w2k8r2_nointernetaccess" src="http://www.christiano.ch/wordpress/wp-content/uploads/2012/01/w2k8r2_nointernetaccess_thumb.jpg" width="203" height="104" /></a></td>
<td valign="top" width="441">The “No Internet Access” notification on the network connection icon usually appears when you’re not connected to the Internet or you probably behind a proxy server. However, when you setting up your servers in an isolated environment without Internet access and you want to disable this notification then: </td>
</tr>
</tbody>
</table>
<p><span id="more-1273"></span>
<ol>
<li>Open the <strong><em>GPMC.msc</em></strong>. </li>
<li>Create or open a GPO which will be applied to your server(s). </li>
<li>Navigate to <strong><em>Computer Configuration\Policies\Administrative Templates\Network\Network Connections</em></strong>. </li>
<li>Enable the “<strong><em>Do not show the “local access only” network icon</em></strong>” setting. </li>
<li>Close the GPO and GPMC.msc. </li>
<li>Run <strong><em>C:\&gt;gpupdate</em></strong> on the server(s) to apply the new policy. </li>
</ol>
<p>The “No Internet Access” notification should be disabled now. </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Disable+%E2%80%9CNo+Internet+Access%E2%80%9D+notification+on+Windows+Server+2008+%28R2%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1273" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Disable+%E2%80%9CNo+Internet+Access%E2%80%9D+notification+on+Windows+Server+2008+%28R2%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1273" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2012/01/05/disable-no-internet-access-notification-on-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modify the Computer icon text to show logged on username in Windows Server 2008 (R2)</title>
		<link>http://www.christiano.ch/wordpress/2012/01/05/modify-the-computer-icon-text-to-show-logged-on-username-in-windows-server-2008-r2/</link>
		<comments>http://www.christiano.ch/wordpress/2012/01/05/modify-the-computer-icon-text-to-show-logged-on-username-in-windows-server-2008-r2/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 06:45:55 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips n'Tricks]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2012/01/05/modify-the-computer-icon-text-to-show-logged-on-username-in-windows-server-2008-r2/</guid>
		<description><![CDATA[Changing the text on the Computer icon on your Remote Desktop Services Session Host is handy when a user calls you and you want to know which Session Host the user is logged on. The procedure to do this has &#8230; <a href="http://www.christiano.ch/wordpress/2012/01/05/modify-the-computer-icon-text-to-show-logged-on-username-in-windows-server-2008-r2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Changing the text on the Computer icon on your Remote Desktop Services Session Host is handy when a user calls you and you want to know which Session Host the user is logged on. The procedure to do this has changed since Windows Server 2003.</p>
<p><span id="more-1269"></span>
<p>Follow these steps to change the text on a Windows Server 2008 (R2) machine: </p>
<ol>
<li>Logon to your server with the Administrator account. </li>
<li>Start RegEdit and navigate to the following key: <strong><em>HKCR\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}</em></strong></li>
<li>If necessary, take the ownership of this key, grant yourself full control rights and then edit the<strong><em> LocalizedString</em></strong> value. </li>
<li>In the edit window type:<strong><em> %UserName% on %ComputerName%</em></strong>. Click OK and close RegEdit. </li>
<li>Press F5 somewhere on the desktop and the text on the Computer icon should now display the logged on user name. </li>
</ol>
<p>Tested on Windows Server 2008 R2 Build 7600.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Modify+the+Computer+icon+text+to+show+logged+on+username+in+Windows+Server+2008+%28R2%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1269" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Modify+the+Computer+icon+text+to+show+logged+on+username+in+Windows+Server+2008+%28R2%29+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1269" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2012/01/05/modify-the-computer-icon-text-to-show-logged-on-username-in-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding process that locks a DLL</title>
		<link>http://www.christiano.ch/wordpress/2011/09/04/finding-process-that-locks-a-dll/</link>
		<comments>http://www.christiano.ch/wordpress/2011/09/04/finding-process-that-locks-a-dll/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 06:15:08 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[CMD / Batch]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tips n'Tricks]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[DLL]]></category>
		<category><![CDATA[Tasklist]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2011/09/04/finding-process-that-locks-a-dll/</guid>
		<description><![CDATA[You want to replace a dll on a system, but you get access denied, although you’re admin, have the necessary rights.. so which process is locking the particular file/library. I know, there is handles.exe from Sysinternal Suite, and plenty other &#8230; <a href="http://www.christiano.ch/wordpress/2011/09/04/finding-process-that-locks-a-dll/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="557">You want to replace a dll on a system, but you get access denied, although you’re admin, have the necessary rights.. so which process is locking the particular file/library. I know, there is handles.exe from Sysinternal Suite, and plenty other tools that do the trick.But, you don’t need third-party tools to get the answer, just use tasklist.exe or PowerShell.</td>
<td valign="top" width="117">&nbsp;</td>
</tr>
</tbody>
</table>
<p><span id="more-1254"></span>
<p>Windows command line:</p>
<pre>C:\&gt; tasklist /FI "modules eq vstoee.dll"</pre>
<p>PowerShell
<pre>PS C:\&gt; Get-Process | ? { $_.Modules -like "*(vstoee.dll)*" }</pre>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Finding+process+that+locks+a+DLL+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1254" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Finding+process+that+locks+a+DLL+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1254" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2011/09/04/finding-process-that-locks-a-dll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Windows to a new bootable VHD with no host OS</title>
		<link>http://www.christiano.ch/wordpress/2011/05/07/installing-windows-to-a-new-bootable-vhd-with-no-host-os/</link>
		<comments>http://www.christiano.ch/wordpress/2011/05/07/installing-windows-to-a-new-bootable-vhd-with-no-host-os/#comments</comments>
		<pubDate>Sat, 07 May 2011 15:41:37 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VHD]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7 Setup]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2011/05/07/installing-windows-to-a-new-bootable-vhd-with-no-host-os/</guid>
		<description><![CDATA[I love the performance gains I get by using bootable VHDs. I’ve always enjoyed using VHDs but I generally had a host OS first, then installed a bunch of VHDs that I made bootable. Recently I’ve changed all of this &#8230; <a href="http://www.christiano.ch/wordpress/2011/05/07/installing-windows-to-a-new-bootable-vhd-with-no-host-os/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="532">
<p>I love the performance gains I get by using bootable VHDs. I’ve always enjoyed using VHDs but I generally had a host OS first, then installed a bunch of VHDs that I made bootable. Recently I’ve changed all of this on my computer after a spent some time reading a post from John Papa. This leads&#160; to more flexibility. The idea is simple: take a clean drive with no host OS and add or remove bootable VHDs as needed. </p>
</td>
<td valign="top" width="142"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo1.jpg"><img style="display: inline" title="Logo_winlogo" alt="Logo_winlogo" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo_thumb1.jpg" width="135" height="120" /></a></td>
</tr>
</tbody>
</table>
<p><span id="more-1203"></span>
<p>These steps describe steps that enable a few scenarios for me that allow me to: </p>
<ol>
<li>Install a fresh OS to a new bootable VHD with no host OS on the computer already </li>
<li>Copy existing VHDs to my physical drive and make them bootable </li>
<li>Boot to any of my VHDs and copy others on, or take some off </li>
</ol>
<p>To be very clear, these steps are for taking a brand new hard drive or wiping a hard drive clean, and then installing a series of OS’s on VHDs that will boot from disk. The advantage of this is there is no host OS, you can have as many bootable VHDs that fit on disk, and they can be copied on and off the disk at will. I also use create differencing disks (I’ll get into that in another post). </p>
<p>I like this technique so I don’t have to rely on a base OS. This allows me to copy VHDs on my hard disk, add them to the boot record and run. Or I can install a new OS to a brand new VHD from a DVD, USB or network install. It’s very flexible and since the VHDs boot from the metal they are run very fast! </p>
<p>This creates a VHD on the metal, on you hard drive without needing a host OS. </p>
<blockquote><p><strong>NOTE</strong>: This post contains a lot of command line operations that are if typed incorrectly can wipe a hard drive, lose its data, and make it unrecoverable. Use these steps at your own risk, I am not responsible for the outcome. I am simply sharing what works for me.</p>
</blockquote>
<p>I recommend using an SSD if you can. I have found that the performance differences of running off a traditional drive vs. a SSD are tremendous. They are pricey, but I’ve been able to upgrade to an SSD and give my laptop new life.</p>
<h1>Install Windows 7 On a Completely Clean Drive, with No Existing OS   <br /></h1>
<p>This cleans my hard drive and sets it up for my 1st VHD that will boot off the metal. These steps only need to be done once to clean the drive fresh. In fact, I don’t ever want to do this again to the drive because it wipes it completely clean (have I repeated that enough times yet? Can you tell I am very careful?)</p>
<ol>
<li>First, I need to have an OS to install.
<ol>
<li>If installing from DVD/CD, I make sure the media is in the drive and the bios is set to boot from the optical drive. Then reboot </li>
<li>If installing Windows 7 from USB, I make sure the USB is plugged in and the bios is set to enable USB boot. Then reboot </li>
<li>If installing from the network, after reboot press F12 (if that’s my shortcut key to LAN install) and select the boot OS option. </li>
</ol>
</li>
<li>Once Windows Setup begins and prompts me to begin the installation, I press SHIFT-F10 to get to a command prompt. This is where I will create a VHD and then install the OS onto it. </li>
<li>In the command windows, I enter the disk partitioning utility
<pre>DISKPART</pre>
</li>
<li>Now I list the disks and take note of the disk number for the physical hard drive.
<pre>list disk</pre>
</li>
<li>Assuming the disk was number 0, I select that disk.
<pre>select disk 0</pre>
</li>
<li>Now I wipe the drive clean (all of my data on this drive will disappear). I do this so I can start fresh.
<pre>clean</pre>
</li>
<li>Now my drive is clean and ready to be set up. Next I created a partition and formatted it with NTFS file system using quick format. I labeled it “256 GB SSD” so I would always know where the physical drive was. Then I marked it as an active system drive and assigned it a drive letter of C.
<pre>create part primaryformat fs=ntfs label=&quot;256 GB SSD&quot; quickactiveassign letter=c</pre>
</li>
<li>At this point I have a fresh drive ready for some VHDs! The next step could be to continue the install of the OS (see next section). </li>
</ol>
<h1>Install a Fresh Copy of Windows 7 on the Metal, in a Bootable VHD<br />
  <br /></h1>
<p>If I followed the previous steps, I am still in DISKPART. If not, I would follow steps 1-3 in the section above first. </p>
<p>I repeat these steps whenever I need to install a new fresh OS. I can have as many as my drives fits.</p>
<ol>
<li>I start by creating a new VHD on the metal where the OS will be installed. It allows me to choose a fixed size or expandable virtual disk file.The advantage of using fixed is that it will always consume X amount of space and be able to boot. Expandable VHDs take up much less space when not used, but they need to have room to expand when they are booted into. I generally use expandable.
<pre>create vdisk file=c:\win7.vhd maximum=50000 type=expandable</pre>
</li>
<li>Now I select the VHD, attach to it, create a partition on it, and format it.
<pre>select vdisk file=c:\win7.vhdattach vdisk create part primaryformat fs=ntfs label=&quot;Win7&quot; quick</pre>
</li>
<li>Then I exit from DISKPART and exit from the command prompt by typing exit,and exit. This brings me back to the Windows 7 install screen which is waiting for me. </li>
<li>I can now proceed with installation, making sure I choose a custom installation when promoted. Of course, I have to choose the partition I just created. The installation of Windows 7 will happen on the VHD I just created and boot right off the metal. This process creates boot records for me, so I don’t need to create entries using BCDEDIT in the boot record manually which is nice. </li>
</ol>
<h1>Add an Existing VHD to Boot off the Metal</h1>
<p><a name="_MailAutoSig"></a></p>
<p>Sometimes I have an existing VHD that is ready to go and I want to copy it to my computer and run it off the metal. Here are the steps I use to do that. For these steps, I’ll assume I have a Windows 7 VHD with some cool demos on it called Win7MIX11.vhd.</p>
<ol>
<li>Boot into Windows 7 (for example, one of my bootable VHDs of Win 7) </li>
<li>I copy the Win7MIX11.vhd file to the physical hard drive (might take a few minutes) </li>
<li>Open a Command prompt using Run as Administrator </li>
<li>I run the DISKPART utility
<pre>DISKPART</pre>
</li>
<li>I attach to the VHD and exit the DISKPART utility
<pre>select vdisk file=c:\Win7Mix11.vhdattach vdiskexit</pre>
</li>
<li>Now I make it bootable, making sure I use the drive letter that the VHD is attached to (I assume X here).
<pre>BCDBOOT x:\Windows</pre>
</li>
<li>Next I create the boot records so this VHD will be in the list of boot options when I reboot the computer. First I copy a record and give it a name.
<pre>bcdedit /copy {current} /d &quot;MIX11 Demos&quot;</pre>
</li>
<li>Then I take the GUID that the previous command created and I copy it to the clipboard. I will use this a few times in the next statements. </li>
<li>I enter the follow commands in order, replacing the {myguid} with the GUID I copied to my clipboard a moment ago.
<pre>bcdedit /set {myguid} device vhd=[locate]\Win7Mix11.vhdbcdedit /set {myguid} osdevice vhd=[locate]\Win7Mix11.vhdbcdedit /set {myguid} detecthal on</pre>
</li>
<li>Now I can reboot and my Windows 7 VHD for Mix11 demos should show up in my boot options as “MIX1 Demos” </li>
</ol>
<h1>Verification</h1>
<p>Here is a screen capture of my Windows Explorer when I am booted into one of my Win7 VHDs. The D: drive is my physical hard drive, my SSD. Now that I see this I realize I should have made that the C drive letter. Oops. Not a big deal obviously.<img alt="Smile" src="http://johnpapa.net/Media/Default/Windows-Live-Writer/428f6aedc0fc_13111/wlEmoticon-smile_2.png" /></p>
<p>&#160;</p>
<p><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Windows_VHD_Post_Disks.png"><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="Windows_VHD_Post_Disks" border="0" alt="Windows_VHD_Post_Disks" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Windows_VHD_Post_Disks_thumb.png" width="545" height="109" /></a></p>
<p>The C: drive is the VHD I am booted into. The total size of my 240 GB OCZ 3 Vertex SSD is actually 223 GB of usable space. The “Win7” VHD is booted and is expanded to 50GB. That file exists on the physical SSD. Any other VHDs are also on the SSD. Here is the SSD in Windows Explorer. Notice that my file Win7.vhd is expanded to 50GB … this is the VHD I am currently running (which is why its expanded). </p>
<p>&#160;</p>
<h1>Wrap Up</h1>
<p>This has worked very well for me recently. There are plenty of other resources on the web that I used to help me along, so I wanted to include some of them here too:</p>
<ul>
<li><a title="http://johnpapa.net/bootoffmetal" href="http://johnpapa.net/bootoffmetal" target="_blank">Installing a Fresh OS to a New Bootable VHD with No Host OS</a> (the article from John Papa this post is based on)</li>
<li><a href="http://www.hanselman.com/blog/LessVirtualMoreMachineWindows7AndTheMagicOfBootToVHD.aspx" target="_blank">Less Virtual, More Machine by Scott Hanselman</a> </li>
<li><a href="http://blogs.msdn.com/b/delay/archive/2009/12/03/normal-booting-is-old-school-windows-7-tricks-detailed-usb-key-install-vhd-creation-and-native-vhd-boot-dual-boot.aspx" target="_blank">David Anson’s post on creating VHDs that boot off the metal</a> </li>
<li>Great shots <a href="http://www.zdnet.com/blog/hardware/how-to-getting-started-with-vhd-files-in-windows-7/3324?pg=2" target="_blank">in this post</a> and <a href="http://www.fanhow.com/knowhow:Install_Windows_7_to_VHD_27553253" target="_blank">in this other post</a> of the screens I see when I install a fresh OS and use the SHIFT F10 technique </li>
</ul>
<p>None of this is earth shattering, its all been done before. I was hesitant at first due to the nature of DISKPART and how a mistake can mean I wiped the drive clean. But recently I decided to upgrade to a new SSD and I had little risk because it was already a new drive. I f you intend on going this route, I recommend researching it first using some of the links I suggested above as well as my experience in this post. But also, make sure you only try this on a drive that is clean or you are OK with wiping clean.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Installing+Windows+to+a+new+bootable+VHD+with+no+host+OS+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1203" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Installing+Windows+to+a+new+bootable+VHD+with+no+host+OS+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1203" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2011/05/07/installing-windows-to-a-new-bootable-vhd-with-no-host-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Thin PC Release Candidate Now Available</title>
		<link>http://www.christiano.ch/wordpress/2011/05/07/windows-thin-pc-release-candidate-now-available/</link>
		<comments>http://www.christiano.ch/wordpress/2011/05/07/windows-thin-pc-release-candidate-now-available/#comments</comments>
		<pubDate>Sat, 07 May 2011 07:13:07 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[WinTPC]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2011/05/07/windows-thin-pc-release-candidate-now-available/</guid>
		<description><![CDATA[I’m pleased to announce the Release Candidate (RC) for Windows Thin PC (WinTPC) is now available for download from the WinTPC RC site. It’s been a busy month for the Windows Thin PC team. Since the launch of the Windows &#8230; <a href="http://www.christiano.ch/wordpress/2011/05/07/windows-thin-pc-release-candidate-now-available/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I’m pleased to announce the<strong> Release Candidate (RC) for Windows Thin PC (WinTPC) is now available for download from the </strong><a href="https://connect.microsoft.com/site1223/program6994" target="_blank">WinTPC RC site</a><strong></strong>. It’s been a busy month for the <a href="http://www.microsoft.com/windows/enterprise/solutions/virtualization/products/thinpc.aspx" target="_blank">Windows Thin PC</a> team. Since the launch of the <a href="https://connect.microsoft.com/site1223/program6994" target="_blank">Windows Thin PC Community Technology Preview (CTP) program</a> on March 28 we have seen tremendous interest in the product with thousands of downloads of the software. So, we would like to take this opportunity to recognize our enthusiastic community of well over 12,000 customers and partners who have signed up for the Technology Preview program. Thank you for helping us to create a great product! Please keep sending us your suggestions; it is valuable as we continue our software development.</p>
<p>Many of you have been inquiring as to when the product will be available to customers outside the CTP Program. I’d like to take the opportunity to announce that we plan to Release to Manufacturing (RTM) within this quarter (Q2 CY2011). Windows Thin PC will be made available as an SA benefit, and customers with active SA or Windows VDA on their Windows PCs will be able to deploy Windows Thin PC to their environments after RTM. For more information on Windows Thin PC, <a href="http://download.microsoft.com/download/B/4/9/B49ED982-2FDE-43EC-8F85-1CE4077A71F5/WinTPC%20FAQ%20v1%200.pdf" target="_blank">check out the FAQ</a>. </p>
<p>&#160;</p>
<h1>Links</h1>
<p><a title="http://windowsteamblog.com/windows/b/business/archive/2011/05/02/windows-thin-pc-release-candidate-now-available.aspx" href="http://windowsteamblog.com/windows/b/business/archive/2011/05/02/windows-thin-pc-release-candidate-now-available.aspx">windowsteamblog.com</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Windows+Thin+PC+Release+Candidate+Now+Available+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1196" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Windows+Thin+PC+Release+Candidate+Now+Available+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1196" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2011/05/07/windows-thin-pc-release-candidate-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Exec, Volume Shadow Copy, Permissions etc</title>
		<link>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/</link>
		<comments>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/#comments</comments>
		<pubDate>Sun, 01 May 2011 09:57:13 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Backup Exec]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[CAPI2]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[icacls]]></category>
		<category><![CDATA[VSS]]></category>
		<category><![CDATA[vssadmin]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/</guid>
		<description><![CDATA[Ok, long story short, it all started with a Backup Exec 12.0 job suddenly failing.. One part of the whole job is backuping Exchange Server 2007 using a remote agent and the exchange server. In the job log of Backup &#8230; <a href="http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strike></strike><br />
<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="607">Ok, long story short, it all started with a Backup Exec 12.0 job suddenly failing.. One part of the whole job is backuping Exchange Server 2007 using a remote agent and the exchange server. In the job log of Backup Exec, i got a <strong>‘Final error: 0xe000fed1 &#8211; A failure occurred querying the Writer status. ‘ </strong>ok, initially i thought, this is nothing new.. querying the writer status and seeing what this one’s reporting .. </td>
<td valign="top" width="67"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo.jpg"><img style="display: inline" title="Logo_winlogo" alt="Logo_winlogo" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/Logo_winlogo_thumb.jpg" width="102" height="91" /></a></td>
</tr>
</tbody>
</table>
<p><span id="more-1194"></span>
<p><strong>This is the Backup Exec 12.0 Job log:</strong> </p>
<pre>Job ended: Donnerstag, 28. April 2011 at 23:00:12
Completed status: Failed
Final error: 0xe000fed1 - A failure occurred querying the Writer status.
Final error category: Resource Errors

For additional information regarding this error refer to link <a href="http://eventlookup.veritas.com/eventlookup/EventLookup.jhtml?EvtID=V-79-57344-65233" target="_blank">V-79-57344-65233</a></pre>
<p><strong>and this:</strong> </p>
<pre><tt>Click an error below to locate it in the job log

Backup- server.domain.localV-79-57344-34110 - AOFO: Initialization failure on: &quot;\\server.domain.local\Microsoft Information Store\xyz Storage Group&quot;. Advanced Open File Option used: Microsoft Volume Shadow Copy Service (VSS).Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status. Check the Windows Event Viewer for details. Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: The VSS Writer failed, but the operation can be retried (0x800423f3), State: Waiting for backup complete notification (5). </tt></pre>
<p><strong>VssAdmin List Writers reported:</strong> </p>
<pre>Writer name: 'Microsoft Exchange Writer'
  Writer Id: {76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}Writer Instance Id: {c0784b22-2777-47ea-955c-6302ef023141}   State: [5] Waiting for completion
Last error: No error</pre>
<p><strong>Checking Event Viewer: </strong></p>
<pre><strong>Source: VSS

Event ID: 8193</strong>Volume Shadow Copy Service error: Unexpected error calling routine ConvertStringSidToSid.hr = 0x80070539. Operation:
OnIdentify event
Gathering Writer DataContext:
Execution Context: Shadow Copy Optimization Writer
Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
Writer Name: Shadow Copy Optimization Writer
Writer Instance ID: {e439464c-084e-42a6-bebb-79f6c877804e}</pre>
<p><strong>i got this solved by following <a href="http://social.technet.microsoft.com/Forums/en/winserverfiles/thread/7b52f7c1-a783-409e-9af3-da64567676df" target="_blank">MSFT-David Shen’s tip</a>.. =&gt; Just deleted a Profile with a .bak extension..</strong></p>
<pre>Hi,

According to the research, the issue may be caused by an invalid entry inside the following registry sub tree.

<strong>HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\ProfileList</strong>

Please open the registry editor with regedit.

Expand and local to the subtree, check if there is an entry that has a &quot;.bak&quot; value appended. If so, this may be cause the failure when trying to resolve the SID of the writer.

Please backup the registry key first, and then delete that entry with the extra &quot;.bak&quot;

Then you may reboot the problematic server to check if it the issue can be fixed.</pre>
<p>&#160;</p>
<p>Ok, this solved the above mentioned error with EventID 8193</p>
<p>But there was another error, kept me from running the backup job successfully.. </p>
<pre>Source: CAPI2
Event ID: 513
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.

Details:
AddCoreCsiFiles : BeginFileEnumeration() failed.

System Error:
Access is denied.
.</pre>
<p>&#160;</p>
<p><strong><a href="http://technet.microsoft.com/en-us/library/cc734021(WS.10).aspx" target="_blank">Microsoft Technet</a></strong><strong> writes:</strong></p>
<hr />
<h4>Event Details</h4>
<p><strong>Product:</strong> </p>
<p>Windows Operating System</p>
<p><strong>ID:</strong> </p>
<p>513</p>
<p><strong>Source:</strong> </p>
<p>Microsoft-Windows-CAPI2</p>
<p><strong>Version:</strong> </p>
<p>6.0</p>
<p><strong>Symbolic Name:</strong> </p>
<p>MSG_SYSTEMWRITER_ONIDENTITY_FAILURE</p>
<p><strong>Message:</strong> </p>
<p>Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.%1.</p>
<h4>Resolve</h4>
<h5>Modify the access control list on the registration folder</h5>
<p>Component Object Model (COM) applications must be able to access the COM+ catalog files that are stored in the COM catalog folder. If the default access control list is changed on the COM catalog folder within the Windows folder, the Shadow Copy System Writer may not work properly.</p>
<p>To perform this procedure, you must be a member of the local <strong>Administrators</strong> group, or you must have been delegated the appropriate authority.</p>
<p>To modify the access control list on the COM catalog folder:</p>
<ol>
<li>Click <strong>Start</strong>, and then click <strong>Computer</strong>. </li>
<li>Navigate to <em>%systemdrive%</em>\Windows.
<p>By default, <em>%systemdrive%</em> is located at C:\.</p>
</li>
<li>Right-click <strong>Registration</strong>, click <strong>Properties</strong>, and then click the <strong>Security</strong> tab. </li>
<li>Click <strong>Advanced</strong>, and then click <strong>Edit</strong>. </li>
<li>If the <strong>User Account Control</strong> dialog box appears, confirm that the action it displays is what you want, and then click <strong>Continue</strong>. </li>
<li>Click <strong>Edit</strong> to view the special permissions assigned to this folder. </li>
<li>Ensure that the access control list matches the following criteria:
<ul>
<li>The local Administrators group has <strong>Full Control</strong> permissions applied to <strong>This folder and files</strong>. </li>
<li>The Everyone group has <strong>List folder/read data</strong>, <strong>Read attributes</strong>, <strong>Read extended attributes</strong>, and <strong>Read permissions</strong> applied to <strong>This folder and files</strong>. </li>
<li>The local SYSTEM account has <strong>Full Control</strong> permissions applied to <strong>This folder and files</strong>. </li>
</ul>
</li>
<li>If the permissions on this folder do not match what is listed in this procedure, make the appropriate changes, and then click <strong>OK</strong>. </li>
</ol>
<h4>Verify</h4>
<p>To perform this procedure, you must be a member of the local <strong>Administrators</strong> group, or you must have been delegated the appropriate authority.</p>
<p>To verify that the Shadow Copy System Writer is working properly:</p>
<ol>
<li>Click <strong>Start</strong>, point to <strong>All Programs</strong>, and then click <strong>Accessories</strong>. </li>
<li>Right-click <strong>Command Prompt</strong>, and then click <strong>Run as administrator</strong>. </li>
<li>If the <strong>User Account Control</strong> dialog box appears, confirm that the action it displays is what you want, and then click <strong>Continue</strong>. </li>
<li>In the command prompt window, type <strong>vssadmin list writers</strong>. </li>
<li>Ensure that <strong>Writer Name: &#8216;System Writer&#8217;</strong> is displayed in the list. </li>
</ol>
<hr />i followed these instructions, but the problem still existed. When calling <em>VssAdmin List Writers</em>&#160; the System Writer wasn’t listed .. </p>
<p>I started Process Monitor and found an ACCESS DENIED on <em>C:\Windows\winsxs\FileMaps\$$.cdf-ms</em> for the <em>NT AUTHORITY\NETWORK SERVICE</em>. Funny, the guys writing Technet Articles and Help for MS don’t even know their own system in deep .. rofl .. however, granting NT AUTHORITY\NETWORK SERVICE the necessary rights, solved also this issue.</p>
<p><strong>here’s my powershell get-history (including typos and retries <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://www.christiano.ch/wordpress/wp-content/uploads/2011/05/wlEmoticon-winkingsmile.png" />), maybe it will help you: </strong></p>
<hr />
<p>[PS] C:\Windows\system32&gt;Get-History</p>
<p>&#160; Id CommandLine<br />
  <br />&#160; &#8212; &#8212;&#8212;&#8212;&#8211; </p>
<p>&#160; 14 .\vssadmin.exe list writers </p>
<p>&#160; 15 icacls </p>
<p>&#160; 16 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 17 .\vssadmin.exe list writers </p>
<p>&#160; 18 icacls /? </p>
<p>&#160; 19 .\vssadmin.exe list writers </p>
<p>&#160; 20 Takeown /f %windir%\winsxs\filemaps\* /a </p>
<p>&#160; 21 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 22 icacls %windir%\winsxs\filemaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 23 icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 24 icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 25 icacls </p>
<p>&#160; 26 icacls %windir%\winsxs\filemaps\*.* /grant &quot;BUILTIN\Users:(RX)&quot; </p>
<p>&#160; 27 .\vssadmin.exe list writers </p>
<p>&#160; 28 .\vssadmin.exe list writers </p>
<p>&#160; 29 .\icacls.exe %windir%\winsxs\filemaps\*.* grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 30 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 31 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 32 .\vssadmin.exe list writers </p>
<p>&#160; 33 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 34 takeown /f %windir%\winsxs\filemaps\* /a </p>
<p>&#160; 35 takeown </p>
<p><font color="#ff0000"><strong>&#160; 36 takeown /f C:\Windows\winsxs\FileMaps\* /a<br />
      <br />&#160; 37 icaclc C:\Windows\winsxs\FileMaps\*.* /grant </p>
<p>&#160; 38 icaclc C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 39 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT AUTHORITY\SYSTEM:(RX)&quot; </p>
<p>&#160; 40 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;NT Service\trustedinstaller:(F)&quot; </p>
<p>&#160; 41 icacls C:\Windows\winsxs\FileMaps\*.* /grant BUILTIN\Users:(RX) </p>
<p>&#160; 42 icacls C:\Windows\winsxs\FileMaps\*.* /grant &quot;BUILTIN\Users:(RX)&quot; </p>
<p>&#160; 43 .\icacls.exe %windir%\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot; </p>
<p>&#160; 44 .\icacls.exe c:\windows\winsxs\filemaps\*.* /grant &quot;NT AUTHORITY\NETWORK SERVICE:(F)&quot;</strong></font> </p>
<p>&#160; 45 .\vssadmin.exe list writers</p>
<hr />
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%2C+Volume+Shadow+Copy%2C+Permissions+etc+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1194" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Backup+Exec%2C+Volume+Shadow+Copy%2C+Permissions+etc+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1194" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2011/05/01/backup-exec-volume-shadow-copy-permissions-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Releases Beta of DaRT 7 Recovery Tool</title>
		<link>http://www.christiano.ch/wordpress/2011/04/30/microsoft-releases-beta-of-dart-7-recovery-tool/</link>
		<comments>http://www.christiano.ch/wordpress/2011/04/30/microsoft-releases-beta-of-dart-7-recovery-tool/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 07:11:30 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows General]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/?p=1189</guid>
		<description><![CDATA[This week I had a chance to sit down with Brad McCabe, the product manager for DaRT (Diagnostics and Recovery Toolset). DaRT has been a favorite tool for many IT Pros, dating back to its days as part of Winternals &#8230; <a href="http://www.christiano.ch/wordpress/2011/04/30/microsoft-releases-beta-of-dart-7-recovery-tool/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This week I had a chance to sit down with Brad McCabe, the product manager for DaRT (Diagnostics and Recovery Toolset). DaRT has been a favorite tool for many IT Pros, dating back to its days as part of Winternals Admin Pack. DaRT has continued to evolve since then but it’s still focused on helping IT Pros easily recover PCs that have become unstable, rapidly diagnose probable causes of issues, and quickly repair unbootable or locked out systems, all faster than the average time it takes to reimage the machine.</p>
<p>Customer can sign up for that Beta today <a href="http://go.microsoft.com/fwlink/?LinkID=213952" target="_blank">here</a>. Larger customers wanting to deploy DaRT 7 now can email us at <a href="mailto:dart7ct@microsoft.com">dart7ct@microsoft.com</a> to find out if they qualify to join the DaRT TAP program. The TAP program will allow them deep interaction with the product team and assistance in deploying and testing DaRT 7 in their production environment today.</p>
<p><em>IT Pros can learn more about MBAM (content coming soon) as well as DaRT, AGPM, AIS and the rest of the tools in MDOP in the </em><a href="http://technet.microsoft.com/en-us/windows/bb899442.aspx" target="_blank"><em>MDOP Zone on the Springboard Series on TechNet</em></a><em>.</em></p>
<p>read more <a title="A Peek Into The Upcoming DaRT 7 Release" href="http://windowsteamblog.com/windows/b/springboard/archive/2011/03/23/a-peek-into-the-upcoming-dart-7-release.aspx" target="_blank">here</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Releases+Beta+of+DaRT+7+Recovery+Tool+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1189" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Microsoft+Releases+Beta+of+DaRT+7+Recovery+Tool+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1189" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2011/04/30/microsoft-releases-beta-of-dart-7-recovery-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Run a cmd under system account / gain access to system account</title>
		<link>http://www.christiano.ch/wordpress/2010/11/28/how-to-run-a-cmd-under-system-account-gain-access-to-system-account/</link>
		<comments>http://www.christiano.ch/wordpress/2010/11/28/how-to-run-a-cmd-under-system-account-gain-access-to-system-account/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 08:45:19 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips n'Tricks]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2010/11/28/how-to-run-a-cmd-under-system-account-gain-access-to-system-account/</guid>
		<description><![CDATA[There is an account in Microsoft Windows that is more powerful than the Administrator account in Windows Operating Systems. That account is called System account it is similar to the root OR super user in the Linux/Unix world . I &#8230; <a href="http://www.christiano.ch/wordpress/2010/11/28/how-to-run-a-cmd-under-system-account-gain-access-to-system-account/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="592">
<p>There is an account in <strong>Microsoft Windows</strong> that is more powerful than the <strong>Administrator</strong> account in Windows Operating Systems. That account is called System account it is similar to the <strong>root</strong> OR super user in the Linux/Unix world . I will show you how to access this <strong>system account</strong> in this article.</p>
</td>
<td valign="top" width="82"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/11/Logo_TipsNtrickByWwwChristiano1.png"><img style="display: inline" title="Logo_TipsNtrickByWwwChristiano" alt="Logo_TipsNtrickByWwwChristiano" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/11/Logo_TipsNtrickByWwwChristiano_thumb1.png" width="240" height="80" /></a></td>
</tr>
</tbody>
</table>
<p>  <span id="more-1176"></span>
<p>In the ‘good old days’ of Windows 2000 / Windows XP there was this AT.exe command with the /interactive parameter/switch.. if you scheduled a task using </p>
<p>AT 12:34 /interactive cmd.exe</p>
<p>cmd.exe was started by the scheduler windows service and since this service was running under system account, the cmd.exe process was created by local system authority =&gt; result, your cmd.exe process was running as system.</p>
<p>Nowadays, with Windows 7 / Windows Vista and UAC and other improvements, the AT /interactive way does no longer work. but (for sake of Christ) there are those SysInternal Tools by the almighty doctor Russinovich. Especially we’re looking at the psexec.exe tool in this post .. So, to run a cmd.exe or any other process as system, just download psexec.exe and call it as follows:</p>
<blockquote><p>C:\&gt;<strong>\Temp\SysinternalsSuite\PsExec.exe -i -d -s cmd.exe</strong></p>
<p>PsExec v1.98 &#8211; Execute processes remotely     <br />Copyright (C) 2001-2010 Mark Russinovich      <br />Sysinternals &#8211; www.sysinternals.com</p>
<p>cmd.exe started on CONWKS100 with process ID 5220.      </p>
</blockquote>
<p>In the opened cmd.exe type:</p>
<blockquote><p>C:\Windows\system32&gt;<strong>whoami</strong>      <br />nt authority\system</p>
<p>C:\Windows\system32&gt;</p>
</blockquote>
<p>and you’ll see, you’re ‘the god of your system’ and you have all privileges.</p>
<h3>Links</h3>
<p>SysInternals psexec.exe can be downloaded <a title="Download SysInternals psexec.exe" href="http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx" target="_blank">here</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=How+to%3A+Run+a+cmd+under+system+account+%2F+gain+access+to+system+account+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1176" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=How+to%3A+Run+a+cmd+under+system+account+%2F+gain+access+to+system+account+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1176" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2010/11/28/how-to-run-a-cmd-under-system-account-gain-access-to-system-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Did you know about the Shell: Extension to open special Folders in Windows (XP, Vista and 7)?</title>
		<link>http://www.christiano.ch/wordpress/2010/09/02/did-you-know-about-the-shell-extension-to-open-special-folders-in-windows-xp-vista-and-7/</link>
		<comments>http://www.christiano.ch/wordpress/2010/09/02/did-you-know-about-the-shell-extension-to-open-special-folders-in-windows-xp-vista-and-7/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 04:54:56 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips n'Tricks]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[Shell Extension]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2010/09/02/did-you-know-about-the-shell-extension-to-open-special-folders-in-windows-xp-vista-and-7/</guid>
		<description><![CDATA[Recently a friend was surprised when i opened the SendTo folder using the Shell: Extension. Apparently the Shell: Extenstion still not widely known. Therefore, I write a review about it. As an entry: using Shell:SendTo (it is not case sensitive) &#8230; <a href="http://www.christiano.ch/wordpress/2010/09/02/did-you-know-about-the-shell-extension-to-open-special-folders-in-windows-xp-vista-and-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="337">Recently a friend was surprised when i opened the <strong>SendTo</strong> folder using the <strong>Shell</strong>: Extension. Apparently the <strong>Shell</strong>: Extenstion still not widely known. Therefore, I write a review about it.           <br />As an entry: using <strong>Shell:SendTo</strong> (it is not case sensitive) Put that in a Run box (Windows-R key combination), the <strong>SendTo</strong> <strong>Folder</strong> will open in Windows Explorer.</td>
<td valign="top" width="337"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/09/Logo_winlogo.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Logo_winlogo" border="0" alt="Logo_winlogo" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/09/Logo_winlogo_thumb.jpg" width="165" height="146" /></a> </td>
</tr>
</tbody>
</table>
<p> <span id="more-1131"></span>
<p>The <strong>Shell:</strong> extension or command can be used to open various special folders using the Run dialog / box. To get an overview / a list of the available, well, let’s call them special folders, open RegEdit.exe and navigate to</p>
<pre>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions</pre>
<h4>&#160;</h4>
<p>There’s another hidden, not so well known Shell trick. I’ve written about it a few month ago, you can find it <a title="Windows 7: Show all control panel tasks aka god mode" href="http://www.christiano.ch/wordpress/2010/01/26/windows-7-show-all-control-panel-tasks-aka-god-mode-shelled7ba470-8e54-465e-825c-99712043e01c/" target="_blank">here</a>. It’s about how to show all (normally you won’t see all) Tasks/Applets in the Windows Control Panel.</p>
<h1>List of Shell: Command in Windows<br />
  <br /></h1>
<h4>Shell: commands in Windows 7</h4>
<p>In addition to the most of the shell commands in Windows Vista, Windows 7 also has these new commands in <b>addition</b>:</p>
<ul>
<li>shell:Libraries </li>
<li>shell:MusicLibrary </li>
<li>shell:VideosLibrary </li>
<li>shell:OtherUsersFolder </li>
<li>shell:Device Metadata Store </li>
<li>shell:PublicSuggestedLocations </li>
<li>shell:SuggestedLocations </li>
<li>shell:RecordedTVLibrary </li>
<li>shell:UserProgramFiles </li>
<li>shell:DocumentsLibrary </li>
<li>shell:User Pinned </li>
<li>shell:UsersLibrariesFolder </li>
<li>shell:PicturesLibrary </li>
<li>shell:ImplicitAppShortcuts </li>
<li>shell:UserProgramFilesCommon </li>
<li>shell:Ringtones </li>
<li>shell:CommonRingtones </li>
</ul>
<h4>Shell: commands in Windows Vista</h4>
<ul>
<li>shell:Common Programs </li>
<li>shell:GameTasks </li>
<li>shell:UserProfiles </li>
<li>shell:MyComputerFolder </li>
<li>shell:SyncSetupFolder </li>
<li>shell:DpapiKeys </li>
<li>shell:SamplePlaylists </li>
<li>shell:Favorites </li>
<li>shell:My Video </li>
<li>shell:SearchHomeFolder </li>
<li>shell:System </li>
<li>shell:CommonVideo </li>
<li>shell:SyncResultsFolder </li>
<li>shell:LocalizedResourcesDir </li>
<li>shell:Cookies </li>
<li>shell:Original Images </li>
<li>shell:CommonMusic </li>
<li>shell:My Pictures </li>
<li>shell:Cache </li>
<li>shell:Downloads </li>
<li>shell:CommonDownloads </li>
<li>shell:AppData </li>
<li>shell:SyncCenterFolder </li>
<li>shell:My Music </li>
<li>shell:ConflictFolder </li>
<li>shell:SavedGames </li>
<li>shell:InternetFolder </li>
<li>shell:Quick Launch </li>
<li>shell:SystemCertificates </li>
<li>shell:Contacts </li>
<li>shell:TreePropertiesFolder </li>
<li>shell:Profile </li>
<li>shell:Start Menu </li>
<li>shell:Common AppData </li>
<li>shell:PhotoAlbums </li>
<li>shell:ConnectionsFolder </li>
<li>shell:Administrative Tools </li>
<li>shell:PrintersFolder </li>
<li>shell:Default Gadgets </li>
<li>shell:ProgramFilesX86 </li>
<li>shell:Searches </li>
<li>shell:Common Startup </li>
<li>shell:ControlPanelFolder </li>
<li>shell:SampleVideos </li>
<li>shell:SendTo </li>
<li>shell:ResourceDir </li>
<li>shell:ProgramFiles </li>
<li>shell:CredentialManager </li>
<li>shell:PrintHood </li>
<li>shell:MAPIFolder </li>
<li>shell:CD Burning </li>
<li>shell:AppUpdatesFolder </li>
<li>shell:Common Start Menu </li>
<li>shell:LocalAppDataLow </li>
<li>shell:Templates </li>
<li>shell:Gadgets </li>
<li>shell:Programs </li>
<li>shell:Recent </li>
<li>shell:SampleMusic </li>
<li>shell:Desktop </li>
<li>shell:CommonPictures </li>
<li>shell:RecycleBinFolder </li>
<li>shell:CryptoKeys </li>
<li>shell:Common Templates </li>
<li>shell:Startup </li>
<li>shell:Links </li>
<li>shell:OEM Links </li>
<li>shell:SamplePictures </li>
<li>shell:Common Desktop </li>
<li>shell:NetHood </li>
<li>shell:Games </li>
<li>shell:Common Administrative Tools </li>
<li>shell:NetworkPlacesFolder </li>
<li>shell:SystemX86 </li>
<li>shell:History </li>
<li>shell:AddNewProgramsFolder </li>
<li>shell:Playlists </li>
<li>shell:ProgramFilesCommonX86 </li>
<li>shell:PublicGameTasks </li>
<li>shell:ChangeRemoveProgramsFolder </li>
<li>shell:Public </li>
<li>shell:Common Documents </li>
<li>shell:CSCFolder </li>
<li>shell:Local AppData </li>
<li>shell:Windows </li>
<li>shell:UsersFilesFolder </li>
<li>shell:ProgramFilesCommon </li>
<li>shell:Fonts </li>
<li>shell:Personal </li>
</ul>
<h4>Shell: commands in Windows XP</h4>
<ul>
<li>shell:Common Programs </li>
<li>shell:Favorites </li>
<li>shell:My Video </li>
<li>shell:System </li>
<li>shell:CommonVideo </li>
<li>shell:LocalizedResourcesDir </li>
<li>shell:Cookies </li>
<li>shell:My Pictures </li>
<li>shell:Cache </li>
<li>shell:AppData </li>
<li>shell:My Music </li>
<li>shell:InternetFolder </li>
<li>shell:Profile </li>
<li>shell:Start Menu </li>
<li>shell:Common AppData </li>
<li>shell:ConnectionsFolder </li>
<li>shell:Administrative Tools </li>
<li>shell:PrintersFolder </li>
<li>shell:ProgramFiles </li>
<li>shell:Common Startup </li>
<li>shell:ControlPanelFolder </li>
<li>shell:SendTo </li>
<li>shell:ResourceDir </li>
<li>shell:ProgramFiles </li>
<li>shell:PrintHood </li>
<li>shell:CD Burning </li>
<li>shell:Common Start Menu </li>
<li>shell:Templates </li>
<li>shell:Programs </li>
<li>shell:Recent </li>
<li>shell:Desktop </li>
<li>shell:CommonPictures </li>
<li>shell:RecycleBinFolder </li>
<li>shell:Common Templates </li>
<li>shell:Startup </li>
<li>shell:Common Desktop </li>
<li>shell:NetHood </li>
<li>shell:Common Administrative Tools </li>
<li>shell:SystemX86 </li>
<li>shell:History </li>
<li>shell:Common Documents </li>
<li>shell:Local AppData </li>
<li>shell:Windows </li>
<li>shell:Fonts </li>
<li>shell:Personal </li>
</ul>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Did+you+know+about+the+Shell%3A+Extension+to+open+special+Folders+in+Windows+%28XP%2C+Vista+and+7%29%3F+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1131" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Did+you+know+about+the+Shell%3A+Extension+to+open+special+Folders+in+Windows+%28XP%2C+Vista+and+7%29%3F+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1131" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2010/09/02/did-you-know-about-the-shell-extension-to-open-special-folders-in-windows-xp-vista-and-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Did you know about DiskShadow? Creating Shadow Copy from the command line</title>
		<link>http://www.christiano.ch/wordpress/2010/07/16/did-you-know-about-diskshadow-creating-shadow-copy-from-the-command-line/</link>
		<comments>http://www.christiano.ch/wordpress/2010/07/16/did-you-know-about-diskshadow-creating-shadow-copy-from-the-command-line/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 06:27:55 +0000</pubDate>
		<dc:creator>christian</dc:creator>
				<category><![CDATA[CMD / Batch]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows General]]></category>
		<category><![CDATA[DiskShadow]]></category>

		<guid isPermaLink="false">http://www.christiano.ch/wordpress/2010/07/16/did-you-know-about-diskshadow-creating-shadow-copy-from-the-command-line/</guid>
		<description><![CDATA[This can be an alternative for taking a Snapshot in Hyper-V.. According to TechNet @Microsoft they state: DiskShadow.exe is a tool that exposes the functionality offered by the Volume Shadow Copy Service (VSS). By default, DiskShadow uses an interactive command &#8230; <a href="http://www.christiano.ch/wordpress/2010/07/16/did-you-know-about-diskshadow-creating-shadow-copy-from-the-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="2" width="675">
<tbody>
<tr>
<td valign="top" width="690">This can be an alternative for taking a Snapshot in Hyper-V..         <br />According to TechNet @Microsoft they state: DiskShadow.exe is a tool that exposes the functionality offered by the Volume Shadow Copy Service (VSS). By default, DiskShadow uses an interactive command interpreter similar to that of DiskRAID or DiskPart. DiskShadow also includes a scriptable mode.</td>
<td valign="top" width="10"><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/Logo_windowsserver2008hypervlogov_21.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Logo_windows-server-2008-hyper-v-logo-v_2" border="0" alt="Logo_windows-server-2008-hyper-v-logo-v_2" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/Logo_windowsserver2008hypervlogov_2_thumb1.png" width="165" height="78" /></a> </td>
</tr>
</tbody>
</table>
<p> <span id="more-1053"></span>
<p><strong>Note</strong>: DiskShadow.exe is not supported on Windows Server 2003 / Windows Vista!</p>
<p>Here are the commands for diskshadow to back up the VHD using VSS (its kicks off vss inside the VM so the data is consistent)   </p>
<p>Go to cmd prompt:    </p>
<p><em>diskshadow.exe     <br />set context persistent      <br />add volume d: alias ddrive      <br />set verbose on      <br />create      <br />expose %ddrive% y:</em>    </p>
<p>This will take a VSS snapshop of my D drive (where my vhd lives) and then mounts it as drive letter Y: Now copy the contents of Y: to a safe place. When your done you can delete the snapshop and unmount Y:    <br />Delete Shadows Volume D:    <br /><em>     <br />unexpose y:</em></p>
<p>&#160;</p>
<p>The following sequence generates a shadow copy on volume D: that remains even after the end of the program but not on the file system as &quot;previous version&quot; is available. Theoretically, you could run this script periodically. </p>
<p><em>set context persistent     <br />begin backup      <br />add volume e:      <br />create      <br />end backup</em></p>
<p><em></em></p>
<p><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/DiskShadow_Create_Backup_Shadow.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DiskShadow_Create_Backup_Shadow" border="0" alt="DiskShadow_Create_Backup_Shadow" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/DiskShadow_Create_Backup_Shadow_thumb.png" width="666" height="561" /></a> </p>
<p><em></em></p>
<p>The Fact that shadow copies for this volume are in use can also be seen in explorer. Right-click the drive D: and go to <em>Shadow Copies</em></p>
<p><a href="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/DiskShadow_ShowShadowsExplorerDriveProperties.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DiskShadow_ShowShadowsExplorerDriveProperties" border="0" alt="DiskShadow_ShowShadowsExplorerDriveProperties" src="http://www.christiano.ch/wordpress/wp-content/uploads/2010/07/DiskShadow_ShowShadowsExplorerDriveProperties_thumb.png" width="367" height="516" /></a> </p>
<p>&#160;</p>
<p>To list the shadow just use </p>
<p><em>List Shadows</em></p>
<p>and to expose a specific shadow</p>
<p><em>expose {ShadowCopyId} V:</em></p>
<p>don’t forget to discard / unexpose the drive when done!</p>
<p><em>unexpose V:</em></p>
<p><strong>Links</strong></p>
<p><a title="DiskShadow Documentation @Microsoft Technet" href="http://technet.microsoft.com/de-de/library/cc772172(WS.10).aspx" target="_blank">DiskShadow Documentation @Microsoft Technet</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Did+you+know+about+DiskShadow%3F+Creating+Shadow+Copy+from+the+command+line+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1053" title="Post to Twitter"><img class="nothumb" src="http://www.christiano.ch/wordpress/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/intent/tweet?text=Did+you+know+about+DiskShadow%3F+Creating+Shadow+Copy+from+the+command+line+http%3A%2F%2Fchristiano.ch%2Fwordpress%2F%3Fp%3D1053" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.christiano.ch/wordpress/2010/07/16/did-you-know-about-diskshadow-creating-shadow-copy-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

