Tip 1: From a Windows NT Server machine a share can be created by opening Server Manager, highlight the target system,
select Computer, Shared Directories, and click on New Share.
The Windows NT Resource kit comes with a utility called RMTSHARE.EXE and this can be used to create shares on other machines providing you have
sufficient privilege. The basic syntax is as follows
rmtshare \\<computer name>\"<share name to be created>"="<path>" /remark="<share description>"
e.g. rmtshare \\server\miscfiles=d:\files\misc /remark="General files"
You only need to use double quotes around the share to be created and the path if there are spaces in the share/file name, e.g.
if the share was to be called misc files instead of miscfiles it would have to be in quotes, e.g.
rmtshare \\server\"misc files"="d:\my files\misc" /remark="With space share"
There is also a wizard to share and administer your NT server c:\%systemroot%\system32\wizmgr.exe.
Remember share names cannot contain the " / \ [ ] : | < > + ; , ? * = characters.
top
Tip 2: Beispiel-Konfiguration: Einzelner Server mit W2K und EXC2K und damit u. a. AD+DNS, soll intern auflösen und extern weiterleiten.
Zusammengefasst müssen folgende Dinge beachtet werden:
- "." Forward-Lookup-Zone löschen - Weiterleitung auf den DNS des Providers einrichten
- Forward-Lookup-Zone erstellen, die den Namen des Servers trägt (AD-integriert) - Und hier kommt das entscheidende Häckchen: Netzwerk > TCP/IP > Erweitert > DNS > "Adressen dieser Verbindung in
DNS registrieren" deaktivieren.
top
Tip 3:
In Windows NT 4.0, you enable IP forwarding by checking "Enable IP Routing" in the Advanced TCP/IP configuration dialog box. However, to enable a multihomed Win2K box to act as an IP router, you must perform the following steps:
Start regedit.exe. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters. Double-click IPEnableRouter. Set the value to 1. Click OK. Close regedit.
Reboot the machine. top
Tip 4:
In beta versions of Windows, the system displays the version in the bottom-right corner. To enable this display on final versions of Windows, perform the following steps:
Start regedit.exe.
Go to HKEY_CURRENT_USER\Control Panel\Desktop. Double-click PaintDesktopVersion (or create a new value of type DWORD if it doesn't exist). Set PaintDesktopVersion to 1. Click OK. Close regedit.
Log off and then log on for the change to take effect.
If you are using Active Desktop, the system won't display the OS and build number. However if you aren't using Active Desktop, you will see text similar
to the following:
Windows 2000 Professional Build 2195
top
Tip 5:
runas /user:administrator "\"c:\programme\internet explorer\iexplore\" c:\\"
top
Tip 6:
Internet Explorer 5 allows the setting of an icon for favorites which you can easily enable for your web site.
When you create a favorite in IE 5.0 and above it checks the root of the web site for
favicon.ico which should be a 16x16 icon or it may be ignored (in Windows 2000 version it handled a 32x32 icon fine). Create the icon with any icon editor such as the one supplied with Visual Studio.
You can also manually specify an icon with a different name with the following code snippet
<HEAD> <LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
<TITLE>NT FAQ</TITLE> </HEAD>
This icon is only used for favorites and will not be checked and read in until the site is added as a favorite. top
Tip 7:
In Windows 2000 the Start menu will scroll the content if there are more than the number that can fit in a single column. In Windows NT multiple columns would be used where needed. Its possible to configure the system to use the old NT 4.0 method of multiple columns by performing the following:
Start the registry editor (regedit.exe) Move to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Double click StartMenuScrollPrograms and set to "NO" (don't type the quotes) Click OK Close the registry editor Reboot the computer top
Tip 8:
It may be useful to have the My Computer icon to show the current logged on user and computer name and this can be configured as follows:
Start the registry editor (regedt32.exe) Move to
HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} Select the <No Name> value and Delete From the Edit menu select 'Add Value'
Leave the value name blank and set the type to REG_EXPAND_SZ Click OK and enter the text User: %USERNAME% on: %COMPUTERNAME% Click OK
Click on the desktop and press F5 (for refresh) and the change takes effect Without changing the value type to REG_EXPAND_SZ the %username% and %computername% does not get expanded to the actual user name and
computer name. This works for Windows NT 4.0, for Windows 2000 perform the following:
Start the registry editor (regedt32.exe) Move to HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Double-click the value LocalizedString to edit and cut'n'paste the contents to somewhere safe. It will be something like: @D:\WINNT\system32\shell32.dll,-9216@1033,My Computer
Use Registry/Save Subkey to save the current entry. Delete the value LocalizedString. Create a new value named LocalizedString of type REG_EXPAND_SZ and paste in the content saved at step 3). Edit the text
'My Computer' at the end of the string and change it to '%USERNAME% on %COMPUTERNAME%', for example to: @D:\WINNT\system32\shell32.dll,-9216@1033,%username% on %computername% Right-click on the desktop and
choose Refresh, if you have desktop icons shifted to the taskbar, right-click on the desktop section and choose Refresh. top
Tip 9:
Start the registry editor (regedit.exe) Move to the HKEY_USERS\DEFAULT\Control Panel\Desktop Double Click ScreenSaveActive and set to 1 Double Click SCRNSAVE.EXE and set to "black16.scr"
Double Click ScreenSaveTimeOut and set to the number of seconds (e.g. 600 for 10 minutes) Exit the registry editor top
Tip 10:
During the text based portion of the NT installation, it is possible to create and format partitions. The maximum size for an NTFS partition is very large (16 exabytes), however the maximum size for a FAT partition under NT is 4GB (2GB under DOS). If you format a partition as NTFS during NT installation, it originally formats it as FAT and then converts it in the final stages of the NT installation, and this you are limited to a maximum partition size of 4GB during the NT installation.
Windows 2000 does not have this problem as it formats directly as NTFS and so does not hit the 4GB FAT limit.
To get round this problem there are several paths of action open to you
Before
starting the installation insert the disk into an existing NT installation and partition/format the disk using Disk Administrator and then insert the disk into the machine to be installed Partition the disk into
smaller partitions, if you had a 5GB disk you could have a 1GB system partition, and a 4GB boot partition. The system partition is the partition NT's core startup files are located, boot.ini, ntldr and ntdetect.com
(ntbootdd.sys if SCSI), and will normally be the active partition. The boot partition is the partition that NT stores the rest of its files, i.e. the %systemroot% directory Create a 4GB partition at installation
time, and then extend the NTFS partition after installation has completed - Start Disk Administrator (Start - Programs - Administrative Tools - Disk Administrator) - Select the NTFS partition and holding down
the Ctrl key select the unpartitioned space of the rest of the disk - From the Partition menu, select Extend Volume Set Note - You cannot extend a NTFS partition if it is the boot or system partition (as the
boot/system partition cannot be part of a volume set) If you are performing an unattended installation it is possible to create a greater than 4GB partition using the ExtendOEMPartition flag in the unattended
file. This key causes text-mode setup to extend the partition on which the temporary Windows NT sources are located into any available unpartitioned space that physically follows it on the disk. Under the
[unattended] section include the lines:
FileSystem = convertNTFS ExtendOemPartition = 1, NoWait top
Tip 11:
As you may be aware it is possible to change your password from the command line using the net user command, and if you combine this with the at command you can run the command on different machines, e.g.
at \\<machine name> <time> cmd /c net user Administrator anythingyouwant e.g. at \\savilljohn 18:00 cmd /c net user Administrator password
The /c after cmd causes the command window to close
after the command has been executed. An alternative to the at command would be the soon command
soon \\<machine name> cmd /c net user Administrator password
For this to work you will need to
ensure the Scheduler (Task Scheduler) service is running on the destination machines. top
Tip 12:
This situation is a good example of a relatively easy task in NT 4.0 that has become a hidden and difficult task in Win2K. Let's start with the IP address problem. You can get the error message you refer to even when you simply move the NIC from one PCI slot to another. To do away with the annoying message, you must delete the old NIC from Win2K Device Manager. Open a command-prompt window and enter the commands
set devmgr_show_nonpresent_devices=1
start devmgmt.msc The first command permits Device Manager to show phantom devices; the second command launches Device Manager. From Device Manager's menu bar,
select View, Show hidden devices. Expand the Network Adapter node, and delete the old adapter.
As for the inability to join the domain unless you select DHCP, several factors could be at fault. First, WINS
could be responsible. Your PDC or BDC might be reading from WINS that your machine is at another IP address. Go to your BDC or PDC and try to ping the new server. If the BDC or PDC tries to ping the server at the
address you assigned with DHCP, the quickest way around the problem might be to create an LMHOSTS file for the server. You should also look at the NetBIOS cache on your PDC and BDC. At the command line, type
nbtstat -c If an entry for the new server references the DHCP-assigned IP address, you need to flush your cache. To do so, type
nbtstat -R top
Tip 13:
MS-KB 306759 1.Start Registry Editor. 2.Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\ RDP-Tcp\PortNumber
3.On the Edit menu, click Modify, and then click Decimal. 4.Type the new port number, and then click OK. 5.Quit Registry Editor. top
Tip 14:
top
Tip 15: top
|