![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Turn off a desktop toolbar I'm trying to figure a way with VBScript to disable a desktop toolbar and can't find anything anywhere that will lead me in the right direction. We have Nero installed on about 700 systems. When we installed it we applied customizations to the install to remove a bunch of the consumer stuff, but could not disable the Nero Search toolbar. Now we're migrating from Lotus Notes to Exchange/Outlook and want to install Windows Search, but I don't want two search boxes taking up so much real estate on the taskbar. So, how can I disable that toolbar using VBScript? WMI? I'm sure it's accessible somewhere, but I'll be darned if I can figure it out. Thanks, Tom |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Turn off a desktop toolbar It never fails. I looked for weeks to find a solution to this with no luck, but just after I posted this question I stumbled upon one. I'm just building these lines into my install batch file... rem Turn off Nero Scout and remove the search bar if Nero 7 is installed if not exist "C:\Program Files\Nero\Nero 7\Core\nero.exe" goto InstallWindowsSearch regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearch.dll" regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearchBar.dll" regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearchTray.dll" This removes all the annoying features I want to remove. I must admit this isn't nearly as satifying as it would have been to learn a new VBScripting method to nuke them! :-) Tom "TomK" <thomasDOTkerA@xxxxxx> wrote in message news:OTktil8pJHA.4840@xxxxxx Quote: > I'm trying to figure a way with VBScript to disable a desktop toolbar and > can't find anything anywhere that will lead me in the right direction. > > We have Nero installed on about 700 systems. When we installed it we > applied customizations to the install to remove a bunch of the consumer > stuff, but could not disable the Nero Search toolbar. Now we're migrating > from Lotus Notes to Exchange/Outlook and want to install Windows Search, > but I don't want two search boxes taking up so much real estate on the > taskbar. > > So, how can I disable that toolbar using VBScript? WMI? I'm sure it's > accessible somewhere, but I'll be darned if I can figure it out. > > Thanks, > > Tom > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Turn off a desktop toolbar Unfortunately, there's no general way to this with VBScript, so you've got the most general solution. It IS possible to write a general wrapper for the regsvr32 tool in script; using a bit of air-coding, here's how it would generally work: Function UnregisterServer(ByVal filepath) Dim WshShell Set WshShell = CreateObject("WScript.Shell") If InStr(filepath, " ") > 0 Then filepath = Chr(34) & filepath & Chr(34) UnRegisterServer = WshShell.Run("regsvr32 /u /s " & filepath, 0, true) End Function The filepath should be supplied without quotes; they will be inserted automatically if needed. The return value from the function is the exit errorcode for regsvr32. Note that I'm not sure this works precisely right; I'm working on a 64-bit system and seem to have some issues with regsvr32 not returning errorlevel when needed... "TomK" <thomasDOTkerA@xxxxxx> wrote in message news:unY9eJ#pJHA.5832@xxxxxx Quote: > It never fails. I looked for weeks to find a solution to this with no > luck, but just after I posted this question I stumbled upon one. > > I'm just building these lines into my install batch file... > > rem Turn off Nero Scout and remove the search bar if Nero 7 is installed > if not exist "C:\Program Files\Nero\Nero 7\Core\nero.exe" goto > InstallWindowsSearch > regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearch.dll" > regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearchBar.dll" > regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearchTray.dll" > > This removes all the annoying features I want to remove. I must admit > this isn't nearly as satifying as it would have been to learn a new > VBScripting method to nuke them! :-) > > Tom > > "TomK" <thomasDOTkerA@xxxxxx> wrote in message > news:OTktil8pJHA.4840@xxxxxx Quote: >> I'm trying to figure a way with VBScript to disable a desktop toolbar and >> can't find anything anywhere that will lead me in the right direction. >> >> We have Nero installed on about 700 systems. When we installed it we >> applied customizations to the install to remove a bunch of the consumer >> stuff, but could not disable the Nero Search toolbar. Now we're >> migrating from Lotus Notes to Exchange/Outlook and want to install >> Windows Search, but I don't want two search boxes taking up so much real >> estate on the taskbar. >> >> So, how can I disable that toolbar using VBScript? WMI? I'm sure it's >> accessible somewhere, but I'll be darned if I can figure it out. >> >> Thanks, >> >> Tom >> > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Turn off a desktop toolbar TomK wrote: Quote: > rem Turn off Nero Scout and remove the search bar if Nero 7 is installed > if not exist "C:\Program Files\Nero\Nero 7\Core\nero.exe" goto > InstallWindowsSearch > regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearch.dll" > regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearchBar.dll" > regsvr32 /u /s "%ProgramFiles%\Common Files\Ahead\Lib\NeroSearchTray.dll" > > This removes all the annoying features I want to remove. I must admit this > isn't nearly as satifying as it would have been to learn a new VBScripting > method to nuke them! :-) > annoying app without an uninstaller, or some annoying side effect of an app (for example one app which I considered to be useful, but which installed itself in EVERY system context menu). In this sort of situation, I think that Bill James' Registry Search tool is invaluable: http://www.billsway.com/vbspage/Show...es/RegSrch.txt I have changed Bill's script around to such an extent that he would not recognize it - and probably want to disown any connection - but the basic purpose remains, which is to search the entire registry for relevant entries (in the case of the OP for "nero"). Yes, I know what you are thinking, regedit already has that capability. Granted, it does, but this is one (very rare) case where a script is much faster than the original microsoft code. In addition, you get all the entries in "reg" file format, which facilitates any editing you wish to do. cheers, jw ____________________________________________________________ You got questions? WE GOT ANSWERS!!! ..(but, no guarantee the answers will be applicable to the questions) |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Toolbar for the Desktop | Tutorials | |||
| Desktop toolbar help! | General Discussion | |||
| How to make desktop icons go away from desktop toolbar in Vista? | Vista General | |||
| WLM Desktop and Google Desktop and Toolbar | Live Mail | |||
| Desktop toolbar - want it to show only desktop icons. | Vista General | |||