Jump to content

LAko

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Agent Count
    1000+

Recent Profile Visitors

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

  1. If the client has a scriptable VPN connection method (e.g. Powershell) perhaps that connection process can be scripted in Labtech? E.G. powershell to add VPN profile, powershell to connect the PC to the VPN using some highly restricted credentials? Could definitely make it with partial user interaction, e.g. create a local user account, install the VPN profile, have the user sign into the local account with provided credentials, connect to the VPN, then they Switch User and sign in with their domain credentials, then reboot the PC.
  2. Lepide has a tool that we are working on implementing for our customers that allows this. https://www.lepide.com/active-directory-self-service/
  3. Just want to let you/everyone know that this is 10.5 compatible. Just used it for one of my projects and it worked like a charm! Thank you!
  4. I found this script helpful to get current date (works on 10.5): viewtopic.php?f=3&t=1272
  5. Also, if you are only unzipping to a local path on the machine and the unzip process does not require network access, try using SHELL instead of SHELL AS ADMIN - SHELL AS ADMIN requires an admin username and password be entered at the bottom of the Location properties in the General tab.
  6. I almost always have issues using the Labtech scripting Powershell dropdown item. For Powershell commands, I always use SHELL for local commands and SHELL AS ADMIN when it needs network credentials. Some examples are below: For a single command, use the following format: powershell.exe "Import-Module ActiveDirectory" Another example: %windir%\system32\WindowsPowerShell\v1.0\PowerShell.exe $psversiontable.psversion.tostring() To run a script, use the following format: powershell.exe -ExecutionPolicy Bypass -Command "& 'C:\Temp\Test.ps1' -AnyParametersReferencedInThePowersh
  7. Can you post a screenshot (censored if necessary) of an example script where you use this?
  8. I don't have anything like this set up, but you might be able to achieve the end-goal by creating and then tweaking copies of the existing Internal Monitors for Offline Server and Offline Locations monitor and then adjusting the timing on them to run once a day - before work.
  9. Question about SQL queries that are run from the Labtech script engine. I want to run the following command against all hotfixes in the LT Database using the LT script engine: UPDATE hotfix SET pushed='0' WHERE installed=0 AND pushed=1 AND approved=1 When run from the LT script engine when queued to run against agents, is the query run against the database or a section of the DB specifically for the agent the script is scheduled on? To clarify, does this SQL query need to be run against every agent that I want the hotfixes pushed flag to be reset, or does this only need to be run against
  10. Just add the following command before trying to add the account: Net user testuser password
  11. Tested. This worked perfectly! Thank you so much!!
  12. Couldn't you open or duplicate the Internal Monitor for Blacklisted Events, then just adjust the Result field to 1 and Interval and Next Run Time and Monitor Mode and Duplicate Alert Frequency?
  13. One way of setting this up is to script registry additions or shell commands to set a screensaver of Blank, or similar (one that all servers would have), then set the screensaver timeout, the screensaver password protection flag, and enable the screensaver itself. e.g. (scrnsave.scr is the Blank screensaver, 600 is the delay in seconds) reg add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:Windows\System32\scrnsave.scr /f reg add "HKCU\Control Panel\Desktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f reg add "HKCU\Control Panel\Desktop" /v ScreenSaverIsSecure /t REG_SZ /d
×
×
  • Create New...