My computer is hard hung, now what can I do?

You may run into instances where a machine becomes “hard hung”, I usually can tell when a machine is in this state because the “num lock” and “caps lock” key don’t work.  So what can you do in these instances?  Well Windows has the ability to create a manual crash dump.  Manual crash dumps will…

1

Booting a DC into DSRM without touching it locally.

Short answer: /safeboot:DSRepair Long answer: So you will run into it often when being an AD admin that you need to boot a DC into DSRM (Directory Service Restore Mode), so what is the easiest way of doing this without having someone stand at the console and hit F8 on reboot and select DSRM from…


Hey I forgot to turn on RDP on my server!

Ever find yourself away from your server after building it out and forgot to turn on RDP so you could TS onto the machine?  Well in XP and 2k3, you can just toggle a reg key and most of the time (pending firewall issues) you can then TS into the box.  Doesn’t work in Windows…

2

Dumping out all the DCs in a domain to a txt file

Short and sweet way of dumping out the DCs to a txt file, in a script:   for /f “skip=1” %%a in (‘netdom query dc /domain:YOURDOMAIN’) do (if %%a == The (echo.) else echo %%a >> test.txt)   So what’s the deal with all the syntax, and how would this be useful?  Well if you do…

2

Hey where did /3GB go in Longhorn and Vista?

If you did not already know there is no boot.ini in Vista/LH.  So how do you set usermode space to 3GBs? If you recall on x86 platforms there is 4GBs of addressable VM space.  So by default that is split up equally.  2GBs for kernel mode and 2GBs for use mode.  Now this is usually…

29

Hey who deleted that user from AD???

Backstory As an Active Directory administrator you might find yourself in a scenario where an object/account/computer/etc gets deleted from the directory and then helpdesk/operations/management/VPs want to know the who, what , when, where, why, and how. Now in a big enterprise like here in MSIT that could be quite difficult, since you don’t know what…

19

To err is Admin….

You ever want to know what an error code was that got returned to an event, the cmd line, from you app or from the OS?  Well then you need to get your hands on err.exe Using this tool you can now understand what 1708 means, of course to different applications the return code could…

4

My machine keeps bluescreening, how can I look at the dump?

Backstory Ahh the good old blue screen of death (BSOD), we’ve all seen it and always blame Microsoft for the issue.  When I hang out with my friends on the outside they’re always telling me how their Macs never crash and why does Microsoft make such poor software.  Well first off Macs don’t need to…

7