creating a batch file to run the native DB in server

SheejaSheeja Member Posts: 21
Hi ALL,

I have to create a batch file to run native DB in Server. Can anyone pls help me to create a batch file in cmd prompt.(Windows 7) .
Thanks & Regards,
Sa

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    You can create a batch-file through notepad.

    To see the parameters which are used by the server program server.exe, used for the native database, you can start that program in a dos-box. Open a dos-box and navigate to the directory where the server.exe program is located. Then execute "server.exe x", which will show you the parameters that can be set:
    D:\Software\NAV\Server\program files\Microsoft Dynamics NAV\Database Server>server x
    x
    ^ Keyword was expected.
    CACHE=?, COMMITCACHE=?, SERVERNAME=?, NETTYPE=?, SESSIONS=?, STOPTIME=?, DATABASE=?, INSTALLASSERVICE, UNINSTALLASSERVICE
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • SheejaSheeja Member Posts: 21
    Thanks Luc Van Dyck. I have done it. And one more thing i have to do ie, i must run NAV Application via RDC & there should not be anyother access in that system. Only accessing to NAV. If NAV get closed then RDC should also be disconnected. Is there any options in Group Policy Settings. Can you suggest me some idea about this?
    Thanks & Regards,
    Sa
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    No I can't.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • BChatenetBChatenet Member Posts: 4
    It's a setup on your TSE server. You will not be able to do this on a client Windows.
    But the Windows TSE server as option to open an application at the TSE session start, and only let access to this application (if the application is shutdown, the session will be ended) .

    You can find information here (for example) http://www.windowsecurity.com/articles- ... ation.html
Sign In or Register to comment.