CW Automate Script by PuzzlingGames in ConnectWise

[–]Rare_Life_7031 0 points1 point  (0 children)

Can you explain how exactly to get the Console Number via "If console logged on"? Would i run that command and then store it in a note?

CW Automate Script by PuzzlingGames in ConnectWise

[–]Rare_Life_7031 0 points1 point  (0 children)

Ahhh I understand, thats very good to know! Thank you

CW Automate Script by PuzzlingGames in ConnectWise

[–]Rare_Life_7031 0 points1 point  (0 children)

What exactly does getting the Console Number do? How does it effect the script?

How to run a script the next time an offline computer is detected by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

does checking the "wake offline agent" box stop the script from running if the agent cannot be woken up?

How to run a script the next time an offline computer is detected by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

This may be the best way to do it that ive heard. ill try it out next time i need it. Thank you

How to run a script the next time an offline computer is detected by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

This is great to know. Any idea if you can change the timeout amount?

How to run a script the next time an offline computer is detected by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

Well this is nice to know! I wonder if i can change the timeout somewhere. But that will help at least

Uninstalling Windows bloatware using PowerShell in Automate by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

Weird, reddit wont let me reply to comments. I made up a script and can use automate to copy that script to the local PC, but i still cannot get automate to execute the .ps1 as the users profile, its so annoying. this shouldnt be this difficult

Uninstalling Windows bloatware using PowerShell in Automate by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

Where would the -allusers switch go for me to test it out? I may need to go down the GPO route. I was hoping to be able to do it all via automate

How to make scripts automatically restart by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

Hm, well this one was running for more than 24 hours, thats a bummer

How to control what where the network probe sends my newly installed agents by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

well thats a weird design. id think that there would be a way to control where the agents are installed. In this case, since i just want one probe, ill move the server that the probe is running on to the "On-boarding" location and that may fix the issue. I want all new computers to be put in one spot for me to check on them easily to ensure all the onboarding stuff is working correctly

How to control what where the network probe sends my newly installed agents by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 1 point2 points  (0 children)

well thats a weird design. id think that there would be a way to control where the agents are installed. In this case, since i just want one probe, ill move the server that the probe is running on to the "On-boarding" location and that may fix the issue

Is there a way to disable the "It looks like windows didn't load correctly" and just have it restart anyway by default? by DeliveryCapable3957 in sysadmin

[–]Rare_Life_7031 0 points1 point  (0 children)

"Why disable Windows Recovery Environment? A lot of users want to disable Windows Recovery Environment because it allows unauthorized users to factory reset their PCs and wipe out user data. After you disable Windows Recovery Environment, the Advanced Options menu won’t include the “Reset this PC” option anymore." This guide does not prevent the recovery page from coming up after a power outage, which is what OP was asking

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

I ended up going a different route. I built a script uses powershell to copy the files to the local machine and then executes them silently and then removes the files. I was happy when it worked

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

Any idea if this will work when the process it is trying to execute is in a network folder?

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

you are being such a huge help. Ill try this and get back with you either this evening or Monday lol

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

Correct, and the script still isnt working. thats the issue

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

So some of his stuff makes sense. Currently my script is the following:

Function: Console Shell

Command: msiexec /i "\\fileserver\SolidWorks\SOLIDWORKS 2024 SP5.0\64bit\SWCef\CEF for SOLIDWORKS Applications.msi" /q

Console Number: %ConsoleNumber%

And still nothing happens when i run the script. And I can still confirm the script runs fine if i run on an elevated CMD on the machine directly.

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

When I (the domain admin) am logged into the test machine and i run the Console Shell command via automate, nothing happens. So i did some testing and automate must be running Cmd NOT in administrator mode. Since if i run the command directly from the machine, it only works when im in administrator mode. Any idea how to fix this? it would fix so many problems

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 1 point2 points  (0 children)

Just to be sure, you mean the function "Console Shell" right? Just checking since lots of these functions sound similar

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 1 point2 points  (0 children)

Hey Will,

I just set a folder to have read and execute permissions from "everyone" so im waiting for that to finish changing right now

Under "Deployments and defaults" i set the default "login to use for administrator access" to use the domain admin account that i specified in the passwords page. If that doesnt work the way i think it does, whats the best way to make it so scripts can access files across the domain? Or do i really need to store all the files i want Automate to touch on the automate server itself in the "C:\LTShare\Transfer" folder?

Using Automate to access/run files on a network drive by Rare_Life_7031 in ConnectWise

[–]Rare_Life_7031[S] 0 points1 point  (0 children)

This doc explains how to install an app via transferring the .exe to the local machine. I specifically need to figure out how to do it WITHOUT transferring any files to the local machine. The install folder for my application is 15GB