Ask Dr. Bob Your NT Questions - 01 Apr 1997
Learn how you can activate the Num Lock key whenever you reboot from NT 4.0, set up DUN in NT 4.0, resolve a Port is busy message, and much, much more.
March 31, 1997
Send us your tips and questions. You can also visit Bob Chronister'sonline Tricks & Traps at http://www.winntmag.com/forums/index.html.
Q:In January, you mentioned that you don't recommend dual booting betweenWindows NT and Windows 95. I've installed NT and Win95 on two separate physicaldrives in my 166MHz Pentium and have had no problems. What problems have youencountered, and do you advise sticking with one operating system?
First, let me set the record straight for readers who tell me that NT andWin95 coexist perfectly--you can install both operating systems on the samesystem. However, each OS uses different component files, and Win95 can ruin NTif you use the Win95 Fdisk or the DOS or Win95 Defrag utility, (which, I admit,people don't do very often, but it does happen). Delete the Win95 version ofFdisk and use NT Disk Administrator or the DOS Fdisk. I use NTFS as much aspossible, which makes dual booting the same files impossible. To be honest, Ihave a dedicated Win95 machine on my network that I use for diagnostic purposesand a Windows for Workgroups (WFW) machine that has a dual-boot option to NT 4.0Workstation.
Rumor has it that NT 5.0 will not support FAT32. The implications of thisdecision are enormous. FAT16 is dead and will soon be buried. The latest versionof Win95 (OEM Service Release 2) includes a FAT32 file system option that mostusers have adopted to keep cluster size manageable. If the rumor mill iscorrect, dual booting will soon be a thing of the past.
Q:How can I get Windows NT 4.0 to keep Num Lock on after reboot? Thisproblem is annoying many of my users.
This question involves changing your Registry--remember, always have abackup of your Registry before you edit it. Warning: Using the Registryeditor incorrectly can cause serious, systemwide problems. You may have toreinstall NT to correct them. Use this tool at your own risk.
Using regedt32.exe or regedit.exe, go to the HKEY_CURRENT_USERControlPanelKeyboard key. If you set the value for InitialKeyboardIndicators of datatype REG_SZ to 0, the Num Lock will turn off after the user logs on. If you setthe value for InitialKeyboardIndicators of data type REG_SZ to 2, the Num Lockwill turn on after the user logs on.
Q:How do I set up Dial-Up Networking (DUN) in Windows NT 4.0 to connectto my Internet Service Provider (ISP)? Setting up DUN in NT 4.0 seems fardifferent from setting up Remote Access Service (RAS) in NT 3.51.
NT 4.0's DUN is similar to NT 3.51's RAS, but these similarities are notnecessarily obvious. To set up DUN in NT 4.0, follow these instructions:
Double-click My Computer on your desktop, and select the Dial-UpNetworking icon.
Click Install. You will see the message, "Installing Dial-UpNetworking."
If you have not previously installed a modem, NT will display themessage, "There are no RAS capable devices to Add. Do you want RAS setup toinvoke the modem installer to enable you to add a modem? Yes/No?"
Click Yes. Before you continue, make sure your modem is attached to yourcomputer and turned on, and quit any programs that are using your modem. ClickNext when you are ready to continue.
NT will try to automatically detect your modem and display the name ofany modem it finds. If NT doesn't automatically detect your modem, you canmanually browse the list of supported modems and select one to install. (As inWindows 95, NT's auto-detect doesn't always work; I generally select my modemfrom the list by hand.) You might need to insert the manufacturer-supplied modemsetup floppy if NT doesn't include the driver for your modem. Because NT (likeWin95) detects modems via unimodem, most setup floppies will have the needed.inf file. If NT detects your modem, you will see an Install New Modem dialogbox that lists the name of your modem and the serial port where NT found yourmodem.
Click Next to confirm that the proper modem is selected.
You then have to select your country, type in your three-digit area code,specify whether you dial a number (such as 9) to access an outside telephoneline, and select tone (if you have a touch-tone phone) or pulse dialing. Afteryou finish configuring these settings, click Next.
Click Finish. NT will display an Add RAS Device dialog box that lists anyRAS-capable devices.
Click OK. The Remote Access Setup will list your modem in the listboxwith Port, Device, and Type information. Confirm that the setup is showing theproper serial port and the correct type of modem.
Click Configure, select Dial-Out Only (this setting might be set to Inand Out), and click OK.
Click Network. Select the Dial-Out Protocol TCP/IP check box. UncheckNetBEUI and IPX if you are trying to establish a dial-up connection to an ISP.
Click Continue in the Remote Access Setup dialog box. You will see themessage, "Please wait while Remote Access is installed." When thesetup prompts you, click Restart (rebooting is still a royal pain that Microsoftwill, I hope, fix soon).
When your computer reboots, press Ctrl+Alt+Del and log on asAdministrator.
To connect to an ISP, you need to set up a phonebook entry. Follow thesesteps:
Double-click My Computer, and select the Dial-Up Networking icon.
Click Install, click OK to add a new phonebook entry, and click OK again.
When the New Phonebook Entry Wizard appears and displays the name of yourdial-up entry, type in the name of your remote access provider and click Next.
In the Server dialog box, check I am calling the Internet, checkSend my plain text password if that's the only way to connect, and checkThe non-Windows NT server I am calling expects me to type login informationafter connect.
Click Next, and enter the appropriate phone number.
Click Next, and select Point-to-Point Protocol (PPP).
Click Next, and select Use a Terminal Window. If your ISP supports logonvia Password Authentication Protocol (PAP) or Challenge Handshake AuthenticationProtocol (CHAP) authentication, select None. If your ISP supplied you with an NTor Win95 logon script, select the name of the script file in the Automatewith this script window (this file must be in the %system%system32rasdirectory). To connect to CompuServe, select the Automate this with a Scriptcheck box (the script is cis.scp).
Click Next. In the IP Address dialog box, enter your IP address if youuse a fixed IP address for your dial-up connection. Warning: Do not usethe same IP address as the one you assigned to the NIC in your machine. Leavethe IP address set to 0.0.0.0 if your remote access server assigns dynamic IPaddresses.
Click Next. In the Name Server Addresses dialog box, enter the IP addressfor your primary Domain Name System (DNS). For CompuServe, set the DNS to149.174.211.5. For most ISPs, simply set server-assigned IP address andserver-assigned name-server addresses.
Click Next, and click Finish to complete and save your dial-up phonebookentry.
Click More, and select Edit entry and modem properties. Confirmthat you have the proper settings for each DUN configuration dialog box.
Click More again, and select Clone entry and modem properties,as you see in Screen 1. Type in a new name for the clone entry, as you see inScreen 2 (this step lets you start over easily in case your original entrybecomes corrupted).
Create a shortcut on your desktop. Double-click My Computer on yourdesktop, select the Dial-Up Networking icon, click More, and select Createshortcut to entry. Click OK.
You are now ready to dial in to your ISP. Follow these steps:
Click Dial to dial your remote access server.
Type in your username and password. Make sure you leave the domain nameblank if you are dialing in to a non-NT network.
If you are connecting to the Microsoft Network (MSN), you must type MSN/USERNAMEfor the username. Furthermore, if you are running Service Pack 2 (SP2), youneed the postfix for RAS on the Microsoft FTP site (for more about this problemand Microsoft's hotfix, see Jonathan Chau, "Service Pack 2," March1997).
Click OK. The modem will connect to your ISP's RAS server.
The Post-Dial Terminal Screen will appear. Use your ISP-supplied manualterminal logon procedure to log on to your ISP, and click Done. Check the Donot display this message again check box (the Close on dial optionhides the phonebook while dialing is occurring and closes it as soon as youconnect).Click OK. Right-click Dial-Up Networking Monitor on the task bar, andselect Open Dial-Up Monitor. You will see a DUN status screen. If you clickDetails, the display you see in Screen 3 will appear.
Click the Preferences tab, and review the information about your activedial-up connection. When you finish your online activity, you can easily see thestatus of the connection by looking at the DUN monitor in the system tray.
You can create a script to automate these connection steps. Create a newtext file, ispname.scp. Look at sample files pppmenu.scp and script.doc in the%systemroot%system32ras directory for examples.
If you connect to CompuServe and use WinCim 3.x, you'll want to payattention to these steps:
In the Access, Preferences menu, select Default WINSOCK, as you see inScreen 4. In the Advanced Settings, set the Host Machine Interface (HMI) timeoutto 240.
To connect to CompuServe, use DUN and the detailed settings you see inScreen 5.
You can now run either WinCim or a standard Internet Browser.
To log on to CompuServe, I use the following script, which is part of myswitch.inf script file (for information about RAS scripts, see Steve Scoggins, "WindowsNT RAS Scripting," May 1996):
[Compuserve]
COMMAND=
OK=":"
COMMAND=
COMMAND=CIS
OK=":"
COMMAND=ID/GO:PPPCONNECT
OK=":"
COMMAND=Password
OK=
;end
[OtherISP]
COMMAND=
OK="login:"
LOOP=
COMMAND=Your Id
OK="password:"
LOOP=
COMMAND=Your Password
OK=
Q:I've heard you can use Tweak UI to set several aspects of the WindowsNT 4.0 desktop. Where can I get a copy?
Tweak UI is a Windows 95 PowerToy that runs on NT and lets you adjust youruser interface (UI--including menu speed, mouse sensitivity, shortcut appearanceand default names, window animation and sound, icon placement on your desktop,and Internet Explorer--IE). You can download Tweak UI fromhttp://www.microsoft.com/windows/common/a293.htm.
Q:Can you explain Point-to-Point Tunneling Protocol (PPTP)? It soundsspectacular and just might be what we need for our sales force.
Although the Internet supports user access to other computers worldwide,secure dial-up network access is still a problem. Several vendors have tried toovercome this limitation by establishing virtual dial-up standards. Examples ofthis class of network solutions include support for privately addressed IP, IPX,and AppleTalk dial-up over (mostly) Point-to-Point Protocol (PPP) across theexisting Internet infrastructure. Specifically, virtual dial-up solutions letusers access the Internet to support non-IP protocol applications in a securemanner. If you use a virtual dial-up service, different operating systems andseparate protocols can share a common access Internet infrastructure thatincludes modems, access servers, and Integrated Services Digital Network (ISDN)routers. Most virtual networking calls are local calls for the remote user, sothe costs are minimal and the session terminates locally. This type ofnetworking can dramatically improve the phone switching capacity needed.
Vendors have taken several approaches to providing virtual network access,and not all operating systems support the necessary client or server protocols.The two most developed approaches are Cisco's Layer 2 Forwarding Protocol (L2F)and PPTP for NT. PPTP ships on the NT 4.0 Server and Workstation CD-ROMs (youapply it as a service in the Network applet of the Control Panel) and lets youestablish Virtual Private Networking (VPN) access via the Internet. The mostelegant aspect of these approaches is that the virtual access is platformindependent--all you need is a dial-up PPP-enabled client system.
The key element to L2F and PPTP is the tunnel, a vehicle for encapsulatingpackets in a protocol. The tunnel has defined and understood entry and exitpoints on any given network. The entry and exit points are simply referred to astunnel interfaces. In the L2F protocol, the carrier protocol is IP with UserDatagram Protocol (UDP), the passenger protocol is PPP, and the encapsulatorprotocol is L2F. For PPTP, the carrier protocol (what Microsoft calls the control)is TCP, the passenger protocol (what Microsoft calls data packets) is PPP, andthe packets are encapsulated using the Internet Generic Routing Encapsulationprotocol, version 2 (GRE v2).
Because the concern here is PPTP, let's focus on how PPTP works. Each PPTPpacket is either a control packet (signal or status) or a management packet(device and configuration). The packet contains an identifier, a description oflength, and a magic cookie (a small string of identifying data stored on theclient's Web browser). Although this approach is surprisingly simple, its designis also elegant and has significant built-in error correction and trapping.Microsoft has even accounted for collision problems: The peer with the higher IPaddress is always the winner.
PPTP's major selling point is its cost (it comes as part of NT 4.0). Theonly other cost involved is the connection fee, which is minimal for most userswho connect to an Internet Service Provider (ISP) to access the Internet. If youconnect to a national ISP, you can access a PPTP link in most cities for thecost of a local phone call.
Imagine that the Internet is nothing more than a large set of phone lineswhere you can make nearly every possible connection. PPTP works on the familiarprinciple of calling one phone number from another. You simply use the PPTPservice to establish a VPN from one address to another.
PPTP is simple and elegant and will soon be a standard. Ascend, 3Com,Telematics, US Robotics, and Microsoft have formed a PPTP forum to establishPPTP as an open standard. At a meeting in Montreal, Quebec last June, the forumagreed on the proposed standard that will merge Microsoft's PPTP and Cisco'sL2F. The merger is important because the dominant router on the Internet todayis the Cisco router. You can expect to see broad acceptance of virtual Dial-UpNetworking (DUN--PPTP and L2F) over the Internet in the near future. This way ofconnecting will be a boon to businesses that have several mobile users. The costis low and the security is high. For more about PPTP, see Mark Minasi, "DecipheringPPTP," December 1996.
Q:I have a Practical Peripherals ProClass 288 PC Card modem. The modemappears to be working, but I keep getting a Port is busy message inWindows NT. How can I fix this?
Believe it or not, you need to boot into NT 4.0 with the RJ-11 connectorpushed into the PC Card modem. After NT boots, pop out the jack and connect yourphone line. I realize this procedure sounds ridiculous, but it is exactly whatyou need to do.
The Port is busy message is deceiving. If I set my IntegratedServices Digital Network (ISDN) line speed too high in setup, I get the samemessage. Obviously the port is not busy, but NT is not properly returning theerror.
Q:We are starting to use Systems Management Server (SMS) for networkmonitoring, inventorying, and upgrades. What are some general guidelines forSMS?
SMS will collect a reasonable amount of basic system information, as yousee in Screen 6, and store it in a SQL Server database. Therefore, the PrimaryDomain Controller (PDC) for the primary SMS site (the NT server), SQL Server,and SMS all need to run optimally. To get the most out of SMS, stick to thefollowing guidelines:
Processor: Use at least a 133MHz Pentium for SMS and SQL Server and asymmetric multiprocessing (SMP) machine for large networks.
Hard disk: Use separate hard disks for NT, SQL Server, and SMS. You needto configure your SMS hard disk to use NTFS. Ideally, SMS will have at least 1GBof drive space available. I generally don't put SQL Server and SMS on the sameserver.
Memory: SMS and SQL Server are both memory intensive. The minimum amountof memory you need to run NT and SMS is 24MB. Even this amount is inadequate. Itypically use 64MB because my computer is also the PDC.
Network bandwidth: Obviously the bigger the bandwidth, the better theperformance. This adage is definitely true on primary SMS sites. You need aminimum of switched 100Base-T for the primary site.
SQL Server optimization: Each instance of SMS Administrator uses SQLServer. The SMS executive and hierarchy managers also use SQL Server. BecauseSQL Server has numerous other uses, I recommend a dual Pentium Pro with at least128MB of memory.
SMS load: I often see server installations running SMS and numerous otherapplications. A good idea is to monitor the load on your SMS and keep the SMSsites reasonably dedicated.
For more about SMS, see Spyros Sakellariadis, "SMS: Inventory YourDesktop Systems, Parts 1, 2, and 3," May, June, and July 1996.
Q:I'm considering buying one of the new 56Kbits per second (Kbps) modems.Do they work? If I buy one today, will it work in six months?
The 56Kbps standard is rapidly emerging, but so far, the computer industryhas not settled on the accepted standard. The leading proponents of thenew standard are Lucent, Rockwell, and US Robotics (USR). So far, about 400companies will support K56flex, an interoperable 56Kbps modem protocol thatrelies on Lucent's V.flex2 and Rockwell's K56Plus 56Kbps modem technologies.Personal computer manufacturers such as AST, Compaq, HP, and Toshiba andInternet Service Providers (ISPs) and online service providers (OSPs) such asCompuServe, NETCOM, PSINet, and UUNET Technologies will support the K56flextechnology. USR has about 200 ISPs committed to adopting its x2 56Kbpstechnology, but USR lacks strong vendor support.
Note that the Lucent/Rockwell K56flex and USR x2 standards are incompatible.The USR x2 standard peaks at 33.6Kbps on the query/upload side and approaches56Kbps on the download side. In contrast, the K56flex standard will push highspeeds in both directions. In theory, the K56flex standard lets users surf theInternet and receive online services over ordinary analog phone lines at nearlytwice the speed of today's fastest modems. However, K56flex's realtransmit/receive speeds will be about 40Kbps. Given the strength of support forthe K56flex standard, it is undoubtedly in the strongest position to emerge asthe accepted 56Kbps standard.
To achieve connect speeds of 56Kbps, you and your ISP or OSP must both havecompatible 56Kbps modems. Given the rush to the Internet, this movement isoccurring rapidly, but the technology is still somewhat immature. All threecompanies are committed to supporting a new forum-generated standard, but thisstandard is about a year away. User demand is causing the incompatible proposedstandards to appear. I suggest you hold off for a few months to a year beforebuying a 56Kbps modem (for more information on the 56Kbps revolution, see "NTNews Network," February 1997, and page 34). I recently faced the samedilemma and adopted Integrated Services Digital Network (ISDN).
About the Author
You May Also Like