Posted in General

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 […]

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 […]

Configure a short cut to ‘Run As’ a different user

This tip only works on short cuts. So create a short cut to one of your key programs, for example Active Directory Users and Computers. Right click the short cut, Properties, Advanced (Button), Run with Different Credentials. The idea behind ‘Run As’ is to encourage you to log on as an ordinary user, and then […]

To display your Username and Computer Name on the ‘My Computer’

a) Use regedit to locate [HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D} rename LocalizedString to LocalizedString.Old. I advice this step in case anything goes wrong and you want to revert to how it was. b) Create a new VALUE type Expand_SZ name it LocalizedString Set the value of LocalizedString to %Username% at %Computername% Press F5 to refresh the ‘My Computer’, there […]

Disable the original Administrator account

In Windows Server 2003, for the first time, you CAN disable the Administrator account. My point is that every hacker knows that Windows has a username called Administrator, so defend it by disabling the account. (Right Click the Administrator, Disable) Obviously you must create another account with administrative privileges. There are two variations of this […]

2meg line installed tomorrow …

Apology accepted Nildram. ….;)

How do I balance the load between two NICs on the same wire?

You will need to add two Value entries of type REG_DWORD at: HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNetBTParameters RandomAdapter should be set to 1 and SingleResponse should be set to 1. Setting either value to 0 disables this feature.

How do I clear the page file at shutdown

For security reasons, you may want to clear the pagefile.sys when you shutdown the system. Edit: HKEY_LOCAL_MACHINESystemCurrentControlSetControlSession ManagerMemory Management Add Value name ClearPageFileAtShutdown as type REG_DWORD. The default is 0. When you set it to 1, inactive pages in the pagefile.sys will be filled with zeros. Some pages can not be cleared as they are […]

How do I remotely change a WinNT client from a static IP Address to a DHCP client

Use REGEDT32 to edit the remote registry. 1. On the Registry menu, click Select Computer. 2. Enter the ComputerName of the remote client or double-click it in the browse list. 3. Edit HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDHCP. 4. In the right-hand pane, double-click Start and change the data value to 2, which is Automatic. 5. Navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards1 […]

Add a Map Drive Button to the Toolbar

Do you want to quickly map a drive, but can’t find the toolbar button? If you map drives often, use one of these options to add a Map Drive button to the folder toolbar. 1. Option One (Long Term Fix) Click Start, click My Computer, right-click the toolbar, then unlock the toolbars, if necessary. Right-click […]