Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

MGreen last won the day on October 5

MGreen had the most liked content!

Community Reputation

36 Excellent

3 Followers

My Information

  • Agent Count
    4000 - 6000 Agents

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Even hosted Automate instances can still SQL Execute from within a labtech script....
  2. 1. Can the Computer Account access the MDT Share 2. Can you run the VBS from a command prompt as SYSTEM (either backstage or using CMD.EXE launched from psexec) tip: look at calling the vbscript with "cscript" and not "wscript"
  3. VNC is legacy, some remnants are still around but unless you were originally using VNC from many versions of Labtech ago instead of using Control straight from a new Automate install then you shouldn't have anything to worry about. If you're concerned you can raise a support ticket to have them check to ensure VNC isn't enabled or being deployed anywhere in your environment.
  4. Review this thread https://www.gavsto.com/why-you-should-almost-never-need-to-run-anything-as-admin-in-automate/ Using normal Shell in a script to create the shortcut in C:\Users\Public\Desktop will work, as long as you're not trying to do anything like copying from a network share that the computer account doesn't have access to. OK is used when no output is returned from your command. The command is likely your issue (you can try running it on the backend Command Prompt tool within Labtech, or sing backstage to perfect the command, and then run it in Shell)
  5. MGreen

    Identify version

    There's a search parameter "IsPortable" that is a true/false flag you can add to your search. If I were you i'd spend more time reviewing all the available search options and reading docs
  6. There is no best way to do alerting. There are ways that work and ways that don't 😁. Find one that works and you're good.
  7. Let me just clarify that Darren is not over exaggerating or being arrogant when he states his level of knowledge and skill. Disobey at your own risk. 😁
  8. Ideally you'll have a log you can monitor for when the services aren't behaving properly then you can call your script as the auto fix. The monitor will run on each vm and execute the correct restart sequence on each vm that fails. Alternatively you can set @computerid@ variable to the computer you want to run the commands on inside the script so you can loop through each VM computerid and then call your set of commands each time. The documentation on the university has this as an example if you look for script docs using sqldataset it'll teach you about looping and changing computers.
  9. @jBourne setup a remote monitor to be third party remote EXE monitor, then use cmd line or powershell to look at the process, and the username that launched the process. You can wrap the entire thing in an if/then logic statement to return "SUCCESS" or "FAILED" and match to that output or you can return more information that can be used for troubleshooting/fixing the issue (like which users are signed on, the last logon time for the user you want etc). For a general idea on how to do something similar to this, check out my GeekCast where we covered Remote Monitors and discussed the use case of a powershell command to check for and start Virtual Machines on Hyper-V that are not running (but should be running).
  10. @kgarling I'm always up for a challenge hit me up on slack and send me the file lets see whats required.
  11. Awesome! We should start a collection of these
  12. you can look at the existing offline internal monitors which uses the exact sql query to check for if an agent is online or offline. You will need to learn SQL and fast if you're going to be a successful Automate Admin. Its a significant part of the power and flexibility of Automate.
  13. @chainboost you'll need to use the LastContactTime from the Computers table by and compare it to current time to see if it contacted labtech within the last 5 minutes (which is the standard legacy method for checking a computer is online). Alternatively you can use the heartbeat which is how the newer online/offline checks are done.
  14. Sure, i'm willing to get on a call to discuss it. Fair warning I'm in love with Automate although not blind to its issues Hit me up on the slack and we can schedule a time to call if you like. I can do anytime after hours (5pm EST)
×
×
  • Create New...