/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi,

I am trying to enable the option "turn off balloon notifications" in windows 7

i did workaround to add below registry keys, after adding these registry keys.. Changes are not effecting
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
EnableBalloonTips DWORD 0

But.. Only.. Once i log off and then log back on, changing this setting effectively. but it is not recommended with my package.


How can I make my package with this customization?

Any idea here.
Thanks in advance.



0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Is there any script to make this change effective with gpedit.msc

changing option " turn off balloon notification" to enable , there after we can update group policy with " gpupdate "


appreciate any idea or hint.
Answered 10/20/2010 by: ABN
Senior Yellow Belt

Please log in to comment

Please log in to comment
0
Hi VBscab,
I really appreciate your hint.
i found the below info in google, but as i stated my request is not recomanded.
http://www.sevenforums.com/tutorials/11442-notifications-enable-disable-message-balloons.html

but as i stated my request is not recomanded the below point at above link,
7. Log off and log on, or restart the computer to apply.

So that i quoted in second post, any vbscript or registry can step out of this action and configutarion settings should effect immediately.

thanks once again.
Answered 10/21/2010 by: ABN
Senior Yellow Belt

Please log in to comment
0
Apologies: I forgot that GPs don't apply until a machine restart (machine policies) or the user logs off/back on (user policies).

It seems you have no choice. However, once it's set, it's set so why not apply it as a GP? That allows you to propogate it in a granular fashion (by OU, for example) and it will get applied when users log in. Since they need to do that at least once a week, you won't need to force a log off.
Answered 10/21/2010 by: VBScab
Red Belt

Please log in to comment
0
Hi all,

Let me get all points in same forum to make sence about My question to get solution here itslef.

step 1: http://help.wugnet.com/windows/Disable-Balloon-Notifications-Reboot-ftopict601662.html
step 2: http://social.msdn.microsoft.com/forums/en-US/winforms/thread/ce540c7d-a113-4f39-956e-0af6bc91abd3/

if any one have an idea about to implement the script(as below) as a custom action ( in step 2 )

-----------------------------------------------------------------------------------------------------

C#
Code Block
[/align][align=left] class Program
{
[DllImport("user32.dll", SetLastError = true)]
private static extern IntPtr SendMessageTimeout ( IntPtr hWnd, int Msg, IntPtr wParam, string lParam, uint fuFlags, uint uTimeout, IntPtr lpdwResult );[/align][align=left] private static readonly IntPtr HWND_BROADCAST = new IntPtr(0xffff);
private const int WM_SETTINGCHANGE = 0x1a;
private const int SMTO_ABORTIFHUNG = 0x0002;[/align][align=left] static void Main ( string[] args )
{
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, IntPtr.Zero, null, SMTO_ABORTIFHUNG, 100, IntPtr.Zero);
}
}
-----------------------------------------------------------------------------------------------------


R&D.
[/align]
Answered 10/22/2010 by: ABN
Senior Yellow Belt

Please log in to comment
0
You'll need some sort of script-to-Windows-API interface for that. There was one called DynaLib knocking around but I found it so unreliable that I wrote my own wrapper, which contained just the APIs I needed. SendMessageTimeout wasn't one of those, unfortunately.
Answered 10/22/2010 by: VBScab
Red Belt

Please log in to comment