Forum Discussion

sam1986's avatar
sam1986
Occasional Reader
Sep 10, 2026

Strict users to use specific software windows server 2022

I have MT5 installed on (C:\Program Files\MetaTrader 5) there are the meta trader 5 terminal64.exe  and MetaEditor64.exe applications,  mt5 data folder as follow C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\  

MT4 on (C:\Program Files (x86)\MetaTrader 4) there are applications terminal.exe and metaeditor.exe  and data folder as follow C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\ 

I use windows server 2022 and I want to create user accounts each account have access only to MT4 or MT5 and the meta editor and data folder only and each user can use the software MT4 or MT5 based on assigned group, users can use the same software at the same time in their own accounts 

I need 2 windows powershell scripts

1-create 2 user groups for MT4 and MT5 with the access restrcicted to all windows software and features execpt the MT4 or MT5 and the meta editor, and the data folder and desktop showing these icons/shortcuts and webview2 runtime to installed be allowed because it is needed by meta trader ( user cannot see windows bar cannot use any windows software, and the most important that the MT4 or MT5 software to be always running and start always after windows reboot/restart not when user log on, these software run trading algoeithms and must be working around the clock even if the user is not logged in  

2- interactive script that use to create the users

No RepliesBe the first to reply