<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0">
  <channel>
    <title>There's ALWAYS Room for Jelly!</title>
    <link>http://www.docjelly.com/Blog/</link>
    <description>Shivering on the 49th Parallel</description>
    <language>en-us</language>
    <copyright>Mark Faccin</copyright>
    <lastBuildDate>Fri, 26 Oct 2012 21:16:14 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.7067.0</generator>
    <managingEditor>mark@docjelly.com</managingEditor>
    <webMaster>mark@docjelly.com</webMaster>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TheresAlwaysRoomForJelly" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="theresalwaysroomforjelly" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>19</geo:lat><geo:long>-81</geo:long><item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=03426c3f-3d3e-42f1-ab25-cc061f99afd9</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,03426c3f-3d3e-42f1-ab25-cc061f99afd9.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,03426c3f-3d3e-42f1-ab25-cc061f99afd9.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=03426c3f-3d3e-42f1-ab25-cc061f99afd9</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <title>Installing Windows 8 on an ASUS Zenbook Prime UX31A</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,03426c3f-3d3e-42f1-ab25-cc061f99afd9.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,03426c3f-3d3e-42f1-ab25-cc061f99afd9.aspx</link>
      <pubDate>Fri, 26 Oct 2012 21:16:14 GMT</pubDate>
      <description>&lt;p&gt;
Because this is such a freaky situation, I felt compelled to come and actually post
an item on this dusty old blog because I know I'm not the only person out there who
tried to install it using the "normal" tools only to fail.
&lt;/p&gt;
&lt;p&gt;
Here's the steps I had to take to install Windows 8 on an ASUS Zenbook Prime UX31A
with it's UEFI boot and GPT disk:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Step 1: download Windows 8 and instead of doing the in-place upgrade, save the file
as an .iso&lt;/li&gt;
&lt;li&gt;
Step 2: mount the ISO using Virtual Clone Drive (or your favorite mounting tool)&lt;/li&gt;
&lt;li&gt;
Step 3: insert a 4GB USB drive &amp; format it to &lt;strong&gt;FAT32&lt;/strong&gt; this is a very
important part, and this is why the Microsoft USB/DVD tool does not work, as that
awesome tool formats the USB drive as NTFS.&lt;/li&gt;
&lt;li&gt;
Step 4: copy all the files from the iso over to the flash drive, keeping the directory
structure intact&lt;/li&gt;
&lt;li&gt;
Step 5: reboot and hit ESC when you see the ASUS logo to bring up the boot menu&lt;/li&gt;
&lt;li&gt;
Step 6: Look for and select the UEFI: Lexar yadda yadda yadda (your entry will vary
based on the make of your USB drive) but the UEFI: part is critical&lt;/li&gt;
&lt;li&gt;
Step 7: install windows 8 "normally"&lt;/li&gt;
&lt;/ol&gt;
this is quick &amp; dirty just to get you installed, maybe one day I'll refine it and
add screen shots... but probably not :)&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=03426c3f-3d3e-42f1-ab25-cc061f99afd9" /&gt;&lt;img src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/oacGgQAN3js" height="1" width="1"/&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,03426c3f-3d3e-42f1-ab25-cc061f99afd9.aspx</comments>
      <category>Tech/Microsoft</category>
      <category>Tech/Windows</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">First post of the new year! also can't
be arsed to install WL Writer so doing this in the web form. blech. :) One of my "projects"
for 2012 is to suss out DirectAccess, a transparent "VPN-less" secure connection back
to the mother ship from a roaming corporate laptop. On paper it sounds pretty good,
but from a demonstration point of view, it ranks up there with watching grass grow
or paint dry. When set up and configured, a laptop (or desktop I suppose) out of the
office and off the corporate network can access network resources behind the firewall.
Going the other way, IT can centrally control corporate laptops out in the field via
Group Policy, WSUS and other technologies. To give a demo, you'd take your laptop
off-campus, fire it up, log in... and... use it... not much of a demo :) the stuff
going on behind the scenes is interesting, but not for the average person. My engine,
however, gets running. I ordered up an HP Microserver last month to try this out on.
I suppose I could have installed 2008 R2 on any old computer kicking around, provided
it had two network ports on it, but I also wanted to do a hands-on with this little
server. The HP Microserver is ridiculously cheap for what it is: an HP ProLiant server.
it's about half the size of a breadbox and has four non-hot-swap SATA drive bays,
two memory slots, a PCIe x16 and and a PCIe x1 half-height slot, a 5.25" drive bay
for an optical or tape drive and one large low-rpm fan on the back so it's really
quiet. All that for about $400. I bumped up the price somewhat by doubling the RAM
and adding a server NIC card to get a few more network ports on it, but it was still
under $1000. Putting a copy of Windows Server on it is where most of the expense comes
from. Since this is a test, I put a TechNet/MSDN copy on it and fired it up. There
are a lot of pre-requisites for setting up DirectAccess including a good CA/PKI setup,
and probably the most difficult part: 2 consecutive public IP addresses that don't
end in 09-10. I've got all that covered now, so my next step will be to make some
changes to Active Directory, my edge firewalls and then I can try it out!<img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac" /><xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/DHorPQqEdoU" height="1" width="1" /></body>
      <title>HP Microservers &amp; MS DirectAccess</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac.aspx</link>
      <pubDate>Tue, 20 Mar 2012 16:28:53 GMT</pubDate>
      <description>First post of the new year! also can't be arsed to install WL Writer so doing this in the web form. blech. :)

One of my "projects" for 2012 is to suss out DirectAccess, a transparent "VPN-less" secure connection back to the mother ship from a roaming corporate laptop. On paper it sounds pretty good, but from a demonstration point of view, it ranks up there with watching grass grow or paint dry.

When set up and configured, a laptop (or desktop I suppose) out of the office and off the corporate network can access network resources behind the firewall. Going the other way, IT can centrally control corporate laptops out in the field via Group Policy, WSUS and other technologies. To give a demo, you'd take your laptop off-campus, fire it up, log in... and... use it... not much of a demo :)

the stuff going on behind the scenes is interesting, but not for the average person. My engine, however, gets running.

I ordered up an HP Microserver last month to try this out on. I suppose I could have installed 2008 R2 on any old computer kicking around, provided it had two network ports on it, but I also wanted to do a hands-on with this little server.

The HP Microserver is ridiculously cheap for what it is: an HP ProLiant server. it's about half the size of a breadbox and has four non-hot-swap SATA drive bays, two memory slots, a PCIe x16 and and a PCIe x1 half-height slot, a 5.25" drive bay for an optical or tape drive and one large low-rpm fan on the back so it's really quiet. All that for about $400. I bumped up the price somewhat by doubling the RAM and adding a server NIC card to get a few more network ports on it, but it was still under $1000. Putting a copy of Windows Server on it is where most of the expense comes from. Since this is a test, I put a TechNet/MSDN copy on it and fired it up.

There are a lot of pre-requisites for setting up DirectAccess including a good CA/PKI setup, and probably the most difficult part: 2 consecutive public IP addresses that don't end in  09-10. I've got all that covered now, so my next step will be to make some changes to Active Directory, my edge firewalls and then I can try it out!&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,ae4c083f-cf7e-48af-b4b6-dbec27a6b4ac.aspx</comments>
      <category>Tech/Active Directory</category>
      <category>Tech/Hardware</category>
      <category>Tech/Microsoft</category>
      <category>Tech/Networking</category>
      <category>Tech/Servers</category>
      <category>Tech/Windows</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=0ad782e3-01ab-4202-9f58-a631f0984611</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,0ad782e3-01ab-4202-9f58-a631f0984611.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,0ad782e3-01ab-4202-9f58-a631f0984611.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0ad782e3-01ab-4202-9f58-a631f0984611</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Well this is interesting. First of all, do not move any vhd or avhd files around,
whether your guest VM is running or not.
</p>
        <p>
I came back from a week’s vacation to find that my VMs were pretty much all broken.
Awesomesauce. What happened was that the server that I run SCVMM on is also the Backup
Exec server, and due to a mistake by some end-user, the size of the weekly backup
jumped about 600gb and the backup2disk folder ran out of space and halted all backups.
All the Virtual Machines paused themselves too because the host was out of hard drive
space.
</p>
        <p>
To alleviate the situation, a co-worker found 100gb or so of files in a “snapshot”
folder under the VM’s folder and moved them elsewhere. What he didn’t know or realize
was that these VM files have very specific ACLs that are tied to a username called
NT Virtual Machine\{SID}.
</p>
        <p>
When you move a file in Windows, if you’re copying on the same volume (say from My
Pictures to My Pictures\vacation 2011) it will take it’s permissions with it. When
you move a file to a different volume (to a D drive, or a flash drive or a network
drive) it will inherit the permissions of it’s new home. Normally that’s a good thing,
but for these snapshot files, it’s a bad thing. a very bad thing.
</p>
        <p>
I discovered this when I found &amp; moved the files back to where they were. The
VM still would not start up and was giving all kinds of cryptic errors. unable to
mount, unable to start virtual controller, things like that. I should have made a
note of the exact errors and put them here for people to find, because figuring out
what to do was a bit of a pain. Ultimately I found a KB article that described how
to re-set the permissions and re-assign full control to the NT Virtual Machine\GUID
user to the folder and then each of the avhd files directly using your favorite tool
and mine: icacls.exe
</p>
        <p>
This allowed the machine to re-start up and everything seemed to be OK so after 24
hours I thought I’d figure out how to get rid of those snapshot files and free up
that space “the right way”. The first problem was that I did not have any snapshots
of this VM, so how could I have snapshot files??
</p>
        <p>
I found this article called “<a href="http://http://blog.wassupy.com/2011/02/what-are-these-avhd-files-for-snapshots.html" target="_blank">Hyper-V:
What are these *.avhd files for? Snapshots? But I have no snapshots!</a>” while Googling
around and at first was stumped, because what he was displaying I could not see. I
followed his directions to shut down the VM and power it off (the guest) and realized
that yes it had been paused and rebooted, but it had never been shut down in nearly
two years. I powered it off (it’s an MDT and WSUS server, so no “production” data
on it) and looked around for the “merging 1%” to show up and it didn’t. I couldn’t
figure it out! why couldn’t I see this happening in my SCVMM administrator’s console?
On a whim, I decided to try the “local” Hyper-V MMC snap-in, so I fired up the Server
Manager and drilled down to it. There it was, on the main screen under “Operations”:
Merge in progress: 11%
</p>
        <p>
