Search This Blog

Thursday, June 27, 2013

Always show all icons in the system tray

 

In some situations I need to always show all icons in the system tray.

So instead of this layout:

image

All users on the computer must see all icons ad shown here:

image

This can be done through the GUI by selecting Always show all icons and notifications on the taskbar:

image

This can also be done for all users through a registry change.

Creating this registry dword value HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\EnableAutoTray and set it to zero will show the full tray for all new users on this computer.

If the user has another value in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\EnableAutoTray this will be used instead of the one in HKLM.

image

We can set the value by this command in a SCCM or MDT task sequence:

Reg.exe Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v EnableAutoTray /t REG_DWORD /d 0 /f

Friday, June 21, 2013

Identify if SCCM 2012 SP1 CU2 has been installed

Cumulative Update 2 for System Center Configuration Manager 2012 SP1 has been released http://support.microsoft.com/kb/2854009

After upgrading to System Center Configuration Manager 2012 SP1 CU2, you will be able to identify the update in many different ways.

First let us take a look at the console, after the update the console reports version 5.0.7804.1300

image

The console reported version 5.0.7804.1202 before updating which is CU1.

image_thumb15

 

The Console update is also listed in Control Panel as an Installed Update.

image

The site will still report version 5.00.7804.1000 after the update.

image_thumb3

In order to check if the update has been applied we must look in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Setup\CULevel

CULevel reports 2 after CU2 has been applied.

image

Before updating CULevel reported 1.

image_thumb11

This update is also visible under Installed Updates in Control Panel.

image

And finally the client will report 5.00.7804.1300 after the client has been updated.

image

Before updating the client reported 5.00.7804.1202

image_thumb26

CU2 also seems to includes this update for SCEP http://support.microsoft.com/kb/2828233

Which means that scepinstall.exe file in the ConfigMgr install folder “.\Program Files\Configuration Manager\Client” will be updated to version 4.2.223.0

image

Tuesday, June 18, 2013

Remove Citrix Receiver system tray icon

 

Citrix Receiver creates a system tray icon, you might not like that in some situations.

image

To hide or remove the icon we can create a registry entry for every single user.

HKEY_CURRENT_USER\Software\Citrix\Receiver\ShowIcon (REG_DWORD) with the value 0.

image

We can set this in a SCCM or MDT task sequence if we use to Default User settings as explained here: http://larslohmann.blogspot.dk/2013/03/customize-settings-for-all-new-users-on.html

Reg.exe Add "HKU\DefUser\Software\Citrix\Receiver" /v ShowIcon /t REG_DWORD /d 0 /f

image

And the icon is gone:

image

Wednesday, June 12, 2013

Publish explorer.exe on XenApp 6.5

Sometimes I have to create a published application that just starts Windows explorer.exe.

As explained here this does not work as expected: http://support.citrix.com/article/CTX128009

I have had no luck with Method 1 (ApplicationLaunchWaitTimeoutMS) even though the described hotfix should be part of rollup 1.

But method 2 works for me (LogoffCheckerStartupDelayInSeconds):

image

You can set this during deployment in you MDT or SCCM task sequence:

reg.exe ADD HKLM\System\CurrentControlSet\Control\Citrix\wfshell\TWI /v LogoffCheckerStartupDelayInSeconds /t REG_DWORD /d 16 /f

image

Wednesday, June 5, 2013

DirectAccess Collect Logs button grayed out

You might find your self in a situation where you are unable to use the Collect Logs button on your Windows 8 client connecting with Direct Access.

image

The most properly reason for this is that you have not entered a Helpdesk email address when configuring the DirectAccess Client Setup page. By not doing this the option will be available.

image

If you enter an email address even through your not going to use it, the client will display the Collect Logs button.

Remember to apply the changes by pressing Finish as shown here.

image

And the apply:

image

The Windows 8 client will of course need to update policies after the change, and then the button will be available.

image