![Unique picture shapes for the listening game](https://loka.nahovitsyn.com/66.jpg)
If AppPath = "" or IsEmpty(AppPath) Then Wscript.Quit()įolderPath = fso.GetParentFolderName(AppPath) PSFile = Left(Wscript.ScriptFullName, InstrRev(Wscript.ScriptFullName, ".")) & "ps1"īyPassPSFile = "cmd /k PowerShell.exe -ExecutionPolicy bypass -noprofile -file "Įxample = "C:\Program Files\Google\Chrome\Application\Chrome.exe "ĪppPath = InputBox("Enter the path of your application in order to unpin it from the taskbar " & vbcr & "Example : " & vbcr & Dblquote(Example) & "",Title,Example) Set fso = Createobject("Scripting.FileSystemObject") Title = "UnPin application from Taskbar on Windows 7 by Hackoo"
#GOOGLE CHROME NOT OPENING ON TASKBAR CODE#
Try this hybrid code (Vbscript/PowerShell): Option Explicitĭim Title,Ws,ByPassPSFile,AppPath,Example,PSFile,M圜md,Result,MyArray,MyApp,FolderPath,fso Rd "%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Google Chrome" /s/qĭel "%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Google Chrome*.lnk" /qĭel "%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Google Chrome*.lnk" /q Rd "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Google Chrome" /s/q Rd "C:\Users\Default\AppData\Local\Google" /s/qĭel "%PUBLIC%\Desktop\Google Chrome.lnk" /qĭel "%userprofile%\Desktop\Google Chrome.lnk" /q Rd "%userprofile%\AppData\Local\Google" /s/q Taskkill /im GoogleUpdateOnDemand.exe /f /t Taskkill /im GoogleUpdateHelper.msi /f /t Taskkill /im GoogleUpdateBroker.exe /f /t Taskkill /im GoogleCrashHandler64.exe /f /t Taskkill /im GoogleCrashHandler.exe /f /t The BATCH Code I have run still will not remove the icon even after rebooting. If Replace(objVerb.name, "&", "") = "Unpin from Taskbar" Then objVerb.DoIt Set objFolder = objShell.Namespace(strCurrentUserAppData & "\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar")įor Each objFolderItem in objFolder.Items Set objCurrentUserAppData = objShell.NameSpace(CSIDL_APPDATA) Set objShell = CreateObject("Shell.Application") So far this is the only code that works on removing the pinned icon. If I use a bat to remove the icon from the directory, the lnk is deleted but there is left a white paper icon on the task bar. When I do the uninstall using the enterprise MSI it leaves the pinned icon. I installed the 圆4 version and need to replace it with the x86 version.
![google chrome not opening on taskbar google chrome not opening on taskbar](https://i.ytimg.com/vi/4x42kiG2BOA/maxresdefault.jpg)
#GOOGLE CHROME NOT OPENING ON TASKBAR INSTALL#
The other desire I would like to do with this code is to use it with SCCM to do a clean install of Chrome. What I want to do (knowing about VBS) is to loop through all the user folders not just the current user which is I believe defined as strCurrentUserAppData. I modified code to remove just the Google Chrome.lnk.
![google chrome not opening on taskbar google chrome not opening on taskbar](https://mac-cdn.softpedia.com/screenshots/Google-Chrome_18.jpg)
I want to remove the Google Chrome pinned icon on the taskbar.
![Unique picture shapes for the listening game](https://loka.nahovitsyn.com/66.jpg)