Discussion Locked

Creating a .reg file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to create a .reg file that will disable the autodisconnect feature of Windows 2000 (HKEY_Local_Machine\System\CurrentControlSet\Services\LanmanServer\Parameters) key name is autodisconnect and I want to set the value to -1 (Value is typeDWORD). I seem to be having problems with syntax. Any help would be appreciated.

5 replies

by jmulvey

You can't set this value (a REG_DWORD) to a negative number. My guess is you probably want to set it to zero. That is probably your problem.

Hope this helps,
- Jim

by greggw

Reference MS Knowledge Base Article ID: Q138365, it states that you can set the value to negative one. Setting the value to zero makes it worse.

by cdcents

Try
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
"Autodisconnect"=dword:00000001

or
"Autodisconnect"=dword:00000000

You probably will have to include all other values in the Parameters key or risklosing them when you apply this file. Please backup the registry before you make this change.

by greggw

Thanks for the syntax, I ended up exporting the key from Regedit, altering the value to FFFFFFFF (MAX) which is the equivilent of 8100+ years. Also the Regedit version for Win 2000 is 5.00

This discussion is closed to new replies.