Dave's Tech Blog
Archive for June, 2010
Benchmark Your Current DNS Servers
Jun 24th
I came across Google’s Namebench program while researching internet connection slowness and found that I could increase my DNS lookup time by 191%. This may not work as well for you but it’s worth a try. I am on a city fiber network (Spanish Fork City Network) that I’m pretty sure is getting too big for it’s servers. When I typed in www.google.com for example, it would take up to 5 seconds sometimes for the web page to resolve. After using the recommended DNS IP adresses from namebench the resolve time is under a second. It recommended using Comcast’s DNS servers. Learn more at http://code.google.com/p/namebench/
How to get Active Directory Users and Computers with Exchange Management Tools working in Windows 7
Jun 17th
h3>1. Install the w7 AdminPak (RSAT)
Remote Server Administration Tools for Windows 7 Release Candidate (RC)
2.Install IIS and Remote Server Admin Tools (Active Directory Users and Computers)
Use the “Turn Windows features on or off” feature to add IIS Stuff and the RSAT Stuff
4. Copy some files to your windows system32 foolder.
I used the files from my XP installation with these bat files, you will have to get them yourself
(REMEMBER: you need to run the cmd promt as administrator, use the one in accessories, right click it)
Text file of files that need to be copied
Bat file to copy from old install (assuming D:\windows\system32)
If you dont have these files available, you might find them here
5. Register the files
(same deal with cmd promt as administrator)
eg:
regsvr32 /s adprop.dll
regsvr32 /s ws03res.dll
5. Vista ESM
Download from here
Run it to extract the MSI, then run the MSI from command prompt (with admin rights!) with the /q switch to get rid of the ‘not for vista’ error
eg: c:\users\you\downloads\esmvista\esmvista.msi /q
Wait at least 10 minutes while it does its thing.
It is is a silent install, you wont see anything, but I have had cases of it breaking because people started AD too soon.
6. Run Active Directory
Run Active Directory users and computers from your start menu.
Windows 7 – How to rename a corrupt profile
Jun 15th
1. Restart PC and Login as a Local Admin or another Domain User.
2. Rename: c:\users\%username%
3. Export (just as a backup in case you need it) and then delete registry key:
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList”
(Look through each Profile key under this reg key and view the “ProfileImagePath” to find which key is related to which user)
4. Logout and login as the original user and it will create a new profile for them.
If you do not delete the registry key it will continually give a “temporary” profile to that user infinitely or until you rename their c:\users\%username% folder back.