I watched it for a few minutes and saw that one of the AVHD files disapeared! it was
working! Awesome! so now it’s merging “the big file” which is where all the deployment
images and WSUS download data was and is taking a while longer. As soon as the first
AVHD file disapeared, I looked at the drives and saw that there was now 80GB free
and the backup jobs resumed their steady march.
</p>
        <p>
Once this is done, I’m going to have to do the same to the other Guest VM on this
machine, which IS a production machine and probably has even more data in it, so that
will have to wait for 5pm and run overnight.
</p>
        <img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=0ad782e3-01ab-4202-9f58-a631f0984611" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/InDleSevZSA" height="1" width="1" /></body>
      <title>Cleaning up a Hyper-V host&amp;rsquo;s hard drive of AVHD files</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,0ad782e3-01ab-4202-9f58-a631f0984611.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,0ad782e3-01ab-4202-9f58-a631f0984611.aspx</link>
      <pubDate>Thu, 08 Sep 2011 17:27:09 GMT</pubDate>
      <description>&lt;p&gt;
Well this is interesting. First of all, do not move any vhd or avhd files around,
whether your guest VM is running or not.
&lt;/p&gt;
&lt;p&gt;
I came back from a week’s vacation to find that my VMs were pretty much all broken.
Awesomesauce. What happened was that the server that I run SCVMM on is also the Backup
Exec server, and due to a mistake by some end-user, the size of the weekly backup
jumped about 600gb and the backup2disk folder ran out of space and halted all backups.
All the Virtual Machines paused themselves too because the host was out of hard drive
space.
&lt;/p&gt;
&lt;p&gt;
To alleviate the situation, a co-worker found 100gb or so of files in a “snapshot”
folder under the VM’s folder and moved them elsewhere. What he didn’t know or realize
was that these VM files have very specific ACLs that are tied to a username called
NT Virtual Machine\{SID}.
&lt;/p&gt;
&lt;p&gt;
When you move a file in Windows, if you’re copying on the same volume (say from My
Pictures to My Pictures\vacation 2011) it will take it’s permissions with it. When
you move a file to a different volume (to a D drive, or a flash drive or a network
drive) it will inherit the permissions of it’s new home. Normally that’s a good thing,
but for these snapshot files, it’s a bad thing. a very bad thing.
&lt;/p&gt;
&lt;p&gt;
I discovered this when I found &amp;amp; moved the files back to where they were. The
VM still would not start up and was giving all kinds of cryptic errors. unable to
mount, unable to start virtual controller, things like that. I should have made a
note of the exact errors and put them here for people to find, because figuring out
what to do was a bit of a pain. Ultimately I found a KB article that described how
to re-set the permissions and re-assign full control to the NT Virtual Machine\GUID
user to the folder and then each of the avhd files directly using your favorite tool
and mine: icacls.exe
&lt;/p&gt;
&lt;p&gt;
This allowed the machine to re-start up and everything seemed to be OK so after 24
hours I thought I’d figure out how to get rid of those snapshot files and free up
that space “the right way”. The first problem was that I did not have any snapshots
of this VM, so how could I have snapshot files??
&lt;/p&gt;
&lt;p&gt;
I found this article called “&lt;a href="http://http://blog.wassupy.com/2011/02/what-are-these-avhd-files-for-snapshots.html" target="_blank"&gt;Hyper-V:
What are these *.avhd files for? Snapshots? But I have no snapshots!&lt;/a&gt;” while Googling
around and at first was stumped, because what he was displaying I could not see. I
followed his directions to shut down the VM and power it off (the guest) and realized
that yes it had been paused and rebooted, but it had never been shut down in nearly
two years. I powered it off (it’s an MDT and WSUS server, so no “production” data
on it) and looked around for the “merging 1%” to show up and it didn’t. I couldn’t
figure it out! why couldn’t I see this happening in my SCVMM administrator’s console?
On a whim, I decided to try the “local” Hyper-V MMC snap-in, so I fired up the Server
Manager and drilled down to it. There it was, on the main screen under “Operations”:
Merge in progress: 11%
&lt;/p&gt;
&lt;p&gt;
I watched it for a few minutes and saw that one of the AVHD files disapeared! it was
working! Awesome! so now it’s merging “the big file” which is where all the deployment
images and WSUS download data was and is taking a while longer. As soon as the first
AVHD file disapeared, I looked at the drives and saw that there was now 80GB free
and the backup jobs resumed their steady march.
&lt;/p&gt;
&lt;p&gt;
Once this is done, I’m going to have to do the same to the other Guest VM on this
machine, which IS a production machine and probably has even more data in it, so that
will have to wait for 5pm and run overnight.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=0ad782e3-01ab-4202-9f58-a631f0984611" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,0ad782e3-01ab-4202-9f58-a631f0984611.aspx</comments>
      <category>Tech/Microsoft</category>
      <category>Tech/Servers</category>
      <category>Tech/Windows</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=8766440f-20d8-43fe-a2ac-3a69315991f4</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,8766440f-20d8-43fe-a2ac-3a69315991f4.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,8766440f-20d8-43fe-a2ac-3a69315991f4.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8766440f-20d8-43fe-a2ac-3a69315991f4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Absolutely there is… and stop calling me Shirley.
</p>
        <p>
        </p>
        <p>
Importing and exporting mailboxes is a pretty basic function, yeah? Take for example,
hosted Exchange. Exchange in the cloud. Makes you feel light, fluffy… makes you think
of ice cream, puppy dogs and unicorns… but if you’re not careful it will also make
your wallet lighter, too.
</p>
        <p>
This is one of the big things in “cloud” computing these days, is a lack of governance.
A few years ago, it was virtualization and avoiding server-sprawl. Then it was SharePoint,
governing that from spreading across your network like a cancer. Now it’s the cloud’s
turn.
</p>
        <p>
If you’re paying-by-the-cycle for hosted servers in the cloud, or even just for storage
in the cloud, it makes sense to store the minimum required and pay the least amount
of money, right? Same goes with hosting your mail server in the cloud. In our case,
we pay a small fee per-month to cover the server and the account and that sorta sorta,
but then we also pay per-mailbox on top of that. What happens when someone leaves
the company? in the past, that sort of housekeeping, or mowing the lawn to use another
analogy, just kinda got forgotten about. One day you’re running low on space and you
start looking around and you find 20-30 old employees mailboxes are still laying around
on the Exchange server. You don’t want to outright delete them, and you don’t have
a proper archive solution in place, but you want to get them off the server because
NOW, you’re paying a few bucks per month just to leave them sitting on the server.
</p>
        <p>
It’s not so bad if there are four or five mailboxes sitting around. if you’re paying
$10/month, that’s only $50 per month or $600 per year… pocket change when compared
to the rest of the IT budget. A rounding error. What if it’s 50 mailboxes? what if
it’s 100? now we’re talking the equivalent of someone’s bonus and that’s the kind
of money Accounts is going to notice on Monday morning, Michael Bolton! You and your
shitty little decimal error!… but I digress.
</p>
        <p>
Easiest thing to do would be to export the ex-employees mailbox to a PST and store
it somewhere on your own file server for now. There are two ways you can do it: you
can set up a profile in Outlook, log in as them, sync your mailbox to a local OST
file and then export to PST. OR you can go to the server, right-click on their mailbox
and “export”… except they took that feature out from Exchange Server 2010 RC to the
finished product. Oh well, at least you can do it in the Exchange Management Console,
right? sorta.
</p>
        <p>
First of all, the power wielded by import and export is so great that mere Enterprise
Administrators cannot hold it. Like the sword of fucking Excalibur, only the anointed,
chosen one can pull the Export-Mailbox cmdlet out of the stone.
</p>
        <p>
Obstacle #1: add the “import export mailbox” role to yourself. Some of the blog posts
I found actually recommended creating a new administrator account JUST for holding
this role. I dunno about you, but I have enough passwords and logins to try and remember.
</p>
        <p>
OK, so now I’m anointed, let me export the mailbox… not so fast.
</p>
        <p>
Obstacle #2: you have to have Outlook installed. Outlook 2100 to be exact. No wait,
it HAS to be Outlook 2010 x64. The version that Microsoft themselves tell you not
to bother installing unless you have a specific need for Office x64. I suppose this
would be one them. Once you have all those ducks in a row, congratulations, now you
can do the sorts of tasks that are generally handed down the chain of command to the
new guy or the intern.
</p>
        <p>
Except I pretty much fly solo around here, so it’s back to me again. I suppose in
the grander scheme of things, that because email is now evidentiary, and because of
those ridiculous SOX compliance laws in the US and A, that you have to make sure no
one can tamper with the mailbox, but what a friggin hassle. SOX is the main reason
I didn’t even bother returning any phone calls for jobs in the US last time I was
looking.
</p>
        <p>
To finish off this tragedy, in order to exercise some governance over cloud sprawl,
and save a few bucks per month paying for mailboxes that are no longer used, I’m having
to spin up a Windows 7 Pro x64 Virtual Machine, patch it, then install Office 2010
x64 (even though I’m not even going to use it) and then install the Exchange Management
Tools and configure those and Powershell, JUST to export some frigging mailboxes from
the mail server.
</p>
        <img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=8766440f-20d8-43fe-a2ac-3a69315991f4" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/BfFhknG6230" height="1" width="1" /></body>
      <title>Surely there&amp;rsquo;s a reason why this &amp;ldquo;new&amp;rdquo; version of Exchange 2010 is so bass-ackwards&amp;hellip;</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,8766440f-20d8-43fe-a2ac-3a69315991f4.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,8766440f-20d8-43fe-a2ac-3a69315991f4.aspx</link>
      <pubDate>Tue, 28 Jun 2011 21:58:04 GMT</pubDate>
      <description>&lt;p&gt;
