Jump to content

mcretari

Members
  • Content Count

    19
  • Joined

  • Last visited

  • Days Won

    1

mcretari last won the day on December 16 2017

mcretari had the most liked content!

Community Reputation

1 Neutral

My Information

  • Agent Count
    750 - 1000 Agents

Recent Profile Visitors

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

  1. Hello Braingears Please take a look at this: https://devblogs.microsoft.com/scripting/use-culture-information-in-powershell-to-format-dates/ Let me know if that helps. Thank you
  2. @DarrenWhite99 could you please share your script? Thank you
  3. Hello I've tested this command with 2020 version and didn't work. Any idea on how should I update the query? Thank you
  4. Ok, is there any way to use your PS script with an IF LT_Installed = True and LT_URL = MyServer then Do nothing? Thank you
  5. @DarrenWhite99 could you please share an screenshot of that monitor (onboarding accelerator)? Thank you
  6. Thank you @Braingears for the script Does this script checks if agent is already installed and pointing to our LT server?
  7. Thank you @Braingears I've tested the new version but is not working for one of the machines. First try (without -Verbose): Transcript started, output file is C:\Windows\Temp\Automate_Deploy.txt Removing Existing Automate Agent... The Automate Agent Uninstalled Successfully Automate is NOT Installed Installing Automate Agent to https://MY_SERVER_ADDRESS The Automate Agent FAILED to Install ComputerName : COMPUTER-NAME ServerAddress : Enter the server address here. ComputerID : ClientID : LocationID : 15 Version : InstFolder : True InstRegistry : True Installed : True Service : Running Online : Transcript stopped, output file is C:\Windows\Temp\Automate_Deploy.txt Second try, with -Verbose: Transcript started, output file is C:\Windows\Temp\Automate_Deploy.txt VERBOSE: Checking Operating System (WinXP and Older) for HTTP vs HTTPS VERBOSE: Checking if Automate Server URL is active. Server entered: MY_SERVER_ADDRESS VERBOSE: https://MY_SERVER_ADDRESS is Active VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: If ServerAddress matches, the Automate Agent is currently Online, and Not forced to Rip & Replace then Automate is already installed. VERBOSE: False VERBOSE: Removing Existing Automate Agent VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} Removing Existing Automate Agent... VERBOSE: Closing Open Applications and Stopping Services VERBOSE: The Automate Agent Uninstaller Executed Without Errors VERBOSE: Checking For Removal - Loop 5X VERBOSE: @{ComputerName=COMPUTER-NAME; InstFolder=False; InstRegistry=False; Installed=False; Service=; Online=False} VERBOSE: Automate Uninstaller Completed Successfully The Automate Agent Uninstalled Successfully VERBOSE: The Automate Agent Uninstalled Successfully VERBOSE: @{ComputerName=COMPUTER-NAME; InstFolder=False; InstRegistry=False; Installed=False; Service=; Online=False} Automate is NOT Installed VERBOSE: Installing Automate Agent on https://MY_SERVER_ADDRESS Installing Automate Agent to https://MY_SERVER_ADDRESS VERBOSE: MSIEXEC Log Files: C:\Windows\Temp\Automate_Agent_2020-05-15_12-47-52.log VERBOSE: The Automate Agent Installer Executed Without Errors VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} VERBOSE: @{ComputerName=COMPUTER-NAME; ServerAddress=Enter the server address here.; ComputerID=; ClientID=; LocationID=15; Version=; InstFolder=True; InstRegistry=True; Installed=True; Service=Running; Online=} The Automate Agent FAILED to Install ComputerName : COMPUTER-NAME ServerAddress : Enter the server address here. ComputerID : ClientID : LocationID : 15 Version : InstFolder : True InstRegistry : True Installed : True Service : Running Online : Transcript stopped, output file is C:\Windows\Temp\Automate_Deploy.txt Any idea on what can be the issue? Thanks
  8. @Braingears I think I've found the solution for the following error: Automate Installer Exit Code: 1603 Automate Installer Logs: C:\windows\Temp\Automate_Agent_2020-05-12_23-40-53.log The Automate MSI failed. Waiting 15 Seconds... Installer will execute twice (KI 12002617) Automate Installer Exit Code: 1603 Automate Installer Logs: C:\windows\Temp\Automate_Agent_2020-05-12_23-41-10.log Transcript stopped, output file is C:\windows\Temp\Automate_Deploy.txt I've run a CMD file (attached here) I had to fully uninstall LabTech agent. Not sure which of the registry keys that my script deleted make your script worked again, but this procedure is fully tested on several machines with Windows 7 and Windows 10. If I run your script and get the mentioned error, then run the CMD and then your script again and is 100% working. Do you think you can get the commands from the CMD and update your uninstall method? Thank you 1 - Uninstall LT Agent.cmd
  9. @Braingears thank you so much for the script. Waiting for your new Master version with more aggressive uninstalling since I have several computers with this: Transcript started, output file is C:\windows\Temp\Automate_Deploy.txt Removing Existing Automate Agent... The Automate Agent Uninstalled Successfully Automate is NOT Installed Installing Automate Agent to http://.....com Automate Installer Exit Code: 1603 Automate Installer Logs: C:\windows\Temp\Automate_Agent_2020-05-05_09-58-34.log The Automate MSI failed. Waiting 15 Seconds... Installer will execute twice (KI 12002617) Automate Installer Exit Code: 1603 Automate Installer Logs: C:\windows\Temp\Automate_Agent_2020-05-05_09-58-51.log Transcript stopped, output file is C:\windows\Temp\Automate_Deploy.txt And I have others with just: Transcript started, output file is C:\Windows\Temp\Automate_Deploy.txt Removing Existing Automate Agent... The Automate Agent Uninstalled Successfully Automate is NOT Installed Installing Automate Agent to https://.....com Transcript stopped, output file is C:\Windows\Temp\Automate_Deploy.txt Do you think your new version can help with that? Thank you!
  10. mcretari

    Rehoming Agents

    Anyone has tried the script on LT 12? Thank you
  11. @MrRat Thank you for this plugin. It's fully compatible with LabTech 11? Thank you
  12. Please check this script. Remember that SSH should be enabled on the computer (the scripts enables it) Please let me know if you need anything else.
  13. I'm not using the ESET Plugin for deployment. I've created ESET v6 install scripts for Windows / Mac OS. The script only installs the deployment agent and then ERA has dynamic groups configured and automatically sends the install endpoint task to new computers.
×
×
  • Create New...