Mike's Realm chown -R us ./base

15Jul/130

List/Export Installed Windows Updates Including Windows Server 2012

Previously I had written about this for Windows Server 2008 and prior versions.  I just wanted to mention that this works on Windows Server 2012 via wmic as well.

So if your running Windows Server 2012 and want to export a list of updates use WMIs Command-line interface (WMIC) to generate the list.

Launch a command prompt and type:

Also note that instead of a csv you can use these other format options:

HFORM/HTABLE are HTML
LIST is Tab Delimited
RAWXML is XML

 

Share
20Mar/120

Cook your own VMware AppBlast

Wrote this article almost 6 months ago...finally got around to finishing it--Let me know what you think!

"Project AppBlast will provide the universal delivery of any application, including Windows-based applications, to any off-the-shelf browser or device supporting HTML 5, enabling instant remote access to non-HTML based applications."

We discussed this at work the other day and we were excited at the possibilities with AppBlast, but since it's not here now we'll have to wait for a released product.  One of my co-workers Chad Wintzer said well why wait?  We dug around and came up with a working solution--and a damn good one after a few evenings grinding away at this.  Having a fair amount of RDS experience already this is what we came up with:

Backend

The backend infrastructure is provided by Microsoft's Remote Desktop Services: RemoteApp.  This feature was introduced in Windows Server 2008 and was improved upon even more in the R2 release.  What RemoteApp allows you to do is run applications on backend RDS (TS) servers, and establish an RDP session from a user to just that app.  The user is presented with a window over their local desktop and functions just about as if it was actually installed and running off the local desktop.  Users can run multiple applications in parallel and so long as the app behaves well in a RDS environment you can host 1 installation with multiple users.  The servers that run RemoteApps are called RD Session Hosts, to scale you can simply throw a bunch of RD Session Hosts together and strap a load balancer on top, however you will want to use RD Connection Broker(s) in place of a traditional load balancer to keep track of user sessions.  The Connection Broker(s) manage session information such as RD Session Host server, session state, session ID, and the user associated with the aforementioned bits.  For the security junkies it's worth noting that RemoteApp is AD integrated so you can restrict access to various apps via Security Groups.  This was something added in R2 I believe as many folks were complaining about this when RemoteApp first came out.

If you don't want to go that route you can look at Citrix's XenApp offering, but we found RDS: RemoteApp performed exactly as we needed it to.

Share
5Mar/123

Howto Reboot/Shutdown Windows Server 8

I can't believe I am actually writing this...with all the major changes Win8/Win8 Server are bringing one would never think they would change how you shutdown or restart, right?  Well we are wrong...

You can't just click Start->Shutdown anymore, old schoolers might remember this one:

Alt+F4

Focus needs to be on the desktop (minimize all other windows, or click on the wallpaper so focus is on the desktop) then hit Alt+F4 to see a familiar window:

Windows Key+C

This is the "Charms" shortcut key.  Charms is a Microsoft term for these icons that appear when you hit Windows Key+C:

Then Click Settings:

Now you can click Power & select Restart or Shutdown.

 

Share
15Mar/113

List/Export Installed Windows Updates

If you are building server images/templates and want to document how you've built them why not list the updates that are installed?  Cool, but we can't copy-pasta the updates in bulk...These tools will handle this for you:

Windows Server 2003

If you are running Windows Server 2003 take a look at WUL (Windows Update List) a freeware app from Nirsoft.  You can download it as a .zip which has the standalone version that doesn't require an install.  Check it out @ http://www.nirsoft.net/utils/wul.html.  Unfortunately this doesn't work for Windows Server 2008...

Windows Server 2008

So if your running Windows Server 2008 and want to export a list of updates, there is a built in tool to do this.  Using WMIs Command-line interface (WMIC) you can export this list.

Launch a command prompt and type:

Also note that instead of a csv you can use these other format options:

HFORM/HTABLE are HTML
LIST is Tab Delimited
RAWXML is XML

Share