Showing results for 
Search instead for 
Did you mean: 

Start SAP B1 with Paramters

Former Member
0 Kudos


i hope someone knows, if it is possible to start SAP B1 with parameters. I want that SAP B1 starts with in the parameters given company (database).

Thx for all replies.

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

Frank, it is not possible to use command lines arguments (as Gianluigi has mentioned).

You know all the startup parameters (SBO Server, SBO DB) are stored in the System Registry, so there is an option to use winscripting to implement it.

1. Log in and off the DB you want

2. Save the SBO settings system registry node

3. Write the vbs-file

Here are some vbs-lines to start:

on error resume next

Set WshShell    = Wscript.CreateObject("Wscript.Shell")
'Set fso         = Wscript.CreateObject("scripting.FileSystemObject")
'Set WshSysEnv   = WshShell.Environment("PROCESS")
'Set WshNetwork  = WScript.CreateObject("WScript.Network") "regedit.exe /s c:SAPStartupsSettings_DemoEN.reg"
WshShell.RegWrite "HKCUSoftwareSAPSAP ManageSAP Business OneShowSplashScreen", "N" ,"REG_SZ"

' ("C:Program FilesSAP ManageSAP Business One 2004CSAP Business One.exe")
' "notepad")


There is also a good snippet how to use Scripting to manipulate SBO UI:


Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

No, you cannot.