Absolutely there is… and stop calling me Shirley.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Importing and exporting mailboxes is a pretty basic function, yeah? Take for example,
hosted Exchange. Exchange in the cloud. Makes you feel light, fluffy… makes you think
of ice cream, puppy dogs and unicorns… but if you’re not careful it will also make
your wallet lighter, too.
&lt;/p&gt;
&lt;p&gt;
This is one of the big things in “cloud” computing these days, is a lack of governance.
A few years ago, it was virtualization and avoiding server-sprawl. Then it was SharePoint,
governing that from spreading across your network like a cancer. Now it’s the cloud’s
turn.
&lt;/p&gt;
&lt;p&gt;
If you’re paying-by-the-cycle for hosted servers in the cloud, or even just for storage
in the cloud, it makes sense to store the minimum required and pay the least amount
of money, right? Same goes with hosting your mail server in the cloud. In our case,
we pay a small fee per-month to cover the server and the account and that sorta sorta,
but then we also pay per-mailbox on top of that. What happens when someone leaves
the company? in the past, that sort of housekeeping, or mowing the lawn to use another
analogy, just kinda got forgotten about. One day you’re running low on space and you
start looking around and you find 20-30 old employees mailboxes are still laying around
on the Exchange server. You don’t want to outright delete them, and you don’t have
a proper archive solution in place, but you want to get them off the server because
NOW, you’re paying a few bucks per month just to leave them sitting on the server.
&lt;/p&gt;
&lt;p&gt;
It’s not so bad if there are four or five mailboxes sitting around. if you’re paying
$10/month, that’s only $50 per month or $600 per year… pocket change when compared
to the rest of the IT budget. A rounding error. What if it’s 50 mailboxes? what if
it’s 100? now we’re talking the equivalent of someone’s bonus and that’s the kind
of money Accounts is going to notice on Monday morning, Michael Bolton! You and your
shitty little decimal error!… but I digress.
&lt;/p&gt;
&lt;p&gt;
Easiest thing to do would be to export the ex-employees mailbox to a PST and store
it somewhere on your own file server for now. There are two ways you can do it: you
can set up a profile in Outlook, log in as them, sync your mailbox to a local OST
file and then export to PST. OR you can go to the server, right-click on their mailbox
and “export”… except they took that feature out from Exchange Server 2010 RC to the
finished product. Oh well, at least you can do it in the Exchange Management Console,
right? sorta.
&lt;/p&gt;
&lt;p&gt;
First of all, the power wielded by import and export is so great that mere Enterprise
Administrators cannot hold it. Like the sword of fucking Excalibur, only the anointed,
chosen one can pull the Export-Mailbox cmdlet out of the stone.
&lt;/p&gt;
&lt;p&gt;
Obstacle #1: add the “import export mailbox” role to yourself. Some of the blog posts
I found actually recommended creating a new administrator account JUST for holding
this role. I dunno about you, but I have enough passwords and logins to try and remember.
&lt;/p&gt;
&lt;p&gt;
OK, so now I’m anointed, let me export the mailbox… not so fast.
&lt;/p&gt;
&lt;p&gt;
Obstacle #2: you have to have Outlook installed. Outlook 2100 to be exact. No wait,
it HAS to be Outlook 2010 x64. The version that Microsoft themselves tell you not
to bother installing unless you have a specific need for Office x64. I suppose this
would be one them. Once you have all those ducks in a row, congratulations, now you
can do the sorts of tasks that are generally handed down the chain of command to the
new guy or the intern.
&lt;/p&gt;
&lt;p&gt;
Except I pretty much fly solo around here, so it’s back to me again. I suppose in
the grander scheme of things, that because email is now evidentiary, and because of
those ridiculous SOX compliance laws in the US and A, that you have to make sure no
one can tamper with the mailbox, but what a friggin hassle. SOX is the main reason
I didn’t even bother returning any phone calls for jobs in the US last time I was
looking.
&lt;/p&gt;
&lt;p&gt;
To finish off this tragedy, in order to exercise some governance over cloud sprawl,
and save a few bucks per month paying for mailboxes that are no longer used, I’m having
to spin up a Windows 7 Pro x64 Virtual Machine, patch it, then install Office 2010
x64 (even though I’m not even going to use it) and then install the Exchange Management
Tools and configure those and Powershell, JUST to export some frigging mailboxes from
the mail server.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=8766440f-20d8-43fe-a2ac-3a69315991f4" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,8766440f-20d8-43fe-a2ac-3a69315991f4.aspx</comments>
      <category>Rants</category>
      <category>Tech/Mail Server</category>
      <category>Tech/Microsoft</category>
      <category>Tech/Servers</category>
      <category>Tech/Windows</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=642e421e-52cc-486f-b831-5807c9a02608</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,642e421e-52cc-486f-b831-5807c9a02608.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,642e421e-52cc-486f-b831-5807c9a02608.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=642e421e-52cc-486f-b831-5807c9a02608</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Last year I set up a <a href="http://www.microsoft.com/windowsserver2008/en/us/overview.aspx" target="_blank">Windows
Server 2008 Core server</a>. It was a Hyper-V virtual machine, it was minimum-spec,
it didn’t do much other than be a second Domain Controller on the network so I hardly
ever had to interact with it. Based on that criteria, and because I wanted to see
what it was like, I installed Windows Server 2008 Core.
</p>
        <p>
Windows Server 2008 Core if you’re not familiar is a Windows server with no windows:
when you log in, you get a command prompt, and that’s it.
</p>
        <p>
Configuring it after installing was a bit of a bear, because instead of clicking anything,
you had to learn, know and type the commands into the terminal, along with all the
arguments/switches. I got it set up, configured, joined to the domain and then promoted
to be a domain controller and that was pretty much it. I set it up so that I could
use Remote Desktop to connect to it, but what I really wanted to do was use the Server
Manager on another server to connect to it and manipulate it that way.
</p>
        <p>
I found out the hard way that you can’t really do that. I did find a piece of software
written in Visual Basic called CoreConfigurator which created a text-menu-based configuration
helper and it was pretty good. They also had a Version 2 which was written in <a href="http://en.wikipedia.org/wiki/Windows_PowerShell" target="_blank">Powershell</a> that
had a bit of a GUI to it… but it wasn’t compatible with Windows Server 2008 (the Vista
server, if you will) only Windows Server 2008 R2 (the Windows 7 server). I pretty
much dropped it after that, since it was running and I didn’t need to do anything
to it.
</p>
        <p>
Eventually I upgraded it to Server 2008 R2 when my licensing allowed me to and then
I could use <a href="http://coreconfig.codeplex.com/" target="_blank">CoreConfigurator
V2.0</a>. Remote management still wasn’t working, despite the server’s command-line
status updates to the contrary. Again, it was working and I had more important things
to do.
</p>
        <p>
Today I was trying to track down something (seemingly) entirely unrelated. Some clients
could access a DFS share on the domain, and others could not. I followed the trail
to the Domain Controller (DC1) and checked DNS services, and they were all fine. I
then looked at DC1’s DNS servers and it was pointing at DC2 (the Server Core) so I
opened it up and checked it out. I thought to myself “Wouldn’t it be nice if I could
control DC2 with the Server Manager on DC1?” so I decided to take another run at it.
</p>
        <p>
On DC2 I entered winrm quickconfig to see what was configured. As expected, it said:<br />
WinRM already is set up to receive requests on this machine.<br />
WinRM already is set up for remote management on this machine.
</p>
        <p>
So I tried “Connect to another computer” in Server Manager and… bonk. “Server Manager
cannot connect to <var>server_name</var>. Click retry to try to connect again.” opening
the details tab had more detail, but it’s pretty much all gibberish even to me. <em>“Connecting
to remote server failed with the following error message: The WS-Management service
cannot process the request. The resource URI ...://schemas.microsoft.com/powershell/Microsoft.ServerM...
was not found in the WS-Management catalog. The catalog contains the metadata that
describes resources, or logical endpoints.”</em> Right.
</p>
        <p>
I started with the error code, and then the hex code and ultimately ended up at a
Microsoft KnowledgeBase article that hit the nail right on the head. 
</p>
        <h3>
          <a href="http://support.microsoft.com/kb/976839/en-us" target="_blank">Error message
in Windows Server 2008 R2 or in Windows 7 when you try to connect to a remote server:
"Server Manager cannot connect to &lt;server_name&gt;"</a>
        </h3>
        <p>
Following this article, I typed sconfig from the command-line on the server core,
chose item 4 “Configure Remote Management” and then option 3 “Allow Server Manager
Remote Management”. It then re-configured Win-RM (which was already configured correctly)
but interestingly added three new rules! It didn’t say what those rules were, but
after restarting the server (because I had to enable PowerShell) I was able to connect
to the server using Server Manager from any of my other servers or my Windows 7 laptop.
</p>
        <img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=642e421e-52cc-486f-b831-5807c9a02608" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/M8OL7jgPcGE" height="1" width="1" /></body>
      <title>Why doesn&amp;rsquo;t it work??</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,642e421e-52cc-486f-b831-5807c9a02608.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,642e421e-52cc-486f-b831-5807c9a02608.aspx</link>
      <pubDate>Tue, 07 Jun 2011 20:35:39 GMT</pubDate>
      <description>&lt;p&gt;
