Admin Patrick Posted March 15, 2021 Posted March 15, 2021 I want to start a program after rebooting and used this script, but it's not working. When I run it local in powershell it works. Someone who can help me? pushd "\\fax-dataserver\IT\WVL\04. Software\IT_Monitor\IT_Monitor_live\" & '.\IT Monitor.exe' popd
WYE Posted March 16, 2021 Posted March 16, 2021 Hi, Pulseway Agent runs as "SYSTEM", therefore by default it probably doesn't have access to UNC shares. Have a look here - similar issue, and outlines how to run the Agent as a domain user via group Policy (or if a single system, you can do this via Policies or in the agent itself) Executing MSI installer from Network Location - PowerShell - Pulseway
WYE Posted March 18, 2021 Posted March 18, 2021 (edited) What do you expect to see from the application when it is run? E.g. has it got a GUI interface? is it expecting input? It's hard to troubleshoot without the detail. Perhaps replace the script with something that just writes a text file to temp to check the process actually works set-content -Path "$ENV:Temp\TestFile.txt" -Value "test data" if it does - you know the issue does not lie with Pulseway Agent. Edited March 18, 2021 by WYE syntax wrong in ps
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now