Wednesday, July 29, 2009

Changing default number of machines users can add to a domain

Default Limit is 10. But if you want to change the number, please follow the below steps

- Start ADSI Edit (start/run/adsiedit.msc)
- Expand out the Domain node, right click on DC=,DC=com and select properties
- Change the value for ms-DS-MachineAccountQuota
- Modify the value as appropriate (clear the value to remove the limit entirely).

Check NTFS Version in your system

Want to check the NTFS version your system is formatted with, then use the following command

fsutil fsinfo ntfsinfo

Eg : fsutil fsinfo ntfsinfo C:

Generally, NT 4.0 will have version info as 1.2, W2k as 3.0 and W2k3 3.1

Tuesday, July 28, 2009

Disable Check Disk at the start up

The /x switch will exclude a drive from the default boot-time check.

If you have drive C: as your hard drive, then the command to disable chkdsk from scanning C: drive would be:
chkntfs /x c:

This will work by modifying the BootExcecute value in the system registry. The BootExecute value is located in the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\Session Manager

The default value is for BootExecute is autocheck autochk *. When you use the /x switch, it will add a /k parameter prior to the asterisk. The /k parameter excludes volumes from being checked for the presence of a dirty bit.

Thursday, January 15, 2009

Default RDP Port Number Change

Navigate to the following key

HKEY_LOCAL_MACHINE\System\CurrentConrolSet\Control\TerminalServer\WinStations\RDP-Tcp -> Port number (Type : REG_DWORD)

By default, the port number will be 3389. Change it to different number by select binary option ...

"SET" Command -- Excellent source to know about ur computer

This is one of the most useful command to know the information about your computer. All you have to do is type "SET" in command prompt and hit enter

You can know the no. of processors, its architecture, TEMP file location, ENV variables .....and lots of usefull information.