[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference jamin::pathworks32

Title:Digital PATHWORKS 32
Moderator:SPELNK::curless
Created:Fri Nov 01 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:337
Total number of notes:1612

220.0. "INFOCON does not restore after restart server." by UTRTSC::BAKKER (Running arround in circles) Mon Apr 14 1997 09:49

    Hi,
    
    I have a problem with the new CD info services on NT.
    When we restart the server then the original connection made by the command
    infocon  are not restored. So the share are also not restored.
    This is for my customer an unacceptable situation.
    He does not want to reconnect every time his CD's.
    Do we have some kind of service that we can install to reconnect the
    connections we made?
    
    Thanks
    	Paul Bakker
    	PCI support Holland 
T.RTitleUserPersonal
Name
DateLines
220.1JAMIN::MAJEWSKIMon Apr 14 1997 11:4914
    the following is from the PATHWORKS 32 readme file:
    
    |    > Re-establishing InfoServer Connections After Reboot
    |     =================================================
    |
    |     Connections mapped to InfoServer drives are disconnected when you  
    |     reboot an NT V4.0 server where InfoServer support for PATHWORKS 32
    |     has been installed. If you have a large number of connections and
    |     you have to reboot frequently, you can create a batch file to
    |     automate the re-establishing of the connections at startup.
    
    
    
    
220.2Half a solution?UTRTSC::BAKKERRunning arround in circlesMon Apr 14 1997 13:2410
    Hi,
    
    Thanks for your answer but you have to put also the net share commands
    in this batch file. This is NOT nice. Why do we make Half a solution.
    I cannot believe that it is hard to register the connections in the
    registry and supply a service that will do the reconnect BEFORE the
    server service is started.
    
    regards,
    	Paul
220.3JAMIN::WASSERJohn A. WasserMon Apr 14 1997 13:516
> Why do we make Half a solution.

	Usualy because we have half the staff and half the time that
	we need to do everything.  Normally that would mean that
	only 1/4 of the work would get done but everyone is working 
	twice as hard.
220.4Our plans for the next releaseJAMIN::A_MURPHYMon Apr 14 1997 17:1410
We are working on a solution in the next release.
In that release, we will have a network provider,
which will give you the ability to browse, and 
connect to and disconnect from InfoServer services 
using the GUI. It also automatically reconnects your
drives after rebooting. I am sorry for any 
inconvenience that this may cause in the meantime,
but we had to work with our schedule constraints.

  Anita Murphy
220.5Perhaps a temporary solution.UTRTSC::BAKKERRunning arround in circlesTue Apr 15 1997 03:4163
    Hi,
    
    The time problem is the same on our side. I hope I did not upset you.
    I made a little article to overcome the problem:
    
    Whenever you shutdown/restart the server the CD connection is not
    restored. To get that done you have to create a service that will
    startup the batchfile that hold the infocon commands.
    
    You have to use the programms:
    INSTSRV.EXE and SRVANY.EXE.
    Put these files together with the Batchfile in e.g. the directory
    c:\tools. For this example we call the batchfile cd.bat.
    
    Issue from a dosbox the command
    
            c:\tools\instsrv Infoserver c:\tools\srvany.exe
    
    This will create a service called Infoserver.
    Use the registry editor (REGEDIT.EXE) and change the following:
    
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Infoserver
    Create a "Parameters" key.
    
    Under this Key create an "Application" value of type REG_SZ and specify
    there the DOS Command batchfile to run:
    
            C:\TOOLS\CD.BAT
    
    The registry should look like:
    
    HKEY_LOCAL_MACHINE\
       SYSTEM\
          CurrentControlSet\
             Services\
                Infoserver\
                   Parameters\
                      Application = "C:\TOOLS\CD.BAT"
    
    
    Configure fron the Control Panel SERVICES the Service
            Computer Browser and Server.
    Configure both these service to run Manual.
    Configure The service
            Infoserver
    to run automatic.
    
    An exaple of the contents of CD.BAT
    
       Rem This is a batch file to connect CD from an infoserver
       Rem
       INFOCON F: \\SERVER\SERVICE1
       INFOCON G: \\SERVER2\PHONEBOOK
       NET START SERVER
       NET START BROWSER
       EXIT
    
    The purpose of this is that all access right are restored whenever
    the server is started AFTER the connection is made to the infoservers.
    
    
    regards,
    	Paul
220.6JAMIN::WASSERJohn A. WasserThu Apr 17 1997 11:065
> To get that done you have to create a service that will
> startup the batchfile that hold the infocon commands.

	I guess that means that Windows NT does not support
	WINSTART.BAT?
220.7NT <-> Winstart.bat no goUTRTSC::BAKKERRunning arround in circlesTue Apr 29 1997 08:257
    Yep,
    
    Nt does not deal with WINSTART.BAT.
    
    regards,
    	Paul