Archive for March, 2009

0

Microsoft Certified Master – Active Directory pre-reading

If you’re lucky enough (or wealthy enough) to be going to the Microsoft Certified Master course, there is a considerable amount of pre-reading that you’ll need to get through.  I recently found the list:

Right click, save as

http://www.boreditguy.com/blog/MCM_Windows2008-Directory_Pre-reading_v5.pdf

There are several of those documents I’ll be going through and hopefully one day I’ll get to go to the class.  I imagine this cert will be pretty marketable.

0

How to tell which Domain Controller a user or computer is logged into

I get asked this one pretty frequently so I thought it was worth a post.  Just open a command prompt and run this command:

set logonserver

Also just using the “set” command on windows can produce some useful information.

4

Manage Windows machines with remote Windows shell on Ubuntu Linux with winexe

***Updated instructions for Jaunty here http://boreditguy.com/blog/?p=274 ***

I’ve always been a big advocate for psexec and running commands remotely on Windows servers.  The problem is that I outright refuse to run Windows as my workstation and half the time I’m too lazy to start a VM to do a lot of things.  The other downfall with psexec is that getting it to run against Server 2008 boxes can be a pain and it doesn’t work out of the box.

So, I’ve been trying to get the tools in pstools to work with wine on Ubuntu 8.10, but I haven’t had much luck getting it to work.  So I finally got around to figuring out why.

Well I came across something even better.  Winexe.  It’s already in the Ubuntu repositories in a package called wmi-client.  To install on Ubuntu:

sudo apt-get install wmi-client

More information including source code and other installation instructions can be found here.  http://eol.ovh.org/winexe/

boredITguy@Serenity:~$ winexe -U “domain\boredITguy” //WindowsServer ‘cmd.exe’
Password for [domain\boredITguy]:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>

This thing is pretty awesome, and the best part is that it works with Server 2008 machines without any additional configuration.  Ah the possibilities….