Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Agent Count
    < 500 Agents

Recent Profile Visitors

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

  1. TechnicalHero

    Domain Join

    Hi JosephM Thank you for the reply! Script Step 1: Under System Dashboard - Config - Configurations - Additional Fields - I added DOMAINNAME. Field Type: Text. Is that what you mean? Then the statement is: GET: @myDomain@ = [EXTRAFIELD DOMAINNAME] Script Step 2: For testing purposes I have created JoinDomain.ps1 in the packages folder on the computer (I'll copy the file down once I have this working). I also will add renaming the PC hostname later. So my second statement is: Console Shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -command "C:\Windows\LTSvc\packages\JoinDomain.ps1" The script then fails with this message: The reason: ScriptFunctionExtraDataGetValue failed processing query. So I am guessing it is to do with the extra field. In the statement: Extra Field: DOMAINNAME-1 ID: @DOMAINNAME@ Variable: myDomain ....where I have written "myDomain". Any more pointers?! Kind regards,
  2. TechnicalHero

    Domain Join

    Hi All, I'm trying to understand what I need to do you get a script that will join a computer to my AD. Ideally I'd like to run the script and the PC joins the domain and is restarted. I had tested a command in PowerShell (Run as Admin) that will join a computer to the domain, however I am prompted for admin credentials. When I try and run (what I believe!) to be the same command through a script it just says the command fails. Here is what I have: Console Shell: net use on %consolenumber% SET: @OutputOfNetUse@ = %Shellresults% Console Shell: c:\windows\system32\windowspowershell\v.1.0\powershell.exe -noprofile -executionpolicy bypass -command "add-computer –domainname mydomain.org -Credential(Get-Credential)" Console Shell: c:\windows\system32\windowspowershell\v1.0\powershell.exe -noprofile -executionpolicy bypass -command "Restart-Computer" I think it would make sense if the credentials were actually the stored credentials within the location of LabTech. If anyone can point me in the right direction it would be greatly appreciated! Kind regards,
  3. TechnicalHero

    Run PowerShell command as admin

    Hi All, So basically the below will remove "OneNote" from Windows 10. Thought I'd share.
  4. TechnicalHero

    Run PowerShell command as admin

    I have also tried the bypass option. As admin and local. Sod all. I would have thought that any decent RMM solution would be able to handle this pretty easily. I have got support trying (not sure they know what they are doing) to setup access to the LTShare for me, the idea being that I create my one line powershell script, then transfer it to the agent and call it from there. Which does seem long winded when the functionality should work as it is in LabTech.
  5. TechnicalHero

    Run PowerShell command as admin

    Hi imurphy, thanks for having a look for me. I have swapped to "powershell command" and it takes longer to run, but the result is the same. Any other suggestions? Kind regards,
  6. TechnicalHero

    Run PowerShell command as admin

    Hi, I'd really like to run a simple powershell command as admin to uninstall a load of bloatware that comes with Windows 10. From an elevated PS screen, when I run Get-AppxPackage *Microsoft.Office.Desktop* | Remove-AppxPackage it is uninstalled. However, when I run the below, Automate says the script ran and completed but the app stays on the computer. I am able to run other scripts (for example, installing Chrome). Does anyone have any suggestions?
  7. TechnicalHero

    Monitor Failed Logon attempts

    Hi All, I'd like to monitor failed login attempts. I'd like to know if someone is trying a brute force at either a workstation or server. I already have an account lockout policy, but that is only triggered if an attacker is using a good username. I created a remote monitor to look for Event ID 4625 after turning on logon auditing on via GPO, but I get a million tickets. I really only want a Automate ticket after ten failures in say 5 mins. Has anyone got any better, super flash ideas on how I can do this? Kind regards
  8. Hi All, The SMART monitor is giving me a bit of a headache. I keep getting "DRV - Smart Failures detected on (ClientName/Location/AgentName) Spin up Time on E: is 0" all of these are USB external hard drives, or USB flash drives or SD cards. Is there a way that I can exclude such devices? Secondly, I have some Dell servers with a BOSS card for the OS. All them are reporting SMART errors, has any one else seen this? How did you handle it? Kind regards,
  9. Hi All, Is it possible to identify the source monitor of a ticket within the Service Desk of Automate? Kind regards,
  10. Hi Guys, This looks amazing! I have setup a test location and group. I have put two test servers in the group (manually). One has a degraded RAID the other is fine. I have created two Remote Monitor's. One with the Condition Equals 0 and 2. I added the second monitor results equal 0 for testing. The monitor is set to run hourly. The odd thing is that I am getting get two tickets generated for each server. Even though one of them has no failed disks or any issues. Any ideas where I am going wrong? Also, in the remote monitors data summary I get an error of "exe monitor missing" any help would be fab!
  11. TechnicalHero

    Creating a Monitor

    Hi All, I just created a Monitor via the wizard over an agent. When I now click on that Agent and select Monitors - View Monitors - it is not there. Any ideas?
  12. TechnicalHero

    Automate, slow?

    Our LabTech was so slow for a long time. Even using ScreenConnect at times was painful. We went through a removed as many plugins as possible. Since then it has been fine.
  13. TechnicalHero

    Uninstalling Flash

    I figured this out in the end. There is a script for the job in the _Examples folder. I modified that to remove the Flash .exe after it is removed.
  14. TechnicalHero

    Uninstalling Flash

    Hi All, I am trying to uninstall Flash from my entire network. I believe there are two approaches. Either run a batch file (from a script) or an actual script and list out the steps. Flash provide a silent uninstaller (flash_uninstaller_player.exe) and if you run it from the command line with -uninstall it will do it silently. It requires admin rights to run. I created the below script which copies the uninstaller from a server share to a new folder on the client PC. It then runs the uninstall_flash_player.exe -uninstall and then deletes the folder that was created. When I run this .bat from my computer, apart from putting in the admin credentials it works perfectly. xcopy \\server\Programs\Software\Scripts C:\FlashUninstall\ TIMEOUT /t 10 "C:\FlashUninstall\uninstall_flash_player.exe" -uninstall ECHO Files Copied and uninstalling TIMEOUT /t 180 RMDIR /S /Q "C:\FlashUninstall" In Labtech I have selected the Script Type to "Batch" and but the above in "script to execute". Script Credentials is set to Run as Admin. Absolutely nothing happens when I run the scrip on a client. Another approach that I have taken is to create the script via LabTech. Target = computer 1. Create Folder as Admin: C:\FlashUninstall 2. Copy File as Admin \\server\Programs\Software\Scripts\uninstall_flash_player.exe to C:\FlashUninstall\uninstall_flash_player.exe 3.EXECUTE as Admin C:\C:\FlashUninstall\uninstall_flash_player.exe -uninstall and return immediately. in this case, the folder C:\FlashUninstall does appear on the client and Adobe Flash is still installed. Also, I cannot delete the newly created folder as "it is is use by another process" even after a reboot. So if anyone can pick the bones out of my problem I would be most grateful! I didn't think that this would be that difficult. Kind regards,