Tech-PC-Android

Description

Forum to collect "tech" or software/tips for PC and Android.

CMD-script - Start program using saved credentials

Start software using saved credentials:

@echo off
C:\Windows\System32\runas.exe /user:[domain\user] /savecred "C:\Prg\Everything\Everything.exe -minimized"


Other to test:
start /min C:\Windows\System32\runas /profile /user:[domain\user] /savecred "cmd.exe /c start C:\Prg\tpfc2\fancontrol.exe"