I'm having a horrific experience trying to install and reinstall two applications on a Windows 7 (not SP1) laptop.
I'll start with the Java 6 Update 24 problem first.
Java 6 Update 22 remained installed on the machine in question although I had installed Update 23 and Update 24 on dozens of other computers using Group Policy (that also had a previous version of Java installed).
So I thought I would get a "fresh start" and removed Java 6 Update 22 manually.
But Java 6 Update 24 still fails to install. I have the following Event Viewer entries to work with (this is an example of the sequence of what I believe are pertinent events):
SYSTEM LOG, Event ID 5719, NETLOGON
5:21:07
This computer was not able to set up a secure session with a domain controller in domain mydomain due to the following:
There are currently no logon servers available to service the logon request.
This may lead to authentication problems. Make sure that this computer is connected to the network. If the problem persists, please contact your domain administrator.
Yet...
C:\>nltest /sc_query:mydomain.loc
Flags: 30 HAS_IP HAS_TIMESERV
Trusted DC Name \\dcs2.mydomain.local
Trusted DC Connection Status Status = 0 0x0 NERR_Success
The command completed successfully
C:\>nltest /sc_verify:mydomain.loc
Flags: b0 HAS_IP HAS_TIMESERV
Trusted DC Name \\dcs2.mydomain.local
Trusted DC Connection Status Status = 0 0x0 NERR_Success
Trust Verification Status = 0 0x0 NERR_Success
The command completed successfully
SYSTEM LOG, Event ID 1129, Group Policy
5:21:32
The processing of Group Policy failed because of lack of network connectivity to a domain controller. This may be a transient condition. A success message would be generated once the machine gets connected to the domain controller and Group Policy has succesfully processed. If you do not see a success message for several hours, then contact your administrator.
Yet... (from gpresult /r)
COMPUTER SETTINGS
------------------
[...]
Last time Group Policy was applied: 4/6/2011 at 5:22:35 PM
Group Policy was applied from: dc2.mydomain.local
Group Policy slow link threshold: 500 kbps
Domain Name: MYDOMAIN
Domain Type: Windows 2000
Applied Group Policy Objects
-----------------------------
SW-Flash-10-2
SW-Java-6-24
Default Domain Policy
Local Group Policy
---------------------------------
Afterwards, I have a Information Entries, Event ID 37 and 35 to the effect that the Time Service is receiving valid data and synchronizing, and another Entry, Event ID 7036 that Network Service entered the running state.
That may have something to do with the discrepancies above.
---------------------------------
Now we get to the heart of the problem.
System Log,Event ID 101
5:22:37
The assignment of application Java(TM) 6 Update 24 from policy SW-Java-6-24 failed. The error was : %%1274
Then Event ID 103
5:22:38 (as for following entries)
The removal of the assignment of application Java(TM) 6 Update 24 from policy SW-Java-6-24 failed. The error was : %%2
Then Event ID 108
Failed to apply changes to software installation settings. The installation of software deployed through Group Policy for this user has been delayed until the next logon because the changes must be applied before the user logon. The error was : %%1274
Event ID 1112
The Group Policy Client Side Extension Software Installation was unable to apply one or more settings because the changes must be processed before system startup or user logon. The system will wait for Group Policy processing to finish completely before the next startup or logon for this user, and this may result in slow startup and boot performance.
Event ID 1500
The Group Policy settings for the computer were processed successfully. There were no changes detected since the last successful processing of Group Policy.
Now, I have rebooted countless times after entering gpupdate /sync
How can I recover from this?
I've looked for a reference to the Java install here:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\AppMgmt
But there is nothing - about the Java GPO - to delete in this subfolder / subkey. Just two apps that installed successfully: Flash and Visual C++ Redistributable.
What should I do next?