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 2019

MGreen had the most liked content!

Community Reputation

36 Excellent


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. erm for what? Windows XP lol Windows 7 which is out of support end of Jan? 😮 anyways pretty sure these would fall under MS Patching - Windows Updates
  2. Start using SHELL and something like this https://www.windowscentral.com/how-check-your-computer-uptime-windows-10 get the results returned directly into %shellresult% and then save it to a variable @uptime@ which you can then perform math on to make your logic. Everything you're asking about can be accomplished either in Powershell using Execute Script or Shell with labtech scripting logic.
  3. Even hosted Automate instances can still SQL Execute from within a labtech script....
  4. 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"
  5. 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.
  6. 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)
  7. 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
  8. 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.
  9. 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. 😁
  10. 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.
  11. @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).
  12. @kgarling I'm always up for a challenge hit me up on slack and send me the file lets see whats required.
  13. Awesome! We should start a collection of these
  14. 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.
  • Create New...