How to Determine What Domain Controller Authenticated the User

A frequent question on the newsgroups is how do I know what domain controller logged me in? To find this out, open a command prompt and type "set logonserver". echo %logonserver% has the same functionality. This is an environment variable so you could use it from a script if you wanted. Share this post: email it! | digg it! | bookmark it! | live it!

How to Capture an Image from the Ghost Console

Note that you’ll need to have a Sysprep answer file created and the associated binaries. This post covers how to do that. You should also have the Ghost Client installed on the image source machine. To do this use the Tools>Remote Client Install menu in the Ghost Console. The rest of this post covers how to capture an image of a machine from the Ghost Console. To capture an image in Ghost, we need an Image Create task. To make one of these go to the Tasks folder, right click, and select New Image Create Task. There are several items … Continue reading How to Capture an Image from the Ghost Console

How to Build a Sysprep Answer File for Imaging

Sysprep is one of those things that seems to have a certain mystique that surrounds it. People either don't run it because they don't understand it, or perhaps because they don't know how. Some people also just don't think it's necessary. The bottom line is that when making an image for duplicating Windows installs Sysprep is absolutely necessary as part of the imaging process. I'm not going to cover what Sysprep does here since that's not the focus, but the long and short of it is that Sysprep removes all identifying information about the source machine when it's run (e.g. … Continue reading How to Build a Sysprep Answer File for Imaging

Word 2007 Does Blogging Apparently

I just accidently stumbled upon blogging support in Word 2007. I IM'ed Susan who told me "Dude where have you been? :)". Apparently I've been lost in outer space or something. The whole Windows Live Writer thing was pretty cool, no more typing into the Community Server textbox. Now I get the full Word UI and it seems to crank out some nice HTML too somehow. It asked me about pictures, so I've got a screenshot of this really neat feature here to see if it works. I added the drop shadow and border with the neat contextual picture tab … Continue reading Word 2007 Does Blogging Apparently

Delegating Enable/Disable Account Rights in Active Directory

I answer this question a lot on the newsgroups – "How do I delegate enabling and disabling Active Directory accounts?". The long and short of it is you can't. More precisely you can't without delegating access to set a whole bunch of other stuff. The enabled/disabled flag is set as part of a larger bitmask which controls various other properties of a user account. The attribute that this is stored in is the userAccountControl bitmask which is on every user account. The vast majority of options in this bitmask are the checkboxes that you see on the account tab of … Continue reading Delegating Enable/Disable Account Rights in Active Directory

Command Prompt History

Another tip for today, the Windows command prompt will actually show you a little history view of all the commands you've typed in the current session. You can use the arrow keys to select a past command and execute it again as well. To access this view just press F7: Share this post: email it! | digg it! | bookmark it! | live it!

Active Directory GUI Tools on a Member Server

A useful tip I've found people tend not to know about is that the Active Directory GUI tools (AD Users and Computers, Sites and Services, etc) are installed on every Windows 2000 and 2003 server regardless of whether or not the server is a domain controller. When the server is promoted to domain controller status, the shortcuts are just added to the Start Menu. To launch the tools without the shortcuts (e.g. from Start>Run) you just need to know the filenames of the tools: Active Directory Users and Computers – dsa.msc Active Directory Sites and Services – dssite.msc Active Directory … Continue reading Active Directory GUI Tools on a Member Server

Office 2007 Beta 2 Refresh

The Office 2007 Beta 2 Technical Refresh was posted a couple of days ago to the Microsoft download site. It's posted in the form of a patch, so you have to have a pre-existing Office 2007 Beta 2 install. There is a known issues list and some notes on troubleshooting the install if it doesn't succeed that is posted there as well. All the links are here. Share this post: email it! | digg it! | bookmark it! | live it!

New Look for the Site

After a couple hours of customization, I activated a new theme for the BrianDesmond.com site. The old look was the same theme I had when I started a blog on weblogs.asp.net in 2003. I felt like it was kind of depressing to look at the old colors – there was a lot of gray in there. With that in mind I settled on a new theme which is far brighter and certainly less visually depressing. I also recently added a little "Share this post" bar at the bottom of each post – it has links for emailing the post, as well … Continue reading New Look for the Site

Sometimes the Windows CLI sucks…

I wanted to remove all the WMAs in my music folder since the DRM stuff has been screwed up for a while – I can just redownload it anyway from Yahoo Music. So, given I've spent alot of time on *nix stuff lately this seemed perfectly valid: D:\Music>dir /s /b *.wma | del Windows didn't think so:The syntax of the command is incorrect. This seems lame to me, on Linux I'd just pipe ls into rm and be done with it, but that clearly isn't an option here. At this point I considered screwing around trying to get the GNU tools … Continue reading Sometimes the Windows CLI sucks…