Blog posts - eventviewertips

The winlogon notification subscriber took 134 second(s) to handle the notification event (CreateSession).

I’m running Windows Server 2008 on my notebook and was wondering about a slow boot time showing applying computer settings which took more 3:06 minutes. Now I have found the solution and my system start takes only 1:50 minutes which is an enhancement of more than one third. So here is the detailed description of what I have done…

Error description

When you take a look at the event viewer you will see the following warnings:

  • EventID: 6005
    The winlogon notification subscriber <GPClient> is taking long time to handle the notification event (CreateSession).
  • EventID: 6006
    The winlogon notification subscriber <GPClient> took 134 second(s) to handle the notification event (CreateSession).

 The winlogon notification subscriber <GPClient> is taking long time to handle the notification event (CreateSession). The winlogon notification subscriber <GPClient> took 134 second(s) to handle the notification event (CreateSession).  

Solution

My notebook smart card reader which caused trouble with the Group Policy Client. After disabling the smart card reader in device manager my system boot was faster.

System properties in Windows Server 2008 Device Manager in Windows Server 2008

Although 1:50 minutes isn’t as fast as my Vista partition it saves time…

SharePoint error message: A duplicate name "Item" was found.

Last month I got some error messages after creating a customized onet.xml and content types in SharePoint. One of the error messages was: A duplicate name "Item" was found. After taking a look into the SharePoint log files I found more details:

w3wp.exe (0x0474) 0x0D34 Windows SharePoint Services General 8l35 High Failed to activate site-collection-scoped features for template 'TEMPLATE#0' in site collection 'http://moss2007'.
w3wp.exe (0x0474) 0x0D34 Windows SharePoint Services General 72h9 High Failed to apply template "TEMPLATE#0" to web at URL http://moss2007.
w3wp.exe (0x0474) 0x0D34 Windows SharePoint Services General 72k2 High Failed to apply template "TEMPLATE#0" to web at URL http://moss2007, error Provisioning did not succeed. Details: Failed to create the 'Cache Profiles' list. OriginalException: A duplicate name "Item" was found. 0x8107058a

I tried to create a website based on my custom ont.xml and my custom content types. The reason for this error message was a spelling error in my custom content type:

<ContentType ID="0x010100............08}"

After removing the bracket at the end the site creation process was successful.

Extract assembly from Global Assembly Cache (GAC) with network drive mapping

If you want to extract an assembly (.dll) from the Global Assembly Cache you can use the following method which doesn't require a third party tool:

Open the Explorer and go to "Tools" in order to map a network drive.

Map the Global Assembly Cache as a network drive to extract an assembly. 

There you can enter the server name and the folder: \\SERVERNAME\FOLDER. In my case it is: \\moss2007\c$\windows\assembly. You don't need to share the folder if you are an administrator. After the mapping you can browse the GAC and extract an assembly.

 

image

Windows Server 2008 or Vista - Large file copy from a network share and network freeze

If you try to copy a large file from a network share sometimes Windows Server 2008 or Vista freezes the network connection although you have Service Pack 1 installed. After that you have to reboot in order to get your network connection to work. You can find some discussions without any solution. I had the same problem and this workaround works for me:

Dont click at the more information button. keep the windows closed.

  1. Never click at the "More information" button which is calculating the speed. Since I don't look at the information even file copies of 26GB are working - up and down.
  2. Copy large files one by one using the crtl+c key combination.
  3. Don't drag and drop files or folders.

With an open windows showing the speed my network freezes sometimes.

I hope it works for somebody too.