Last year I set up a &lt;a href="http://www.microsoft.com/windowsserver2008/en/us/overview.aspx" target="_blank"&gt;Windows
Server 2008 Core server&lt;/a&gt;. It was a Hyper-V virtual machine, it was minimum-spec,
it didn’t do much other than be a second Domain Controller on the network so I hardly
ever had to interact with it. Based on that criteria, and because I wanted to see
what it was like, I installed Windows Server 2008 Core.
&lt;/p&gt;
&lt;p&gt;
Windows Server 2008 Core if you’re not familiar is a Windows server with no windows:
when you log in, you get a command prompt, and that’s it.
&lt;/p&gt;
&lt;p&gt;
Configuring it after installing was a bit of a bear, because instead of clicking anything,
you had to learn, know and type the commands into the terminal, along with all the
arguments/switches. I got it set up, configured, joined to the domain and then promoted
to be a domain controller and that was pretty much it. I set it up so that I could
use Remote Desktop to connect to it, but what I really wanted to do was use the Server
Manager on another server to connect to it and manipulate it that way.
&lt;/p&gt;
&lt;p&gt;
I found out the hard way that you can’t really do that. I did find a piece of software
written in Visual Basic called CoreConfigurator which created a text-menu-based configuration
helper and it was pretty good. They also had a Version 2 which was written in &lt;a href="http://en.wikipedia.org/wiki/Windows_PowerShell" target="_blank"&gt;Powershell&lt;/a&gt; that
had a bit of a GUI to it… but it wasn’t compatible with Windows Server 2008 (the Vista
server, if you will) only Windows Server 2008 R2 (the Windows 7 server). I pretty
much dropped it after that, since it was running and I didn’t need to do anything
to it.
&lt;/p&gt;
&lt;p&gt;
Eventually I upgraded it to Server 2008 R2 when my licensing allowed me to and then
I could use &lt;a href="http://coreconfig.codeplex.com/" target="_blank"&gt;CoreConfigurator
V2.0&lt;/a&gt;. Remote management still wasn’t working, despite the server’s command-line
status updates to the contrary. Again, it was working and I had more important things
to do.
&lt;/p&gt;
&lt;p&gt;
Today I was trying to track down something (seemingly) entirely unrelated. Some clients
could access a DFS share on the domain, and others could not. I followed the trail
to the Domain Controller (DC1) and checked DNS services, and they were all fine. I
then looked at DC1’s DNS servers and it was pointing at DC2 (the Server Core) so I
opened it up and checked it out. I thought to myself “Wouldn’t it be nice if I could
control DC2 with the Server Manager on DC1?” so I decided to take another run at it.
&lt;/p&gt;
&lt;p&gt;
On DC2 I entered winrm quickconfig to see what was configured. As expected, it said:&lt;br&gt;
WinRM already is set up to receive requests on this machine.&lt;br&gt;
WinRM already is set up for remote management on this machine.
&lt;/p&gt;
&lt;p&gt;
So I tried “Connect to another computer” in Server Manager and… bonk. “Server Manager
cannot connect to &lt;var&gt;server_name&lt;/var&gt;. Click retry to try to connect again.” opening
the details tab had more detail, but it’s pretty much all gibberish even to me. &lt;em&gt;“Connecting
to remote server failed with the following error message: The WS-Management service
cannot process the request. The resource URI ...://schemas.microsoft.com/powershell/Microsoft.ServerM...
was not found in the WS-Management catalog. The catalog contains the metadata that
describes resources, or logical endpoints.”&lt;/em&gt; Right.
&lt;/p&gt;
&lt;p&gt;
I started with the error code, and then the hex code and ultimately ended up at a
Microsoft KnowledgeBase article that hit the nail right on the head. 
&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://support.microsoft.com/kb/976839/en-us" target="_blank"&gt;Error message
in Windows Server 2008 R2 or in Windows 7 when you try to connect to a remote server:
"Server Manager cannot connect to &amp;lt;server_name&amp;gt;"&lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;
Following this article, I typed sconfig from the command-line on the server core,
chose item 4 “Configure Remote Management” and then option 3 “Allow Server Manager
Remote Management”. It then re-configured Win-RM (which was already configured correctly)
but interestingly added three new rules! It didn’t say what those rules were, but
after restarting the server (because I had to enable PowerShell) I was able to connect
to the server using Server Manager from any of my other servers or my Windows 7 laptop.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=642e421e-52cc-486f-b831-5807c9a02608" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,642e421e-52cc-486f-b831-5807c9a02608.aspx</comments>
      <category>Tech</category>
      <category>Tech/Active Directory</category>
      <category>Tech/Microsoft</category>
      <category>Tech/Networking</category>
      <category>Tech/Servers</category>
      <category>Tech/Windows</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=0252fe54-f007-4d02-bbf1-872932b80e11</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,0252fe54-f007-4d02-bbf1-872932b80e11.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,0252fe54-f007-4d02-bbf1-872932b80e11.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0252fe54-f007-4d02-bbf1-872932b80e11</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
You know what I like about taking <a href="http://www.bcit.ca/cas/computingparttime/">Part
Time Studies</a> computer classes at BCIT at night? The crowd is a little older, and
they’re all already nerds.
</p>
        <p>
I’m taking COMP1451 this semester, which is part two/continuation of COMP1409, “Introduction
to Object Oriented Programming” For this class, we’ve been using <a href="http://www.bluej.org/">BlueJ</a> as
the… well, I don’t want to call it a development environment, but it kinda is. It’s
pretty cool, it’s great for illustrating concepts using Java, but it’s not really
a full-on Java development tool.
</p>
        <p>
We’re just over half-way through part 2 of the course and tonight the instructor introduced <a href="http://www.eclipse.org/">Eclipse</a>.
Eclipse IS a full-blown Java Development Environment, and we spent the evening learning
(and re-learning) the differences between what we thought was Java and what really
is Java.
</p>
        <p>
One of the exercises we did was to use Eclipse to generate constructors and source
code automatically, saving a lot of grunt work typing of really basic things. In BlueJ,
one of the things you could do was hit ctrl+m and it would insert a new method at
the cursor, complete with javadoc comments. You could fill in what you needed, take
out what you didn’t and carry on.
</p>
        <blockquote>
          <p>
            <font face="Courier New">/**<br />
     * An example of a method - replace this comment with your
own<br />
     *<br />
     * @param  y   a sample parameter for a method<br />
     * @return     the sum of x and y<br />
     */<br />
    public int sampleMethod(int y)<br />
    {<br />
        // put your code here<br />
        return y;<br />
    }</font>
          </p>
        </blockquote>
        <p>
I used that shortcut a lot, and even developed a little muscle-memory to ctrl-M every
time I needed to create a new method. I asked the teacher if there was something similar
in Eclipse to save a few keystrokes and she wasn’t sure. We poked around a bit in
the Source menu before she said “well, I guess you’ll have to do it the old-fashioned
way” and pointed at the keyboard.
</p>
        <p>
I entwined my fingers, turned them inside out as if to crack my knuckles and said
“A keyboard. How quaint…” I reached for the mouse, picked it and spoke into it like
a microphone “Oh, Computer…” and without even imitating a bad Scottish accent, the
instructor, the TA and the two guys on either side of me cracked up.
</p>
        <p>
Someone later pointed out that <a href="http://www.imdb.com/title/tt0092007/">that
movie</a> is 25 years old, but ya know what? Classics never get old. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/Classics-NEVER-get-old_13A31/wlEmoticon-smile_2.png" /></p>
        <p>
 
</p>
        <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:0fb028a0-fde7-4b4f-ac7b-aa450ac112d8" class="wlWriterEditableSmartContent">
          <div id="05e66288-eb9e-42e0-8eeb-07b4ccd4926e" style="margin: 0px; padding: 0px; display: inline;">
            <div>
              <a href="http://www.youtube.com/watch?v=19BWJQ8kjrw" target="_new">
                <img src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/Classics-NEVER-get-old_13A31/video732d43d1b8c3.jpg" style="border-style: none" galleryimg="no" onload="var downlevelDiv = document.getElementById('05e66288-eb9e-42e0-8eeb-07b4ccd4926e'); downlevelDiv.innerHTML = &quot;&lt;div&gt;&lt;object width=\&quot;448\&quot; height=\&quot;252\&quot;&gt;&lt;param name=\&quot;movie\&quot; value=\&quot;http://www.youtube.com/v/19BWJQ8kjrw?hl=en&amp;hd=1\&quot;&gt;&lt;\/param&gt;&lt;embed src=\&quot;http://www.youtube.com/v/19BWJQ8kjrw?hl=en&amp;hd=1\&quot; type=\&quot;application/x-shockwave-flash\&quot; width=\&quot;448\&quot; height=\&quot;252\&quot;&gt;&lt;\/embed&gt;&lt;\/object&gt;&lt;\/div&gt;&quot;;" alt="" />
              </a>
            </div>
          </div>
        </div>
        <img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=0252fe54-f007-4d02-bbf1-872932b80e11" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/jWlbwDf5tKE" height="1" width="1" /></body>
      <title>Classics NEVER get old&amp;hellip;</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,0252fe54-f007-4d02-bbf1-872932b80e11.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,0252fe54-f007-4d02-bbf1-872932b80e11.aspx</link>
      <pubDate>Fri, 27 May 2011 05:36:51 GMT</pubDate>
      <description>&lt;p&gt;
