The assignment of application x from policy x failed. The error was : %%1274

Got an issue with some MSI’s that couldn’t be deployed with Group Policy. The following was logged into the Windows System log.

The assignment of application Adobe Flash Player 11.2 ActiveX from policy software-FlashPlayer failed.  The error was : %%1274

Log Name:      System
Source:        Application Management Group Policy
Date:          14/04/2012 22:33:20
Event ID:      101
Task Category: None
Level:         Warning
Keywords:      Classic
User:          SYSTEM
Computer:      xxx
Description:
The assignment of application Adobe Flash Player 11.2 ActiveX from policy software-FlashPlayer failed.  The error was : %%1274
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Management Group Policy" />
    <EventID Qualifiers="0">101</EventID>
    <Level>3</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-04-14T20:33:20.000000000Z" />
    <EventRecordID>8394</EventRecordID>
    <Channel>System</Channel>
    <Computer>xxx</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data>Adobe Flash Player 11.2 ActiveX</Data>
    <Data>software-FlashPlayer</Data>
    <Data>1274</Data>
  </EventData>
</Event>

image

 

Solution

After applying the Group Policy ‘”Startup policy processing wait time”, found under: Computer Configuration\Policies\Administrative Templates\System\Group Policy. I gave it a value of 30. If your GPO’ still isn’t applied you can increase the value, more info on Technet.

This is the wait time for a group policy to be applied. Typically used for computers connected on slow networks.

image

More reading about this policy:

http://sourcedaddy.com/windows-7/configuring-group-policy-processing.html

Server 2008 R2 Slow startup while applying computer settings

I’ve had some trouble with slow logon on Windows Server 2008 R2. The “Applying Computer Settings”-part takes about two minutes!

The eventlog shows two records about this issue:

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

image

And:

The winlogon notification subscriber <GPClient> took xxx seconds to handle the notification event (CreateSession).

image

I stumbled upon some possible solutions. The first was updating the NIC driver. As I’m using the wireless network card, I’m only updating this one.

Updating NIC driver

Old driver:

image

New driver:

image

Drivers are updated but the logon time wasn’t reduced by a single second. Crying face

Disable Computer GPO’s

Second try was moving the computer object to a unmanaged OU (without policies applied), run gpupdate /force and rebooted some times .. but the problem still exists.

GpNetworkStartTimeoutPolicyValue

Third try: adding GpNetworkStartTimeoutPolicyValue with value 1 to the registry:

image

Maybe it’s a service or application on the computer itself .. ? I disabled some 3rd party (non Microsoft) services, but the problem remains.

Disable IPv6?

–> no luck

Disable CardReader?

–> no effect

Disable Autotuning?

netsh int tcp set global autotuninglevel=disabled

image

Didn’t solved it either, so I enabled Autotuning again:

netsh int tcp set global autotuninglevel=normal

Patches/Hotfixes?

KB2617858: Unexpectedly slow startup or logon process in Windows Server 2008 R2 or in Windows 7

KB2525332: You encounter a long logon time after you enable the "Do not automatically make redirected folders available offline" Group Policy setting in Windows 7 or in Windows Server 2008 R2

–> This hotfix fixes the slow logon issue for me! (I’m using redirected folders!)

Enable Offline Folders on Windows 2008 R2 x64 Workstation

If you are using Windows 2008 R2 as a workstation (for the Hyper-V feature for example), Offline Files isn’t a feature you can use out of the box. How to get Offline Folders working on Windows 2008 R2?

First you need Microsoft Windows Mobile Device Center 6.1 Driver for Windows Vista (64-bit), download and install.

The next step is enabling Offline Files. Type in the search box “offline files” and choose “Manage Offline Files”.

image

Enable Offline Files:

image

That’s it.

Disable services via the command line

I needed to disable a service as a prereq to stream a virtual AppV Visual Studio 2010 Professional package.

When using sc with these parameters,I got a syntax error:

sc config FontCache3.0.0.0 start=disabled

You need to add a space after start= and disabled to get this working!

sc config FontCache3.0.0.0 start= disabled

 

Remote Desktop: the logon attempt failed

I was unable to save my credentials just for one server. This server was NOT a domain member, domain member servers doesn’t suffer from this issue (in my case). Remote Desktop (mstsc) keeps asking for credentials all the time, with the error message:

