I am working on a UiPath automation where SAP Business One (SAP B1) is installed and used inside a remote RDP session.
Constraints
- UiPath robot runs inside the RDP session
- SAP Business One cannot be opened using the EXE path
- File paths like
C:\Program Files\SAP\SAP Business One\SAP Business One.exe
are not accessible or not allowed
- Desktop shortcut may not exist in the RDP environment
- Need to open SAP B1 programmatically (no manual click)
What I Tried
- Start Process activity with
cmd.exe
/c start "" "%USERPROFILE%\Desktop\SAP Business One.lnk"
→ Results in Windows cannot find the file (shortcut not present)
2. Start Process with PowerShell commands
Start-Process "SAP Business One"
→ Causes UiPath compiler errors (expression parsing issues)
3. Kill Process works correctly for:
SAP Business One.exe
but opening SAP B1 is the challenge
4. Desktop and EXE path–based approaches are unreliable due to RDP restrictions.
Requirement
I am looking for a recommended UiPath approach to:
- Open SAP Business One inside an RDP environment
- Without using the EXE file path
- Without relying on desktop shortcuts
- Ideally using Start Menu / Run / system-level methods
Question
What is the best-practice way in UiPath to open SAP Business One in such a restricted RDP environment?
Any guidance or production-tested patterns would be appreciated.
And tell anyother way to open the SAP B1 it is in different environment ?
Hi Vikas’s
Welcome to Community
To open SAP Business One in UiPath inside an RDP session without EXE paths or shortcuts, first try Start Process with SAP Business One.exe (uses Windows App Path). If that fails, use the Run dialog (Win+R, type “SAP Business One”, Enter) and wait for the window. As a last use Start Menu search (Win, type, Enter or click).
Make sure Always include retry/wait logic to ensure SAP B1 fully loads.
If this solution helps for you please mark as Solved
Thanks & Happy Automations
hello @nishiijain2000 i dont want to run through win+R, i want open SAP B1 by Command prompt, batch file only tell there is any option is available?
and im not able to pass file path because it is in the different environment.
@vikasbaburao.sajjan
You can launch SAP Business One reliably without hardcoding the path. The easiest approach is to use a desktop shortcut, since it automatically points to the correct installation folder.
1 SAP Business One shortcut on the user’s desktop.
2. Create a batch file with .bat extension
@echo off
REM Launch SAP Business One using desktop shortcut
start “” “%USERPROFILE%\Desktop\SAP Business One.lnk”
3 right click on the batch file or trigger it so it will open without need exe file.
Hope it help
Hi @vikasbaburao.sajjan
If solution works for you please mark as solved so thread will be closed
Thanks
Hi @vikasbaburao.sajjan
If you need any further help related to this feel free to ask and if this soltion works, please mark it as the Accepted Solution
Thanks & Happy Automations
Hi @vikasbaburao.sajjan
In restricted RDP environments, do not use EXE paths or desktop shortcuts to open SAP B1.
The best-practice UiPath approach is to launch it the same way a user does:
Recommended method
- Send Hotkey → Win
- Type Into → SAP Business One
- Send Hotkey → Enter
(use SimulateType)
Alternative
- Send Hotkey → Win + R
- Type →
SAP Business One
- Enter
This works because Windows Start/Run handles the app registration, even when paths and shortcuts are blocked.
This is the most stable and production-tested approach for SAP B1 in RDP.