You know what I like about taking &lt;a href="http://www.bcit.ca/cas/computingparttime/"&gt;Part
Time Studies&lt;/a&gt; computer classes at BCIT at night? The crowd is a little older, and
they’re all already nerds.
&lt;/p&gt;
&lt;p&gt;
I’m taking COMP1451 this semester, which is part two/continuation of COMP1409, “Introduction
to Object Oriented Programming” For this class, we’ve been using &lt;a href="http://www.bluej.org/"&gt;BlueJ&lt;/a&gt; as
the… well, I don’t want to call it a development environment, but it kinda is. It’s
pretty cool, it’s great for illustrating concepts using Java, but it’s not really
a full-on Java development tool.
&lt;/p&gt;
&lt;p&gt;
We’re just over half-way through part 2 of the course and tonight the instructor introduced &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;.
Eclipse IS a full-blown Java Development Environment, and we spent the evening learning
(and re-learning) the differences between what we thought was Java and what really
is Java.
&lt;/p&gt;
&lt;p&gt;
One of the exercises we did was to use Eclipse to generate constructors and source
code automatically, saving a lot of grunt work typing of really basic things. In BlueJ,
one of the things you could do was hit ctrl+m and it would insert a new method at
the cursor, complete with javadoc comments. You could fill in what you needed, take
out what you didn’t and carry on.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;font face="Courier New"&gt;/**&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * An example of a method - replace this comment with your
own&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param&amp;nbsp; y&amp;nbsp;&amp;nbsp; a sample parameter for a method&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the sum of x and y&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public int sampleMethod(int y)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // put your code here&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return y;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/font&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
I used that shortcut a lot, and even developed a little muscle-memory to ctrl-M every
time I needed to create a new method. I asked the teacher if there was something similar
in Eclipse to save a few keystrokes and she wasn’t sure. We poked around a bit in
the Source menu before she said “well, I guess you’ll have to do it the old-fashioned
way” and pointed at the keyboard.
&lt;/p&gt;
&lt;p&gt;
I entwined my fingers, turned them inside out as if to crack my knuckles and said
“A keyboard. How quaint…” I reached for the mouse, picked it and spoke into it like
a microphone “Oh, Computer…” and without even imitating a bad Scottish accent, the
instructor, the TA and the two guys on either side of me cracked up.
&lt;/p&gt;
&lt;p&gt;
Someone later pointed out that &lt;a href="http://www.imdb.com/title/tt0092007/"&gt;that
movie&lt;/a&gt; is 25 years old, but ya know what? Classics never get old. &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/Classics-NEVER-get-old_13A31/wlEmoticon-smile_2.png"&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:0fb028a0-fde7-4b4f-ac7b-aa450ac112d8" class="wlWriterEditableSmartContent"&gt;
&lt;div id="05e66288-eb9e-42e0-8eeb-07b4ccd4926e" style="margin: 0px; padding: 0px; display: inline;"&gt;
&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=19BWJQ8kjrw" target="_new"&gt;&lt;img src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/Classics-NEVER-get-old_13A31/video732d43d1b8c3.jpg" style="border-style: none" galleryimg="no" onload="var downlevelDiv = document.getElementById('05e66288-eb9e-42e0-8eeb-07b4ccd4926e'); downlevelDiv.innerHTML = &amp;quot;&amp;lt;div&amp;gt;&amp;lt;object width=\&amp;quot;448\&amp;quot; height=\&amp;quot;252\&amp;quot;&amp;gt;&amp;lt;param name=\&amp;quot;movie\&amp;quot; value=\&amp;quot;http://www.youtube.com/v/19BWJQ8kjrw?hl=en&amp;amp;hd=1\&amp;quot;&amp;gt;&amp;lt;\/param&amp;gt;&amp;lt;embed src=\&amp;quot;http://www.youtube.com/v/19BWJQ8kjrw?hl=en&amp;amp;hd=1\&amp;quot; type=\&amp;quot;application/x-shockwave-flash\&amp;quot; width=\&amp;quot;448\&amp;quot; height=\&amp;quot;252\&amp;quot;&amp;gt;&amp;lt;\/embed&amp;gt;&amp;lt;\/object&amp;gt;&amp;lt;\/div&amp;gt;&amp;quot;;" alt=""&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=0252fe54-f007-4d02-bbf1-872932b80e11" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,0252fe54-f007-4d02-bbf1-872932b80e11.aspx</comments>
      <category>Tech</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=44987632-1679-430a-807f-3171cbae0834</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,44987632-1679-430a-807f-3171cbae0834.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,44987632-1679-430a-807f-3171cbae0834.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=44987632-1679-430a-807f-3171cbae0834</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
It took almost five years. Coincidentally that’s the length of the warranty I was
trying to get it repaired under, but finally, something was done. There was a management
change at <a href="http://www.docjelly.com/Blog/PermaLink,guid,69ac91b1-2029-43ed-8a3d-1dec22e9bf6b.aspx">Divers
Supply Grand Cayman</a>, and the new manager wanted to make things right whereas the
old manager told me to go fuck myself.
</p>
        <p>
Shortly before Christmas 2010, I was contacted by the new manager of the store (on
Facebook) who reached out to make things right.
</p>
        <p>
We talked back and forth and came to an agreement, and I edited and updated the <a href="http://www.docjelly.com/Blog/default,month,2006-06.aspx">posts
from 2006</a> calling out his store for treating me like an inmate in a shower. I
posted an update at the top of the three posts with the date, and then edited some
of the piss &amp; vinegar out of my rants. As I figured, it was the then-manager who
was behind the absolutely horrendous “service” and treatment. Now that he’s gone (and
probably most of the staff) it’s not fair to paint them all with the same brush as
him (although given a chance, I don’t think I’d use a paintbrush on him).
</p>
        <p>
It’s going to take awhile (if ever) for the Google search results for <a href="http://www.docjelly.com/Blog/PermaLink,guid,79903fe9-6669-411c-b12a-98300d369d14.aspx">Divers
Supply Grand Cayman</a> to drop the old titles of the posts and replace them with
the newer, gentler ones, but if anyone clicks on any of the links to my previous posts
about <a href="http://www.docjelly.com/Blog/PermaLink,guid,69ac91b1-2029-43ed-8a3d-1dec22e9bf6b.aspx">Divers
Supply Grand Cayman</a> then they’ll see the new titles and the update, in bold, at
the top of the page.
</p>
        <p>
My replacement dive computer is up here now (although it’s still out at my friend’s
house who carried it up here at Christmas from Cayman) so it was the right time to
make a new post and edit the old posts.
</p>
        <img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=44987632-1679-430a-807f-3171cbae0834" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/3jiMjbdrex8" height="1" width="1" /></body>
      <title>Do you believe in miracles? Divers Supply Grand Cayman rights a wrong after five years!</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,44987632-1679-430a-807f-3171cbae0834.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,44987632-1679-430a-807f-3171cbae0834.aspx</link>
      <pubDate>Sat, 26 Mar 2011 06:39:04 GMT</pubDate>
      <description>&lt;p&gt;
It took almost five years. Coincidentally that’s the length of the warranty I was
trying to get it repaired under, but finally, something was done. There was a management
change at &lt;a href="http://www.docjelly.com/Blog/PermaLink,guid,69ac91b1-2029-43ed-8a3d-1dec22e9bf6b.aspx"&gt;Divers
Supply Grand Cayman&lt;/a&gt;, and the new manager wanted to make things right whereas the
old manager told me to go fuck myself.
&lt;/p&gt;
&lt;p&gt;
Shortly before Christmas 2010, I was contacted by the new manager of the store (on
Facebook) who reached out to make things right.
&lt;/p&gt;
&lt;p&gt;
We talked back and forth and came to an agreement, and I edited and updated the &lt;a href="http://www.docjelly.com/Blog/default,month,2006-06.aspx"&gt;posts
from 2006&lt;/a&gt; calling out his store for treating me like an inmate in a shower. I
posted an update at the top of the three posts with the date, and then edited some
of the piss &amp;amp; vinegar out of my rants. As I figured, it was the then-manager who
was behind the absolutely horrendous “service” and treatment. Now that he’s gone (and
probably most of the staff) it’s not fair to paint them all with the same brush as
him (although given a chance, I don’t think I’d use a paintbrush on him).
&lt;/p&gt;
&lt;p&gt;
It’s going to take awhile (if ever) for the Google search results for &lt;a href="http://www.docjelly.com/Blog/PermaLink,guid,79903fe9-6669-411c-b12a-98300d369d14.aspx"&gt;Divers
Supply Grand Cayman&lt;/a&gt; to drop the old titles of the posts and replace them with
the newer, gentler ones, but if anyone clicks on any of the links to my previous posts
about &lt;a href="http://www.docjelly.com/Blog/PermaLink,guid,69ac91b1-2029-43ed-8a3d-1dec22e9bf6b.aspx"&gt;Divers
Supply Grand Cayman&lt;/a&gt; then they’ll see the new titles and the update, in bold, at
the top of the page.
&lt;/p&gt;
&lt;p&gt;
My replacement dive computer is up here now (although it’s still out at my friend’s
house who carried it up here at Christmas from Cayman) so it was the right time to
make a new post and edit the old posts.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=44987632-1679-430a-807f-3171cbae0834" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,44987632-1679-430a-807f-3171cbae0834.aspx</comments>
      <category>Cayman</category>
      <category>Rants</category>
      <category>Underwater</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=772e349b-e75f-4440-87b3-4c623a79bc5c</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,772e349b-e75f-4440-87b3-4c623a79bc5c.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,772e349b-e75f-4440-87b3-4c623a79bc5c.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=772e349b-e75f-4440-87b3-4c623a79bc5c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I started out the task flying pretty high. I worked on a deployment for some new HP
laptops and Windows 7 Pro x64 and things were working out as planned.
</p>
        <p>
Once I got it to where I could PXE boot the laptop, connect to the deployment share
and lay the Windows 7 x64 image down on it, I was time to get down to the nitty gritty:
Drivers. Applications. Packages. Automation.
</p>
        <p>
Drivers were fairly easy, I’ve been importing them for awhile now, but what I wanted
to do was to segregate them into distinct little piles, rather than one motherlovin’
huge pile of inf files and I wanted a computer to only get the drivers it needed for
itself, not the whole lot of them.
</p>
        <p>
MDT 2010 provides for this, and there are <a href="http://www.windowsnetworking.com/articles_tutorials/Deploying-Windows-7-Part17.html" target="_blank">plenty</a> of <a href="http://www.windowsnetworking.com/articles_tutorials/Deploying-Windows-7-Part25.html" target="_blank">good</a><a href="http://www.windowsnetworking.com/articles_tutorials/Deploying-Windows-7-Part1.html" target="_blank">tutorials</a> out
there on the net waiting to be found, so I won’t “waste ink” posting it here again.
I highly recommend you use the <a href="http://lab.arc90.com/experiments/readability/" target="_blank">Readability</a> bookmarklet
before going to any of the articles on that site, though. They have ads and crap on
all 3 sides and a narrow column in the middle with small text for the actual article. 
</p>
        <p>
So we got a bare-bones Windows 7 install at this point, with a bunch of Unknown Devices
in the Device Manager. Windows 7 is smart enough that most of them have drivers advertised
through Windows Update so right-clicking them and selecting “update driver” will find
it… but that’s not why we’re using deployment tools, I want it to come out the other
end of my process shiny and clean and ready to be used. Following information in those
links above and elsewhere, I was able to have WindowsPE detect the make &amp; model
of the laptop, and then look that up in my deployment database and download the drivers
I specified. Awesome! All but one… one sticky wicket that wouldn’t work because the
manufacturer chose to make the driver file a software installation, instead of just
a driver. (hate)
</p>
        <p>
On to the Applications settings in MDT 2010 then! Applications don’t work as well
as the drivers do. There’s no Selection Profiles for applications like there are for
Drivers. Sure you can set MandatoryInstallation &lt;guid&gt; in the customsettings.ini
file for the whole deployment share, but then they get installed on every machine
that connects, not just the one laptop model that needs this particular driver, so
that’s out, too.
</p>
        <p>
Searching around on this topic led me to the Make &amp; Model settings under Advanced
Settings&gt;Database. I created a new entry using the Make and Model of the laptop
using the data I got from the BIOS. To find out what yours is, drop to a command prompt
and type ‘wmic csproduct get vendor’ or get name. Once you’ve created an entry, you
can double-click it to open it’s properties and assign things like Applications, Roles
and Administrators. Applications is the one we’re looking for here so I clicked on
that tab and then clicked Add. I then selected the Driver software.exe that I had
set up (as a silent install… another topic!) and then clicked OK. I updated my deployment
share and… it didn’t work.
</p>
        <p>
I tried a few different things, I checked, double-checked, and triple-checked that
I got the Vendor and Name correct, I tried moving the application around within the
deployment share, but nothing worked. Because I was working with a physical machine,
it took about 30 minutes to test out each iteration. While it was doing that, I opened
the ZTIGather.log on my virtual machine that I had deployed to yesterday, which is
in C:\Windows\Temp\DeploymentLogs and using the Vendor and Name in there, I created
another entry in the database and assigned it a very small application (most of the
apps I have in the repository are huge… Autocad, Office, etc.) to try that one out.
I updated the deployment share and this time, just in case, I also went into Windows
Deployment System and replaced the boot image with this newly generated one.
</p>
        <p>
I booted the VM up, let it PXE boot, selected x64 boot image and stepped through the
Wizard and when I got to the Applications screen… Holy smokes it was there! pre-checked!
I tried un-checking it and then clicked next, but then went back and it was re-checked,
so it was treating it as a mandatory application, but only on that make &amp; model
of computer! I then rebooted the laptop into the same x64 boot image to see if it
was working for my original problem. If it wasn’t, at least I had proved that it wasn’t
an error with my database. I flipped through the screens to Applications and the driver
was there and pre-checked! Hooray! hurried through the rest of it and let it deploy.
Once it got to the Windows 7 desktop and the last stages of the deployment were running,
it installed the driver software. I rebooted (windows update kicked in right away)
and when it restarted, I checked out the device manager: Nothing was showing as Unknown
Device! Hooray! One machine down, 2 more to go, get a few more apps in there and my
MDT 2010 deployment share will be ready to kick out the Win7 Pro x64 jams to all comers!
(well, within my company and licensing agreement, anyway) <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/Wrestling-with-applications-in-MDT-2010_E207/wlEmoticon-openmouthedsmile_2.png" /></p>
        <img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=772e349b-e75f-4440-87b3-4c623a79bc5c" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/rHFuT8XMP8w" height="1" width="1" /></body>
      <title>Wrestling with applications in MDT 2010</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,772e349b-e75f-4440-87b3-4c623a79bc5c.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,772e349b-e75f-4440-87b3-4c623a79bc5c.aspx</link>
      <pubDate>Thu, 20 Jan 2011 00:57:01 GMT</pubDate>
      <description>&lt;p&gt;
I started out the task flying pretty high. I worked on a deployment for some new HP
laptops and Windows 7 Pro x64 and things were working out as planned.
&lt;/p&gt;
&lt;p&gt;
Once I got it to where I could PXE boot the laptop, connect to the deployment share
and lay the Windows 7 x64 image down on it, I was time to get down to the nitty gritty:
Drivers. Applications. Packages. Automation.
&lt;/p&gt;
&lt;p&gt;
Drivers were fairly easy, I’ve been importing them for awhile now, but what I wanted
to do was to segregate them into distinct little piles, rather than one motherlovin’
huge pile of inf files and I wanted a computer to only get the drivers it needed for
itself, not the whole lot of them.
&lt;/p&gt;
&lt;p&gt;
MDT 2010 provides for this, and there are &lt;a href="http://www.windowsnetworking.com/articles_tutorials/Deploying-Windows-7-Part17.html" target="_blank"&gt;plenty&lt;/a&gt; of &lt;a href="http://www.windowsnetworking.com/articles_tutorials/Deploying-Windows-7-Part25.html" target="_blank"&gt;good&lt;/a&gt; &lt;a href="http://www.windowsnetworking.com/articles_tutorials/Deploying-Windows-7-Part1.html" target="_blank"&gt;tutorials&lt;/a&gt; out
there on the net waiting to be found, so I won’t “waste ink” posting it here again.
I highly recommend you use the &lt;a href="http://lab.arc90.com/experiments/readability/" target="_blank"&gt;Readability&lt;/a&gt; bookmarklet
before going to any of the articles on that site, though. They have ads and crap on
all 3 sides and a narrow column in the middle with small text for the actual article. 
&lt;/p&gt;
&lt;p&gt;
So we got a bare-bones Windows 7 install at this point, with a bunch of Unknown Devices
in the Device Manager. Windows 7 is smart enough that most of them have drivers advertised
through Windows Update so right-clicking them and selecting “update driver” will find
it… but that’s not why we’re using deployment tools, I want it to come out the other
end of my process shiny and clean and ready to be used. Following information in those
links above and elsewhere, I was able to have WindowsPE detect the make &amp;amp; model
of the laptop, and then look that up in my deployment database and download the drivers
I specified. Awesome! All but one… one sticky wicket that wouldn’t work because the
manufacturer chose to make the driver file a software installation, instead of just
a driver. (hate)
&lt;/p&gt;
&lt;p&gt;
On to the Applications settings in MDT 2010 then! Applications don’t work as well
as the drivers do. There’s no Selection Profiles for applications like there are for
Drivers. Sure you can set MandatoryInstallation &amp;lt;guid&amp;gt; in the customsettings.ini
file for the whole deployment share, but then they get installed on every machine
that connects, not just the one laptop model that needs this particular driver, so
that’s out, too.
&lt;/p&gt;
&lt;p&gt;
Searching around on this topic led me to the Make &amp;amp; Model settings under Advanced
Settings&amp;gt;Database. I created a new entry using the Make and Model of the laptop
using the data I got from the BIOS. To find out what yours is, drop to a command prompt
and type ‘wmic csproduct get vendor’ or get name. Once you’ve created an entry, you
can double-click it to open it’s properties and assign things like Applications, Roles
and Administrators. Applications is the one we’re looking for here so I clicked on
that tab and then clicked Add. I then selected the Driver software.exe that I had
set up (as a silent install… another topic!) and then clicked OK. I updated my deployment
share and… it didn’t work.
&lt;/p&gt;
&lt;p&gt;
I tried a few different things, I checked, double-checked, and triple-checked that
I got the Vendor and Name correct, I tried moving the application around within the
deployment share, but nothing worked. Because I was working with a physical machine,
it took about 30 minutes to test out each iteration. While it was doing that, I opened
the ZTIGather.log on my virtual machine that I had deployed to yesterday, which is
in C:\Windows\Temp\DeploymentLogs and using the Vendor and Name in there, I created
another entry in the database and assigned it a very small application (most of the
apps I have in the repository are huge… Autocad, Office, etc.) to try that one out.
I updated the deployment share and this time, just in case, I also went into Windows
Deployment System and replaced the boot image with this newly generated one.
&lt;/p&gt;
&lt;p&gt;
I booted the VM up, let it PXE boot, selected x64 boot image and stepped through the
Wizard and when I got to the Applications screen… Holy smokes it was there! pre-checked!
I tried un-checking it and then clicked next, but then went back and it was re-checked,
so it was treating it as a mandatory application, but only on that make &amp;amp; model
of computer! I then rebooted the laptop into the same x64 boot image to see if it
was working for my original problem. If it wasn’t, at least I had proved that it wasn’t
an error with my database. I flipped through the screens to Applications and the driver
was there and pre-checked! Hooray! hurried through the rest of it and let it deploy.
Once it got to the Windows 7 desktop and the last stages of the deployment were running,
it installed the driver software. I rebooted (windows update kicked in right away)
and when it restarted, I checked out the device manager: Nothing was showing as Unknown
Device! Hooray! One machine down, 2 more to go, get a few more apps in there and my
MDT 2010 deployment share will be ready to kick out the Win7 Pro x64 jams to all comers!
(well, within my company and licensing agreement, anyway) &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/Wrestling-with-applications-in-MDT-2010_E207/wlEmoticon-openmouthedsmile_2.png"&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=772e349b-e75f-4440-87b3-4c623a79bc5c" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,772e349b-e75f-4440-87b3-4c623a79bc5c.aspx</comments>
      <category>Tech/Deployment</category>
      <category>Tech/Microsoft</category>
      <category>Tech/Servers</category>
      <category>Tech/Windows</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=2e5f39e4-9d7b-4193-9289-5a1cd234e273</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,2e5f39e4-9d7b-4193-9289-5a1cd234e273.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,2e5f39e4-9d7b-4193-9289-5a1cd234e273.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=2e5f39e4-9d7b-4193-9289-5a1cd234e273</wfw:commentRss>
      <title>I never did get those 10 years back&amp;hellip;</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,2e5f39e4-9d7b-4193-9289-5a1cd234e273.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,2e5f39e4-9d7b-4193-9289-5a1cd234e273.aspx</link>
      <pubDate>Fri, 26 Nov 2010 02:27:56 GMT</pubDate>
      <description>&lt;p&gt;
Last month I posted about an &lt;a href="http://www.docjelly.com/Blog/PermaLink,guid,83430c11-6ed8-4187-85d7-8aa745fbcee8.aspx" target="_blank"&gt;error
in Windows Server 2008&lt;/a&gt; that caused me to age 10 years in 10 minutes. Over a month
later, I finally “fixed” that server—I re-installed Windows on it. You can stop reading
here if the details are of no concern to you &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/I-never-did-get-those-10-years-back_F78E/wlEmoticon-winkingsmile_2.png"&gt;
&lt;/p&gt;
&lt;p&gt;
The weird thing is that the server continued to, well &lt;em&gt;SERVE&lt;/em&gt; the whole time
it was in that compromised state, so the users didn’t know anything was wrong. In
the meantime my ass was puckered so tight I was pulling the fabric of my seat right
up into my ass leaving little rosebuds everywhere I sat.
&lt;/p&gt;
&lt;p&gt;
I posted some questions to a few forums I frequent and even got a response from a
well-known Windows IT guru who suggested an off the wall fix that may or may not work.
It didn’t. In theory it should have, but when I tried it, the error message was something
along the lines of “Nice try.”
&lt;/p&gt;
&lt;p&gt;
So here’s what happened:
&lt;/p&gt;
&lt;p&gt;
One of the updates to Windows Server 2008 that came out on Patch Tuesday in October
2010 required a reboot to complete it’s installation. Windows waited patiently and
kept popping up that little window reminding me that it needed to reboot, and I held
off and held off until I could do it outside of work hours so as not to impact anyone’s
(ok EVERYONE’S) work.
&lt;/p&gt;
&lt;p&gt;
When that one update (and I still don’t know which one it was) came up from the reboot,
it failed to to notify the system that it was complete. Because that update was still
pending, and was requesting a reboot, the system obliged by initiating a shutdown.
When it came back up, it failed to notify the system that it was complete, requested
another reboot and so on and so forth.
&lt;/p&gt;
&lt;p&gt;
Sitting at home, watching a ping window I saw the server power off, and then come
back up and start responding. At that point I disconnected and did whatever I did
that night. I did not at that time know that the server was rebooting every four minutes
all night and all morning until I arrived.
&lt;/p&gt;
&lt;p&gt;
I found some advice on the Internet, but it applied to Windows Vista. Since Windows
Server 2008 is the server version of Vista (and Windows Server 2008 R2 is the Windows
7 version) I thought I would give it a try. Couldn’t make it any worse, could I? well
yeah, I could. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.docjelly.com/Blog/content/binary/Windows-Live-Writer/I-never-did-get-those-10-years-back_F78E/wlEmoticon-smile_2.png"&gt;
&lt;/p&gt;
&lt;p&gt;
I booted up from the Windows disc and went to “Repair My Computer” and found that
the only options available to me were restore from an image created with Windows Server
Backup… which I never bothered to set up, because I was using Symantec Backup Exec
to back up the server. Rebooted and this time went to the command-line recovery console
(cue dramatic theme)
&lt;/p&gt;
&lt;p&gt;
At the command prompt, I navigated to C:\Windows and then into the WinSXS folder which
I later found out stands for Windows Side-By-Side system and it keeps versions of
dll libraries and other files cached in there from every single piece of software
you’ve installed, so that when that software runs, it can use “it’s own” version of
each library for compatibility’s sake. In that folder is a file called pending.xml
and in this case was about 7mb. That’s a lot of text surrounded by angle brackets.
The advice we got was to delete that file. Since the advice came from the internet,
I decided to rename it pending.xml.old, just in case.
&lt;/p&gt;
&lt;p&gt;
Rebooted the computer and was able to log in, but Server manager didn’t work. Nothing
that relied on the WinRM service worked. Nothing that relied on the Windows Installer
worked. Nothing that relied on the Windows Package Installer worked… but everything
that was already set up, installed and running worked. This included the Symantec
Backup Exec agent, so the server was being backed up every night still.
&lt;/p&gt;
&lt;p&gt;
At the same time, I was having issues with Backup Exec (version 12.5d) not “seeing”
my SharePoint 2010 farm on the network so it wouldn’t back that up, either. After
getting on the phone with tech support and trying a few things, they asked if I was
running SharePoint 2010. I said yes, and they said that 12.5d didn’t support SPS2010
and I would have to upgrade to BackupExec 2010 R2 which did. Fortunately I have my
software extortion paid up and the upgrade was at no additional cost. I downloaded
all 2.8gb of it, mounted the ISO and installed it overtop of the old BE12.5d installation.
It went off without a hitch, but then all the agents needed to be updated. All the
servers agents updated except for this problem server. On the phone with Symantec
tech support again, we were unable to uninstall the agent, so we went through and
did it manually. Most.Excruciating.Task.Ever. Once it was uninstalled, we tried to
install the newer version and it just would not take. We were looking at a Symantec
KB article when something caught my eye: WinSXS. Ahh shit, remember when I said that
the installer and the package installer were affected? Now I had the added urgency
that my file server was not being backed up anymore.
&lt;/p&gt;
&lt;p&gt;
Over the next couple days I migrated off the accounting system to it’s own virtual
machine on another host, and then I also migrated off my MDT2010 and WSUS virtual
machine that was hosted on this machine to another host, so the only thing left on
this machine was the file shares for this office. Re-installing windows in theory
shouldn’t affect the D drive… in theory. I connected a 2TB drive via USB and started
up Robocopy to make a 1:1 copy of all the data on the D drive, just in case. If you
ever wondered how long it takes to copy 1.5 terabytes of data over a USB2.0 connection,
I can tell you: 28 hours.
&lt;/p&gt;
&lt;p&gt;
Now that all the apps &amp; VMs were migrated off and a good copy of the data was on a
separate drive it was time to try a few things out. If worst came to worst, I could
just re-install windows (and update it to Windows Server 2008 R2) but if I could fix
it… well that would be great, too.
&lt;/p&gt;
&lt;p&gt;
I booted up into the recovery console, navigated back to that WinSXS folder and re-renamed
pending.xml.old back to pending.xml and rebooted. No change. restarted the computer
again and this time it went back to the “Configuring Updates Stage 3 of 3 0% Do not
turn off your computer” then click, reboot, then back to the same screen and the cycle
continued. Now that I had the server back to it’s “original” condition, I booted back
to the recovery console from the Windows Server 2008 disc and tried to invoke DISM,
the Disk Image Service Manager. It did not exist. I swapped discs to a bootable WinPE
disc I made in MDT2010 awhile ago and exited out to the command prompt and typed DISM
again and this time I got the help file.
&lt;/p&gt;
&lt;p&gt;
I entered the following command: “DISM /image:C:\Windows /Cleanup-Image /RevertPendingActions”
ooh that sounds like it should work! It failed though, it said it could not access
the image at C:\Windows. Some further research on the DISM command and I re-tried
it, this time providing C:\ as the image, rather than C:\Windows. This time I got
some results!
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
"The command specified is unknown or not supported when running DISM.exe against a
Windows Vista with Service Pack 1 or a Windows Server 2008 target image"
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Well shit. So much for that. I broke it back out of the loop by renaming pending.xml
to pending.xml.old again and removed all the DFS targets from the server (oops, forgot
about those after the backup) and then left it overnight to replicate and get it all
out of it’s system. 
&lt;p&gt;
I came back in the next day (Saturday) and as soon as I opened the door I heard an
alarm buzzer coming from the server room. Not good. I opened the door and was not
greeted by any red blinky lights, just green ones. So if it wasn’t a UPS, and it wasn’t
a loose power connector, it could only be one thing: a RAID controller. Sure enough,
this same server that I’ve had all this trouble with had a bad hard drive in it’s
RAID1 array for the OS. I went back out and to NCIX to pick up a replacement hard
drive, came back, popped it in and let the array rebuild itself. Strangely, there
ARE red LEDs in the drive carriers, but the bad drive didn’t make it illuminate, even
though it triggered the alarm and showed the drive as failed and the array as degraded. 
&lt;p&gt;
After that, I gave up and pulled out the Windows Server 2008 R2 disc. I did a fresh
installation on that C drive and sure enough, the D drive was left intact and all
I had to do was set up the shares and DFS. In the end, I may as well blame it on Vista
sucking, but most likely that initial error a month ago was because it tried to write
to a bad sector on the hard drive.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=2e5f39e4-9d7b-4193-9289-5a1cd234e273" /&gt;&lt;img src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/vq8R4pR6Lwk" height="1" width="1"/&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,2e5f39e4-9d7b-4193-9289-5a1cd234e273.aspx</comments>
      <category>Tech/Microsoft</category>
      <category>Tech/Servers</category>
      <category>Tech/Windows</category>
    </item>
    <item>
      <trackback:ping>http://www.docjelly.com/Blog/Trackback.aspx?guid=83430c11-6ed8-4187-85d7-8aa745fbcee8</trackback:ping>
      <pingback:server>http://www.docjelly.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.docjelly.com/Blog/PermaLink,guid,83430c11-6ed8-4187-85d7-8aa745fbcee8.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.docjelly.com/Blog/CommentView,guid,83430c11-6ed8-4187-85d7-8aa745fbcee8.aspx</wfw:comment>
      <wfw:commentRss>http://www.docjelly.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=83430c11-6ed8-4187-85d7-8aa745fbcee8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Last night I logged into work from home to initiate a reboot of all the servers. Windows
Updates were pending, and had been pending for about a week, but it’s hard to reboot
production servers in the middle of the day when people are using it. Throw in some
Flex Hours, and they’re in use from 6am to about 8pm.
</p>
        <p>
The Domain Controllers have their own policy for updates, and they’re still required
to be initiated manually, and then “restart now” clicked to reboot them.
</p>
        <p>
When new “critical” patches are released and there are known 0-day flaws being exploited,
I’ll use the ‘deadline’ feature in Windows Software Update Services (sort of a mini
Windows Update server you can run on your own, approve and distribute updates around
your own network but only downloading it once from Microsoft) where if a deadline
passes and a user has been clicking “restart later” it will disable that button and
start a 15 minute countdown before it forcibly reboots.
</p>
        <p>
There was no deadline on this latest batch of updates from the last Patch Tuesday,
so the (member) servers were politely asking to be rebooted. I logged into each of
them one by one and clicked “restart now” and then waited for them to shut down, restart,
and start back up again.
</p>
        <p>
All of them worked and came back up (according to pinging them for responsiveness)
except one. It SEEMED to come back up. I could ping it and it responded, so I moved
on to the next and the next and the next.
</p>
        <p>
It wasn’t until this morning when I walked in the door and had four people waiting
for me saying “the network is down” (which of course was a misnomer, the network wasn’t
down, it was just the shares on THE MAIN FILE SERVER that were disconnected) I poked
my head into the server room, and the KVM was already set to that server and on the
screen (which was blue, but not <em>that</em> Blue) was “Configuring Updates stage
3 of 3 0% Do not turn off your computer” I watched it for a minute to see what happens,
as the hard drive LEDs were blinking away, so it WAS doing SOMETHING… then the screen
went black.
</p>
        <p>
The cursor was flashing up in the upper-left, so I waited some more… then the BIOS
splash screen came up. The server had rebooted itself.
</p>
        <p>
Turns out it had been in this startup, stage 3, fail, reboot loop since 9:00 last
night.
</p>
        <p>
Step 1, try a cold-boot. I waited for it to fail again, and then I held down the power
button until it powered off. I removed the power cables and let it sit for 30 seconds
to make sure everything had powered off, plugged it back in and tried again. Same
result.
</p>
        <p>
Step 2, try Safe Mode…. Applying Computer Settings… Configuring Updates stage 3 of
3… reboot. Crap.
</p>
        <p>
Step 3, Last Known Good Configuration. This resets key windows files back to how they
were the last time you successfully logged in. You would think that this would break
it out of a bad update loop. You would be wrong.
</p>
        <p>
Step 4, booted from the Windows Server 2008 x64 DVD and clicked on Repair. There’s
a new “Startup repair” tool that’s incl-wait, it’s not? only in Server 2008 R2 that’s
based on Windows 7 and NOT in Server 2008 that’s based on Vista? There are NO repair
options for Server 2008 other than re-imaging of the system from the latest full-system-image?
You DO have one of those, right?
</p>
        <p>
Step 5, Uncle Google suggested I click through to “<a href="http://news.softpedia.com/news/Get-Vista-Out-of-the-Infinite-Reboot-Loop-Configuring-Updates-Stage-3-of-3-0-with-Vista-SP1-78933.shtml" target="_blank">Get
Vista out of the Infinite Reboot Loop</a>” and the comment there by Tribus was:
</p>
        <blockquote>
          <p>
I know a different way to resolve this issue without using a restore point. 
<br />
1. Insert your Vista Media into your dirve and boot from it.<br />
2. Select "Repair your Computer" from the list.<br />
3. Select "Command Prompt" from the recovery choices.<br />
4. At the command prompt change your directory to C:WindowsWinSxS<br />
5. Type: del pending.xml<br />
6. Exit and reboot<br />
This will fix all Windows update reboot loops and does not require you to restore
your PC to and earlier state. 
</p>
        </blockquote>
        <p>
Figuring I had nothing else left to lose, I gave this suggestion a shot, even though
it was for Vista. If this didn’t work, then I’d be getting on the horn to Microsoft
Support for some help. Instead of deleting it, I renamed it pending.xml.old and then
exited and rebooted. 
</p>
        <p>
“Applying computer settings…” OK so far so good… 
</p>
        <p>
“Configuring Updates stage 3 of 3 0%. Do not turn off your computer…” FUCKBURGERS!!! 
</p>
        <p>
“Press Ctrl+Alt+Del to Begin” WHAAAAAAAAAAAT? it worked. 
</p>
        <p>
Once it was up and running the first thing I did (other than tell the users they could
access their files again) was to look in the event log and see what happened. On the
first reboot last night at 9pm, there was an event from source Winlogon, Event ID
6004 “The winlogon notification subscriber &lt;TrustedInstaller&gt;failed a critical
notification event".” 
</p>
        <p>
So the next step is to research that error and see if I can figure out WHICH update
caused it… it could be a moot point though because my co-worker turned up some early
results that once you do this, you’ve pretty much broken Windows Update on this computer
forever. I can live with that for now, because people are working and the data is
intact. If I figure out that that is the case, and figure out a workaround, I’ll post
a follow-up.
</p>
        <img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=83430c11-6ed8-4187-85d7-8aa745fbcee8" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/TheresAlwaysRoomForJelly/~4/PFmVkSc7zbw" height="1" width="1" /></body>
      <title>Windows Server 2008 just aged me 10 years in 10 minutes</title>
      <guid isPermaLink="false">http://www.docjelly.com/Blog/PermaLink,guid,83430c11-6ed8-4187-85d7-8aa745fbcee8.aspx</guid>
      <link>http://www.docjelly.com/Blog/PermaLink,guid,83430c11-6ed8-4187-85d7-8aa745fbcee8.aspx</link>
      <pubDate>Wed, 20 Oct 2010 17:07:51 GMT</pubDate>
      <description>&lt;p&gt;
Last night I logged into work from home to initiate a reboot of all the servers. Windows
Updates were pending, and had been pending for about a week, but it’s hard to reboot
production servers in the middle of the day when people are using it. Throw in some
Flex Hours, and they’re in use from 6am to about 8pm.
&lt;/p&gt;
&lt;p&gt;
The Domain Controllers have their own policy for updates, and they’re still required
to be initiated manually, and then “restart now” clicked to reboot them.
&lt;/p&gt;
&lt;p&gt;
When new “critical” patches are released and there are known 0-day flaws being exploited,
I’ll use the ‘deadline’ feature in Windows Software Update Services (sort of a mini
Windows Update server you can run on your own, approve and distribute updates around
your own network but only downloading it once from Microsoft) where if a deadline
passes and a user has been clicking “restart later” it will disable that button and
start a 15 minute countdown before it forcibly reboots.
&lt;/p&gt;
&lt;p&gt;
There was no deadline on this latest batch of updates from the last Patch Tuesday,
so the (member) servers were politely asking to be rebooted. I logged into each of
them one by one and clicked “restart now” and then waited for them to shut down, restart,
and start back up again.
&lt;/p&gt;
&lt;p&gt;
All of them worked and came back up (according to pinging them for responsiveness)
except one. It SEEMED to come back up. I could ping it and it responded, so I moved
on to the next and the next and the next.
&lt;/p&gt;
&lt;p&gt;
It wasn’t until this morning when I walked in the door and had four people waiting
for me saying “the network is down” (which of course was a misnomer, the network wasn’t
down, it was just the shares on THE MAIN FILE SERVER that were disconnected) I poked
my head into the server room, and the KVM was already set to that server and on the
screen (which was blue, but not &lt;em&gt;that&lt;/em&gt; Blue) was “Configuring Updates stage
3 of 3 0% Do not turn off your computer” I watched it for a minute to see what happens,
as the hard drive LEDs were blinking away, so it WAS doing SOMETHING… then the screen
went black.
&lt;/p&gt;
&lt;p&gt;
The cursor was flashing up in the upper-left, so I waited some more… then the BIOS
splash screen came up. The server had rebooted itself.
&lt;/p&gt;
&lt;p&gt;
Turns out it had been in this startup, stage 3, fail, reboot loop since 9:00 last
night.
&lt;/p&gt;
&lt;p&gt;
Step 1, try a cold-boot. I waited for it to fail again, and then I held down the power
button until it powered off. I removed the power cables and let it sit for 30 seconds
to make sure everything had powered off, plugged it back in and tried again. Same
result.
&lt;/p&gt;
&lt;p&gt;
Step 2, try Safe Mode…. Applying Computer Settings… Configuring Updates stage 3 of
3… reboot. Crap.
&lt;/p&gt;
&lt;p&gt;
Step 3, Last Known Good Configuration. This resets key windows files back to how they
were the last time you successfully logged in. You would think that this would break
it out of a bad update loop. You would be wrong.
&lt;/p&gt;
&lt;p&gt;
Step 4, booted from the Windows Server 2008 x64 DVD and clicked on Repair. There’s
a new “Startup repair” tool that’s incl-wait, it’s not? only in Server 2008 R2 that’s
based on Windows 7 and NOT in Server 2008 that’s based on Vista? There are NO repair
options for Server 2008 other than re-imaging of the system from the latest full-system-image?
You DO have one of those, right?
&lt;/p&gt;
&lt;p&gt;
Step 5, Uncle Google suggested I click through to “&lt;a href="http://news.softpedia.com/news/Get-Vista-Out-of-the-Infinite-Reboot-Loop-Configuring-Updates-Stage-3-of-3-0-with-Vista-SP1-78933.shtml" target="_blank"&gt;Get
Vista out of the Infinite Reboot Loop&lt;/a&gt;” and the comment there by Tribus was:
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
I know a different way to resolve this issue without using a restore point. 
&lt;br&gt;
1. Insert your Vista Media into your dirve and boot from it.&lt;br&gt;
2. Select "Repair your Computer" from the list.&lt;br&gt;
3. Select "Command Prompt" from the recovery choices.&lt;br&gt;
4. At the command prompt change your directory to C:WindowsWinSxS&lt;br&gt;
5. Type: del pending.xml&lt;br&gt;
6. Exit and reboot&lt;br&gt;
This will fix all Windows update reboot loops and does not require you to restore
your PC to and earlier state. 
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Figuring I had nothing else left to lose, I gave this suggestion a shot, even though
it was for Vista. If this didn’t work, then I’d be getting on the horn to Microsoft
Support for some help. Instead of deleting it, I renamed it pending.xml.old and then
exited and rebooted. 
&lt;p&gt;
“Applying computer settings…” OK so far so good… 
&lt;p&gt;
“Configuring Updates stage 3 of 3 0%. Do not turn off your computer…” FUCKBURGERS!!! 
&lt;p&gt;
“Press Ctrl+Alt+Del to Begin” WHAAAAAAAAAAAT? it worked. 
&lt;p&gt;
Once it was up and running the first thing I did (other than tell the users they could
access their files again) was to look in the event log and see what happened. On the
first reboot last night at 9pm, there was an event from source Winlogon, Event ID
6004 “The winlogon notification subscriber &amp;lt;TrustedInstaller&amp;gt;failed a critical
notification event".” 
&lt;p&gt;
So the next step is to research that error and see if I can figure out WHICH update
caused it… it could be a moot point though because my co-worker turned up some early
results that once you do this, you’ve pretty much broken Windows Update on this computer
forever. I can live with that for now, because people are working and the data is
intact. If I figure out that that is the case, and figure out a workaround, I’ll post
a follow-up.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.docjelly.com/Blog/aggbug.ashx?id=83430c11-6ed8-4187-85d7-8aa745fbcee8" /&gt;</description>
      <comments>http://www.docjelly.com/Blog/CommentView,guid,83430c11-6ed8-4187-85d7-8aa745fbcee8.aspx</comments>
      <category>Tech/Microsoft</category>
      <category>Tech/Servers</category>
      <category>Tech/Windows</category>
    </item>
  </channel>
</rss>
