cancel
Showing results for 
Search instead for 
Did you mean: 
ddddddddddd
Active Contributor

Re: I need a script example/real time use

Thanks for the advice, but I was still looking for a sample script to incorporate the command-line-parameters.

I understand what you imply, but my issue is that these message boards have large gaping holes of info and no definitive step by step, like if you aren't a programmer, developer or some sort of genius to figure things out, it's all a hack.

Therefore, if anyone can, PLEASE as requested, can ANYONE provide a me a sample script with ANY application to use as an example so I can attempt to utilize the features of this feature of LMI Central?

ddddddddddd
Active Contributor

NEED A SCRIPT TO UNINSTALL 100 LOGMEIN END USER INSTALLS

ENDING MY SUBSCRIPTIN SOON, WOULD LIKE AN AUTO UNINSTALL SCRIPT TO REMOVE LOGMEIN CLIENT SOFTWARE, PLEASE

MateNavay
GoTo Contributor

Re: One2Many Script Repository

https://github.com/knix15/LogMeIn-One2Many-Community-Scripts/

Scripts can be found here as well for better future organization.

adabala558
New Member

One2Many Uninstall and install

I am looking for assistane for the following Task, Thank in advance.

We have to install a new software onto client machines but prior to that current software version need to be uninstalled and also delete a folder from root C:\

I have an idea that this can be done via One2Many tool, Could some one tell me or give me an example how to do this.

 

kind regards,

Devi

achilcott
New Contributor

Re: One2Many Script Repository

pepperhope
New Member

Re: One2Many Script Repository

Nice article. Thanks for sharing it.

epad
Active Contributor

Re: NEED A SCRIPT TO UNINSTALL 100 LOGMEIN END USER INSTALLS

Little late for ddddddd, but maybe someoen else can use this.

This assumes all clients are 64 bit OS & LogMeIn is installed on the C Drive.


Will work with Win7/8.1/10

 

You will need to know the admin credentials for the domain or local admin for the PC, so unless all 100 PCs are within 1 domain, you'll need to run this a few times, once for each client domain. Once for each stand alone workstation. The reboot command (shutdown /r) isn't included in this script so you can deploy anytime. You should reboot when you can.

 

The script will hang in the One2Many screen, so you'll need to manually cancel it. LMI isn't there anymore to notify it's completed the task 🙂

 

This should kill all the files/folders in Win7/8.1/10. Will uninstall LMI from server 2008R2 and above.
2K8 R2 and above, you'll need to Add/Remove some of the LMI client items, but workstations are done!

 

(Icons will show in the start menu/desktop/taskbar (where applicable) , but if you click on them, they won't function)

 

I created a file called "LMI-uninstall.bat" Copy/paste this into the file.

------------------ copy below -----------------

c:
cd\
cd "c:\program files (x86)\LogMeIn\x64"
logmein uninstall -deleteall
net stop lmiguardiansvc
taskkill /f /im lmiguardian.exe
taskkill /f /im lmiguardiansvc.exe
taskkill /f /im lmiguardian.exe
taskkill /f /im lmiignition.exe
cd "c:\program files (x86)\LogMeIn\"
attrib -s -h -r /s *.*
cd "c:\program files (x86)\"
rmdir /s /q logmein
rmdir /s /q "logmein ignition"
rmdir /s/q "logmein rescue avi codec"
rmdir /s/q "logmein rescue technician console"

end

gandrew
New Contributor

Re: One2Many Script Repository

yeah me too was looking for it
tkindig
Active Contributor

Re: One2Many Script Repository

Here is a command to shut off Windows 10 Network auto-discovery. This autodiscovery "feature" will automatically discover and install the 33 printers in the building to each and every user. This "feature" might be just dandy for your home office, but is creates havoc in an integrated facility with multiple departments. Use LMI One2Many to execute this command as administrator.

 

netsh advfirewall firewall set rule group="Network Discovery" new enable=No
 
LouMeIn
Visitor

Re: One2Many Script Repository

Script to download and run the Windows Upgrade Assistant-- handy for rapidly updating missing Win Updates and/or feature upgrades.

 
# Make a directory to store the update
echo "Preparing the PC for the update..."
$dir = 'C:\_Windows_FU\packages'
If(!(test-path $dir))
{
	New-Item -ItemType Directory -Force -Path $dir
}
$webClient = New-Object System.Net.WebClient

# Get the Microsoft Upgrade assistant exe
echo "Getting the Microsoft Upgrae assistant software..."
$url = 'https://go.microsoft.com/fwlink/?LinkID=799445'
$file = "$($dir)\Win10Upgrade.exe"
$webClient.DownloadFile($url,$file)

# Run the upgrade assistant
echo "Running the Upgrade Assistant"
Start-Process -Wait -FilePath $file -ArgumentList '/quiet /skipeula /auto upgrade /copylogs $dir'

echo "Please wait for the PC to finish updates. This could take a while."
echo "During the update time the computer will not be available in LogMeIn."
echo "Once complete the PC will show as online and you will be able to access from LogMeIn."