Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


MGreen last won the day on September 13

MGreen had the most liked content!

Community Reputation

13 Good

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. Locationid will work without client id
  2. MGreen

    Auth Tab is SSH Putty Re-director?

    Can't you just make your own custom redirector for a later version of putty?
  3. Missing lots of things, the MSI requires parameters to be passed including the Automate server URL, Client ID, Location ID, server password etc. Check the docs for more information. https://docs.connectwise.com/ConnectWise_Automate/ConnectWise_Automate_Documentation/040/050 You need at minimum SERVERPASS, SERVERADDRESS, and LOCATION (at the very bottom of the doc). Most people will tell you that you should be using the LT Posh module to do this, built by @CTaylor and contributed by various other community members (but really I only know of @DarrenWhite99) https://github.com/LabtechConsulting/LabTech-Powershell-Module
  4. MGreen

    How to check "Agent OS Version" and Jump to Label

    Hey Brian, The idea you want to do is pretty simple; there are a few challenges here. 1. Get the data that you want to act on 2. Compare the data with a preset condition 3. Take action based on the result of that condition. I've mocked up a quick script that shows with comments how you would do that and pasted a screenshot here. I've left the hard work for you For the version checking I grabbed the version from the database and then used the Script String Find String function to find the specific version numbers im interested in picking out from the string (using https://docs.connectwise.com/ConnectWise_Automate/ConnectWise_Automate_Documentation/070/240/050/040/020/170 as a reference). There are hundreds of ways for you to grab this data, and you can use SQL to strip the numbers to what you're interested in and then compare it as a math equation instead of the very very sloppy way I'm doing it in this mock up. This is just an example I've also exported and attached a copy of the script I wrote up so you can look at the script functions and notes that I made more clearly. I hope this helps! Let us know if you need help with anything else, or come talk to us in slack Mock Script - Condition checking and jumping.xml
  5. MGreen

    Does enableFIPSPolicy fix still work?

    That's an interesting work around, and rings close to home for another issue I just finally resolved last night after several hours lol.
  6. MGreen

    Does enableFIPSPolicy fix still work?

    This is what I was talking about https://blogs.technet.microsoft.com/secguide/2014/04/07/why-were-not-recommending-fips-mode-anymore/, doesn't really tell you NOT to do it, but they're not telling you TO do it. Well written post.
  7. MGreen

    Applications - Last Executed

    Keep in mind Labtech can only do what Windows does outside of its own database. Since we aren't talking about applications launched through Labtech then the database isn't an option..... Sticking to windows you'll have the problem you're running into now - windows doesn't track last execute anywhere by default. Your best bet is probably auditing but you'll need to turn that on and keep the log history as well as work out a good search parameter for the security audit log (overall not very practical) See https://superuser.com/questions/346858/how-can-i-find-out-when-i-last-executed-a-particular-bat-file where it's heavily discussed.
  8. MGreen

    Monitoring EDF Changes

    Hi Robert, Darren has a monitor that looks for changes to a table (specifically it looks for changes to the installed version of Labtech and alerts via email when a Patch is installed.) if you can find it on here you can adjust it easily to look at an EDF state and then trigger a script/email on that... The monitor looks in a table and compares the value to itself (I think?) so it always succeeds until a time when it changes causing it to fail until the next monitor reset where it'll succeed again. I probably got it all wrong but Darren can correct me. 😁
  9. MGreen

    Does enableFIPSPolicy fix still work?

    Doesn't Microsoft tell you not to use FIPS mode because if the application doesn't follow specific .NET procedures then it won't do anything and you won't know that the application isn't FIPS compliant? I recall seeing that somewhere...
  10. Very nice will have to check this out when I get back to my desk!
  11. No problem, I specifically mapped out steps like that because the most popular question we get is "I have this monitor doing xyz and its not running the script blah blah/making a ticket/sending an email". My steps outlined the basic process that gets followed broken down so for troubleshooting just keep it in mind and work step by step to see where an issue is
  12. MGreen

    Custom S.M.A.R.T. monitor

    So the v_smartattributes isn't a table but a view which is basically a custom sql query created to gather data from multiple tables and saved into a view permanently so you don't have to keep running the same query again and again to pull the informatino you want to see. This view has the DriveID which identifies the specific drives talked about, in this case you can use something like AND (v_smartattributes.attributeid <> 195 AND v_smartattributes.driveID IN (Select DriveID from Drives where SSD=1)) So your entire block would be v_smartattributes.Threshold > 0 AND ((Computers.Flags & 2048) <> 2048) AND (computers.os NOT LIKE 'Mac OS X%' AND computers.os NOT LIKE 'Linux%') AND v_smartattributes.attributeid <> 190 AND (v_smartattributes.attributeid <> 195 AND v_smartattributes.driveID IN (Select DriveID from Drives where SSD=1)) AND Computers.LastContact > DATE_ADD(NOW(),INTERVAL -15 MINUTE) or something like that. This is all without testing but gives you an idea of what you can do, and there are definitely "better" ways of doing this as well as I'm definitely not a master of SQL
  13. MGreen

    Router address

    Wow I'm on a roll lol. Fixed.
  14. MGreen

    Router address

    My mistake, I misunderstood what you were saying @jgarrard and Darren explained it. Sorry for jumping on your answer!
  15. MGreen

    Router address

    @jgarrard Do you even know what that means? What exactly are you suggesting here?