Agent Toolbar Uninstaller 6.8.7.6/6.9.300.0

email me

Code to create your own uninstaller

* Note, you could add this to VBScript, AutoIT, PowerShell, etc. I have it in VB and Batch.

REM CREATE EVENT LOG
C:\Windows\System32\EVENTCREATE.exe /T INFORMATION /ID 777 /d “Agent_Toolbar Uninstaller package STARTED by %username%”

REM KILL TASK
C:\Windows\System32\taskkill.exe /f /im softphone.exe

REM UNINSTALL 6.8.7.6
C:\Windows\System32\msiexec.exe /x{E19A7E46-65B4-484B-80B4-EAFA007EA3A7} /qn /norestart
C:\Windows\System32\REG.exe ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Genesys\Agent_Toolbar_Uninstaller\6.8.7.6” /v Uninstall_Date /d “%date% %time%” /t REG_SZ /f

REM UNINSTALL 6.9.300.0
C:\Windows\System32\msiexec.exe /x{016BC400-73D1-4849-A7FC-89E112CCAE53} /qn /norestart
C:\Windows\System32\REG.exe ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Genesys\Agent_Toolbar_Uninstaller\6.9.300.0” /v Uninstall_Date /d “%date% %time%” /t REG_SZ /f

REM DELETE FOLDER CONTENTS
if exist “C:\Program Files (x86)\Genesys\Agent Toolbar\” del /q “C:\Program Files (x86)\Genesys\Agent Toolbar\*.*”

REM DELETE REG KEYS
C:\Windows\System32\reg.exe DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E19A7E46-65B4-484B-80B4-EAFA007EA3A7} /f
C:\Windows\System32\reg.exe DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{016BC400-73D1-4849-A7FC-89E112CCAE53} /f

REM CREATE EVENT LOG
C:\Windows\System32\EVENTCREATE.exe /T INFORMATION /ID 777 /d “Agent_Toolbar Uninstaller package Completed”

Adding BGInfo to Logon/Locked Screen

email me

Imagine if a corporate user could know the IP address or name of their computer…just by locking their screen. That is what this will do.

It uses BGInfo from SysInternals and IrfanView by skiljan.

Note, I also created a separate installation package, which modifies the permissions on the BackgroundDefault.jpg (giving Users the ability to replace it).

objShell.Run "displayswitch /clone",0,true
objShell.Run "C:\logon\<strong>bginfo.exe</strong> /accepteula /iq c:\logon\dynamic.bgi /timer:0",0,true
objShell.Run "displayswitch /extend",0,true
objShell.Run "%comspec% /c c:\logon\<strong>i_view32.exe</strong> C:\logon\temp.bmp /convert=c:\logon\temp.jpg",0,true
objShell.Run "%comspec% /c copy /y /v c:\logon\temp.jpg C:\windows\system32\oobe\info\backgrounds\BackgroundDefault.jpg",0,true

Adding/Removing Wireless Profiles

email me

This is how you would add a new wireless profile, and then delete the old one.

Note, the NewWireless.txt contains the exported wireless settings from a reference machine

netsh wlan add profile filename=NewWireless.txt user=all
netsh wlan delete profile MyOldWirelessSSID

Create wireless profile in XML
Import XML at the command line

 

Reference

https://msdn.microsoft.com/en-us/library/windows/desktop/ms707381(v=vs.85).aspx

 

Notes

If you’re going to export the XML, you will have to clear the key. To do this, run

netsh wlan export profile PROFILENAME folder=DIRECTORY key=clear

* submitted by Jose Espitia