Question Make invisible eShell (kiosk) window on startup ?

Jun 21, 2021
1
0
10
0
$ShellLauncherClass = [wmiclass]"\\localhost\root\standardcimv2\embedded:WESL_UserSetting"
$ShellLauncherClass.SetDefaultShell("D:\uvs\WinPOS\run.bat", 0)
$ShellLauncherClass.SetEnabled($TRUE)

Edit:

Found this VBScript. Can i implement it to my powershell ?


Code:
Set WshShell = CreateObject("WScript.Shell") 
WshShell.Run chr(34) & "D:\UVS\WinPOS\run.bat" & Chr(34), 0
Set WshShell = Nothing
 
Last edited:
Thread starter Similar threads Forum Replies Date
R Windows 10 8
Molon Labe Windows 10 7

ASK THE COMMUNITY

TRENDING THREADS