sc create MicrosoftDynamicsNAVServer$DynamicsNAV100 binpath= "C:\Program Files\Microsoft Dynamics NAV\100\Service\Microsoft.Dynamics.Nav.Server.exe $DynamicsNAV100" start= Auto DisplayName= "Dynamics NAV 2017 NST Server [DynamicsNAV100]" type= share depend= NetTcpPortSharing/HTTP obj= "NT AUTHORITY\NetworkService"
Answers
For Clients, you may look into ClickOnce - or just use the WebClient if you're comfortable with it.
https://msdn.microsoft.com/en-us/library/hh997056(v=nav.90).aspx
You would have to run cmd.exe in elevated mode to be able to create a service using sc.exe
Then you would need to configure manually NST server arameters parameters in CustomSettings.xml
I cannot guarantee that it will work as installer registers lots of objects in the system. If it does not start try adding C:\Program Files\Microsoft Dynamics NAV\100\Service\ folder to system path.
Installing without Powershell is generally bad idea. Even if it works you will not have any management console for it. There may be problems with file access through C/AL Code. You would be better of setting up new separate server for your NST
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Actually didn't think about SC CREATE... will give it a bash... we are procuring a second server though now... since this wont be a long term solution without powershell.
Thanks,
Steve