I have made the below Script and it will completely removed any trace of the Software uTorrent. Use with extreme caution since a small tyop could have bad consequences. Would delete all utorrent.exe files on c. It should be exit /b %errorlevel%Įnd is not a valid standard command, and would not be executed in any case since the previous command is exit. exit errorlevel is probably meant to return the errorlevel to whatever has called this routine. exist is not a standard command (unless it is some known executable). Point is, the goto will not be executed, as the cmd session will terminate IF NOT EXIST %p% ( This will execute an exit command and terminate this cmd instance - unless it objects to the cmd part (which is intended to do what?) under which circumstance it would generate an error message. To guard against separators in %p% (like spaces.) ) Else ( REM I would like to some how incorporate "Dir /S C:\*ipscan24.exe" into this Batch Script and use the results as a Variable(s). REM I also need to be able to delete the desktop icon <- this is a reminder to me. REM This loop will search all of the C:/ to find the "µTorrent.exe" file, and Uninstall "µTorrent.exe" if found.įor /R C:\ %%A IN (*) Do IF "%%~nxA"="utorrent.exe" Set p=%%~dpnxA REM This Batch Program will Find and Uninstall µTorrent.exe Remove for uTorrent client: Delete the exe:ĭelete users\% Users\appdata\roaming\utorrentĬ:/%USER%\AppData\Roaming\uTorrent\uTorrent.exeĭir /S C:*µTorrent.exe <- will display any instance of µTorrent.exe on the entire c:/īelow I have posted what I have compiled so far: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\uTorrentįile location of uTorrent.exe C:\Users\Cricketadmin\AppData\Roaming\uTorrent Registry Location: Computer\HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\µTorrent Uninstall String: "%APPDATA%\Roaming\uTorrent\uTorrent.exe" /UNINSTALL Install Location:%APPDATA%\Roaming\uTorrent HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\µTorrent I am going to post a little info I have found on the subject: I can run all of these commands in A CMD window just fine, so I am thinking it is a format error, so when trying to compile them all in batch it doesn't seem to complete after the:īTW I can not use WMIC to uninstall the software because of where uTorrent installs itself. And Possibly remove any entry from the registry if possible. I manage about 10,000 PC's via Microsoft InTune and I have found that around 500 of them have uTorrent installed and I need to remove it because of uTorrent's capabilities and security risk.īasically what I am wanting to do is search the entire C:/ Drive for the "µTorrent.exe", Find it, Uninstall it, Delete any existence that it was ever there and keep looping through until all of the µTorrent related files are deleted. In Windows 8 you would click Send To > Desktop (Create shortcut).Ī shortcut for that document or file appears on your desktop.I am new here and I am some what of a novice in batch. Right-click the name of the document, and then click Create shortcut. In Windows Explorer, browse to the document or file for which you want to create a desktop shortcut. You can also create desktop shortcuts for specific Office files or documents. Right-click the program name, and then click Send To > Desktop (Create shortcut).Ĭreate a desktop shortcut for an Office document or file Right-click the program name or tile, and then select Open file location. Left-click the name of the program, and drag it onto your desktop.Ī shortcut for the program appears on your desktop. Create a desktop shortcut for an Office programĬlick the Windows key, and then browse to the Office program for which you want to create a desktop shortcut. If you are using Windows 8 or earlier, right-click the program name or tile, and then select Pin to taskbar. If you are using Windows 10, right-click the program name or tile, click More > Pin to taskbar. You can also add a program to the taskbar. Note: This article explains how to create a shortcut on your desktop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |