General discussion

  • Creator
    Topic
  • #2094108

    Creating a .reg file

    Locked

    by greggw ·

    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.

All Comments

  • Author
    Replies
    • #3848287

      Creating a .reg file

      by jmulvey ·

      In reply to Creating a .reg file

      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

      • #3849856

        Creating a .reg file

        by greggw ·

        In reply to Creating a .reg file

        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.

    • #3848267

      Creating a .reg file

      by cdcents ·

      In reply to Creating a .reg file

      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.

      • #3849857

        Creating a .reg file

        by greggw ·

        In reply to Creating a .reg file

        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

    • #3849855

      Creating a .reg file

      by greggw ·

      In reply to Creating a .reg file

      This question was closed by the author

Viewing 2 reply threads