Script Center > Scripting Forums > The Official Scripting Guys Forum! > Script to enable Client for Microsoft Networks
Ask a questionAsk a question
 

QuestionScript to enable Client for Microsoft Networks

  • Wednesday, July 01, 2009 9:24 PMMarina Velent Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello
    I am looking for tools or script that can enable Client for Microsoft Networks in Network Control panel on Windows XP SP2 workstation.  Client is installed on all workstations.


    Any suggestions?


    Thank you everybody for answers.

    I was looking for something like snetcfg.exe utility that was available in 2000 and XP Gold DDK, but I could not find it anywhere.

    I need some tools to run in script that can bind Client for Microsoft Networks to the current network adapter.


All Replies

  • Thursday, July 02, 2009 7:05 AMAssafM Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    You could use Regmon While enabling it your self.
    You would probably see a Registry Key being Changed that is just what you need.

    I would suggest close every unnecessary application before running Regmon.

    Good Luck

    Assaf Miron http://Assaf.Miron.googlepages.com
  • Thursday, July 02, 2009 12:45 PMMatthewBeattie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Marina

    Apparently this setting is not stored in the registry...see the following Microsoft KB:

    http://support.microsoft.com/kb/833442

    although no .pbk files existed when I searched in:

    C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Pbk ...???

    Still searching for the answer...

    Cheers,

    Matt :)
  • Thursday, July 02, 2009 1:28 PMMatthewBeattie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Marina

    Perhaps try installing it using C:\Windows\Inf\netmscli.inf

    Try that manually, if it works and you can click on it then it can be scripted.

    Cheers

    Matt :)