July, 2004 Archive

How can I let users log on to the domain when they can’t contact the Global Catalog (GC)?

When a native-mode user logs on to the domain, a GC checks Universal group memberships. If the user can’t contact a GC, the logon will fail. To let users log on even though they can’t contact the GC, perform the following steps on the servers that service the client logons: 1. Start a registry editor […]

How can I clear the Google Toolbar search history in the registry?

The Google Toolbar is an add-on search tool for Microsoft Internet Explorer (IE). To clear the toolbar’s search history, perform the following steps: 1. Start a registry editor (e.g., regedit.exe). 2. Navigate to the HKEY_CURRENT_USERSoftwareGoogleNavClient1.1 registry subkey (yes, the registry subkey is 1.1, even though you might have installed version 2.0 of the toolbar). 3. […]

How can I disable the Microsoft Internet Explorer (IE) script debugger?

If you run a script in IE that results in an error, IE gives you the option to debug the script. To disable this option, perform the following steps: Start a registry editor (e.g., regedit.exe). Navigate to the HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain registry subkey. Double-click the Disable Script Debugger value. Set the value data to “yes” to […]

How can I use the command line to move a user account in Windows Server 2003?

You can use the Dsmove command with the -newparent switch to assign new containers to Active Directory (AD) objects. For example, to move user johnsavill from the Users container to an organizational unit (OU) called Sales, type C:>dsmove “CN=johnsavill,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com” -newparent OU=Sales,DC=it,DC=uk,DC=savilltech,DC=com The machine will return the following result: dsmove succeeded:CN=johnsavill,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com

How can I use the command line to rename a user account in Windows Server 2003?

You can use the Dsmove command with the -newname switch to rename Active Directory (AD) objects. For example, to change user savillj to user johnsavill, type C:>dsmove CN=savillj,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com -newname johnsavill The machine will return the following result: dsmove succeeded:CN=savillj,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com

How can I create a file of a certain size in Windows XP and later?

If you need to create a file of a certain size and the file contents don’t matter, you can use the Fsutil command as follows: fsutil file createnew For example, fsutil file createnew d:temp1mbfile.txt 1000000 creates a 1MB file named 1mbfile.txt in the d:temp folder. I’ve successfully used this command to create a very large […]

Where is the M drive in Microsoft Exchange Server 2003?

Microsoft has removed the M drive by default in Exchange 2003 because of problems related to backup and antivirus software running against the M drive. However, you can still use the .BackOfficeStorage namespace to access the Exchange information through file APIs. If you require the M drive (e.g., you have programs that use the M […]

How can I enable a connection to a machine over RDP and through a firewall?

RDP operates over TCP port 3389. Therefore, to enable connectivity to any machine on the network through a firewall you must open this port. Alternatively, if you have to connect to a particular system on a LAN, configure port forwarding on the firewall to send traffic from port 3389 to the specific computer to which […]

How can I create a file that contains a list of all objects in a domain?

You can use the Csvde utility, which is included in Windows Server 2003 and Windows 2000 Server, to create a comma-separated value (CSV) file that lists all objects in a domain. For example, to list all objects in the home.local domain, you’d run the command csvde -d “dc=home,dc=local” -f domain.csv

What’s the Account Lockout Status tool?

The Account Lockout Status tool (lockoutstatus.exe) displays lockout information for a specified user by querying every contactable domain controller (DC) in the user’s domain. You can download the Account Lockout Status tool at Link You can also check a user’s lockout information at the command line. To do so, enter the command lockoutstatus -u:ali@alibutt.com where […]