How To Disable IRDP Automatically Using WSH VBScript
This article was previously published under Q216141 On This PageSUMMARY
This article describes how to create a VBScript file that automatically disables IRDP (Internet Router Discovery Protocol) under Windows 98 or Windows 95 using Windows Script Host.
MORE INFORMATION
IRDP can be disabled manually by adding "PerformRouterDiscovery" value name and setting it to a dword value of 0, under the following registry key(s):
HKLM\System\CurrentControlSet\Services\Class\NetTrans\#### Where #### is the binding for TCP/IP. More than one TCP/IP binding may exist. Please note that if you are using Windows 95 and want to run the script to disable IRDP, you need to install Wsh.exe from the MSDN Online Scripting MSDN Online Scripting (http://msdn.microsoft.com/scripting) Web site to enable Windows Script Host. NOTE: This procedure is not intended for home users with a few computers. IRDP is enabled on Windows 95 only after the Winsock 2 update is installed. WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. Use the following line to run NO-IRDP.vbs from a login script:
Where <server> is the name of the server and <share> is the name of the share.Sample CodeUsing a text editor, create a VBScript file called NO-IRDP.vbs with the following lines:
| Article Translations
|

Back to the top
