Jump to content

Recommended Posts

Posted

BalloonTips.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"EnableBalloonTips"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"msnmsgr"=-
"Yahoo! Pager"=-

OemPreinstall batch file excerpt:

echo.
echo. Disable Balloon Tips - Remove Messengers from Startup
Start /wait reg import %systemdrive%\OemPreinstall\BalloonTips.reg
echo. done!

When BalloonTips.reg is ran in batch (or command prompt) all of the modifications in the .reg file are applied ith the exception of "Yahoo! Pager"=-

But when the .reg file is ran in Windows (double-clicking the .reg file) all the changes are made and the Yahoo! key is deleted as desired.

My guess is the space in the value "Yahoo! Pager"=- ?

Any comments...?

OemPreinstall.bat.txt

BalloonTips.reg.txt


Posted

Did you check if the registry entry actually existed at that point in time before you tried to delete it? Is it possible that you're deleting a non-existant entry, then installing a program over it that writes the entry?

Posted

It has definitely got nothing to do with a space character, but a possibility is the exclamation mark. If your batch file is using delayed expansion the exclamation mark will be an invalid character unless it is escaped (^!).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...