Your credentials did not work
Your system administrator does not allow the use of saved credentials to log on to the remote computer <serverName> cause its identity is not fully verified. Please enter new credentials.

the logon attempt failed

RDP - the logon attempt failed

Had this issue a long time, but today was the day to tackle this issue. I found the solution here:

  • Open Group Policy Editor via cmd -> gpedit.msc
  • Navigate to Local Computer Policy\Computer Configuration\Administrative Templates\System\Credentials Delegation\
  • Open Setting Allow Delegating Saved Credentials with NTLM-only Server Authentication, set it to Enabled click on button Show… and in Show Contents window add Value TERMSRV/*
  • run a gpupdate on your workstation

This solution works, but I had to make a new group policy object (GPO) in my Active Directory Server because my Windows 7 is a domain member.

Allow Delegation Saved Credentials witg NTLM-only Server AuthenticationAllow Delegation Saved Credentials witg NTLM-only Server Authentication

Allow Delegation Saved Credentials witg NTLM-only Server Authentication - Value

All credits to: http://itowns.blogspot.com/2009/01/remote-desktop-not-allowed-to-use-saved.html

Windows 7 desktop wallpaper via GPO

My desktop wallpaper refused to load properly, I got a black desktop instead of the wallpaper-image I applied through group policy.

Windows7_wallpaper_group_policy_black_background

Here is my GPO:

Windows7_wallpaper_group_policy

Gpupdate:

Windows7_wallpaper_group_policy_gpupdate

Solution:

After some reboots and gpupdates the double quote got my attention.

I like the Copy As Path feature from Windows 7 to copy the location of a file (driveletter:\directory\filename.ext). But Copy As Path puts the whole path between double quotes. I removed the quotes, rebooted and got my wallpaper applied! Pretty silly, but maybe I could help someone with this post.

Wallpaper applied successful:

Windows7_wallpaper_group_policy_applied

BTW I also created a regkey WallPaper in the CurrentUser-hive (HKEY_CURRENT_USER\Control Panel\Desktop\WallPaper), got this info form the MS forums. But I’m not sure if the key needs to be created, will test this later.

Sleep grayed out in Windows 7

I was using the sleep feature a lot on my Windows 7 laptop. But after a fresh install (with MDT2010), de sleep button was grayed out, thus unavailable!

sleep grayed out

After some searching, the Standard VGA adapter got my attention. MDT hasn’t installed my videocard driver properly (or I forgot to select them, whatever Winking smile ).

standard vga card drivers

Installed the drivers for my nVidia Quadro:

videocard drv

After a reboot, this looks more like it:

video drivers installed

The sleep feature is available again!

sleep feature available

Linksys WMP54Gv41 issues in Windows 7 x64

Linksys doesn’t have Windows 7 x64 drivers for the Wireless PCI adapter WMP54G v41. So I started searching for them. After struggling for hours and reading numerous blog- and forum posts, this was my final solution:

I installed the drivers (netr6164.inf) that worked with the previous Vista x64 installation. For the record, I select the RaLink RT61 Wireless LAN Card v2. So far so good. But, the computer freezes under heavy network load (with speedtest.net for example).

Suddenly Windows Update pops up and said there was a driver update for the RaLink adapter. Installed this driver updated and freezes where gone!

Thank you Microsoft!

These posts seam to work for others, but don’t worked out for my situation:

http://icrontic.com/forum/showpost.php?p=679946&postcount=1

http://www.tomshardware.com/forum/429-63-wmp54g

http://www.phishthis.com/2009/01/16/how-to-install-wmp54g-drivers-on-windows-7-beta-64-bit-or-vista-64-bit/

VMWare Tools installation cannot be started while Easy Install is in progress

When installing VMWare Tools in Windows 7 within VMWare Workstation 7.0 you could get this error message:

“VMWare Tools installation cannot be started while Easy Install is in progress”

VMWare Tools installation cannot be started while Easy Install is in progress

Solution:

Change the floppy drive in VMWare Workstation Settings:

Change VMWare floppy

Change VMWare floppy

To:

Change VMWare floppy

Change VMWare floppy

VMWare Tools will install as it should ..