September 2011 Archives

Here was fun.  I’ve gotten my hands on some decent server hardware that had some caveats.

No DVD or ability to BOOT from DVD

No USB Booting ability

but

CPU was x64 capable

So in this scenario, normally you would scrap using Server 2008R2 or Server 2008 x64 because the media only exists on DVD format.  The alternate is to boot from USB but since the server can’t do that, forget it.

 

But if you have Windows Deployment Server at your finger tips and MDT 2010 none of this is a problem. Just create that image and awaaaaay you go.

“But Sean, what happens if it breaks?  I’m stuck right?”

Funny thing is … NO.

I was playing this weekend and if you learn how to build a standalone WinRE x64 or have access the DART and can build THAT image, the both fit on a Standard CDrom, with room to spare (which many older x64 servers DO in fact have, Cdroms)

I know this because my test environment was running off an older Dell server which (as my coworker would say) “Hacked up a hairball”, I lost my Domain (Yes, I was building new and hadn’t added my secondary and tertiary DC’s)

So to resolve this, I created a WinRE Cdrom from my x64 Windows 7 and repaired the environment from that.

Ok…. for production maybe NOT a GOOD idea (or maybe it is?  Trying to extend the budget on some older equipment?  Repurpose it as an RODC?)

Just food for thought.   But all of this was possible thanks for MDT (Free) and WDS (Just a free role in the Server 2008R2)

 

This blog post brought to you by the letter “M”

Sean
The Energized Tech

You’re stuck in a jam.  The remote workstation is on, the user isn’t there and you have a mandate.

“Install this software before you leave.” Of course the software just happens to be the one application you CAN’T just push.  It needs a local install.  “UGH!” your brain says to the world.

No problem.  As long as the computer is on your network, you can enable Remote Desktop access.

First you need to have local Administrative rights on the computer in question.

Launch REGEDIT and Choose File/Connect Network Registry

image

In the provided box, enter in the name of the computer

image

Once connected you’ll have a new option near the bottom.

image

Under the “2nd” HKEY_LOCAL_MACHINE (which is that nasty remote computer) Navigate to

HKEY_LOCAL_MACHINE\System\Current Control Set\Control\TerminalServer

Edit the value called fDenyTSConnections and change from 1 to 0

change from 1 to 0

image

Now if you’re running Windows XP, you’re probably done and can happily remote in. 

With Windows 7 and Windows Vista there’s an extra step, you need to enable two rules on the Firewall

Navigate to the following registry key

HKEY_LOCAL_MACHINE\System\Current Control Set\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules

You’ll see a pile of values.  Find the one named “RemoteDesktop-In-TCP”

image

You’ll see a LOOOOOOOONNNNNG string of data in there.  Near the very beginning it will read something along the lines of what you see below

image

Edit the Active=FALSE to ACTIVE=TRUE so it reads as in the box below.  Click OK

image

Then execute the following command in a command prompt.

SHUTDOWN –f –r –t 0 –m \\COMPUTERNAME

Where “COMPUTERNAME” is the NETBIOS name of the PC

or

SHUTDOWN –f –r –t 0 –m x.x.x.x

Where x.x.x.x is the IP address of the computer

Now you COULD probably trigger this via GPO and Preferences too.  But on the Enterprise why would you? Baaaaaad!

But in Small Business environments I have seen the need for this, so it COULD be set in those instances.   Of course you’ll have to remember add anybody who SHOULD be remoting to the local computer group “Remote Desktop Users

A handy thing to know how to do, especially if you are effectively “Locked away” from physical access to a managed machine.

Sean
The Energized Tech

Next Saturday ! 

September 17, 2011 is SQL Saturday #93

sqlsat93

The Event is free, Lunch is $15 if you’d like a Tasty lunch.  A chance to meet greet other Professionals.  A day of solid training for Data Professionals.

And…. a small bonus. 

Rumor has it, the one, the only…. the BATCHman may make a special appearance at the Powershell session.

So register, and check it out now.  Heck a Saturday doing Nerdy stuff?  How can you go wrong?

sqlsat93

When I started bugging Microsoft and sending them posts for “Hey Scripting Guy” I figured a large army of Steve Ballmers would come day and take my keyboard away with a big warning of “Stop spamming us!  We all know about you and “The Number of the Email Beast” so cut it out.    

HonoraryScriptingGuy

Then I caught an email from none other than Ed “Hey Scripting Guy” himself announcing five people granted the title of “Honorary Scripting Guy” for our contributions to the site, the community and I think (pretty certain of this) as some kind of appeasement to stop me from spamming Microsoft for a few days Winking smile

I kid about of course.  Ed’s a great guy but this announcement threw me for a loop.   I had just finished my LiveMeeting presentation for TechEd 2011 Australia when Ed took the stage (or the LiveMeeting in this case) and let forth the announcement of the first ever “Honorary Scripting Guys”.

I though the Title alone was cool, I was blushing when I heard too.  Then I heard the other four names.   Don Jones, Trevor Sullivan, Tome Tanasovski and James Brundage.   

I stood there looking at the page.  I smiled. “Honorary Scripting Guy”.

This feels cool.   Almost as if I actually work for Microsoft.  

Now I can’t wait for the next time Ed announces some new ones.  I can’t wait to see names of people who are my peers and heroes on this list.

Today I am honored to be in the first five, hopefully amongst many others.  So glad I stepped out and took a chance.

By the way, a special thanks to everybody at Microsoft and MVP’s alike.   The reason this happened was thanks to community encouragement.    An especially large thanks to the DPE team and Microsoft Canada who encouraged me to step out of my shell.   If they hadn’t encouraged me and allowed me to be “The Friday Funny Guy” I’m not sure I would have had the courage to do what I do today.

Kudos to Ed “Scripting Guy” Wilson and “Scripting Wife”

PS.  “Sorry about the singing” Winking smile

Sean
”The Energized Tech”
MCSE,MCTS,MVP
Member of Springboard Technical Experts Program
Honorary Scripting Guy on Technet