Installation of .Net Framework Failing with Error Code 0xf004
Framework Installation Log Snippet:
[02/05/09,12:55:54] XPSEPSC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
[02/05/09,12:55:54] XPSEPSC Installer: [2] Setup Failed on component XPSEPSC Installer
[02/09/09,11:13:20] XPSEPSC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
[02/09/09,11:13:20] XPSEPSC Installer: [2] Setup Failed on component XPSEPSC Installer
[02/09/09,11:13:21] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.
[02/09/09,11:18:01] XPSEPSC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
[02/09/09,11:18:01] XPSEPSC Installer: [2] Setup Failed on component XPSEPSC Installer
[02/09/09,11:18:01] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.
[02/09/09,11:31:08] XPSEPSC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
[02/09/09,11:31:08] XPSEPSC Installer: [2] Setup Failed on component XPSEPSC Installer
[02/09/09,11:31:08] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.
[02/09/09,12:28:49] XPSEPSC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
[02/09/09,12:28:49] XPSEPSC Installer: [2] Setup Failed on component XPSEPSC Installer
[02/09/09,12:28:50] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.
[02/09/09,13:00:27] XPSEPSC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
[02/09/09,13:00:27] XPSEPSC Installer: [2] Setup Failed on component XPSEPSC Installer
[02/09/09,13:00:27] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.
dd_XPS Log Snippet:
0.015: 2009/02/09 18:40:41.985 (local)
0.015: c:\4070abb43da3a79374\update\update.exe (version 6.3.13.0)
0.015: Failed To Enable SE_BACKUP_PRIVILEGE
0.015: Setup encountered an error: You do not have permission to update Windows Server 2003.
Please contact your system administrator.
0.015: You do not have permission to update Windows Server 2003.
Please contact your system administrator.
0.015: Update.exe extended error code = 0xf004
0.015: Update.exe return code was masked to 0x643 for MSI custom action compliance.
Root Cause of the issue: You must have this user right to perform backup operations. Rights needs to be given to SE_SECURITY_PRIVILEGE
== The article https://support.microsoft.com/kb/888791 describes why these set of permission is required and one can always refer to the same
== The article is all about “The user rights that are required by Update.exe”
Resolution: Enable SE_SECURITY_PRIVILEGE
== To enable the rights we can use the command line “ntrights.exe +r SeBackupPrivilege -u machinename\Username”
I was able to this issue in one of the Windows 2003 R2 Box. Again it might vary in different OS.
Comments
Anonymous
November 25, 2009
Wanted to leave a comment here to hopefully alleviate some troubleshooting. I spent a good two days testing and figuring out the solution to this problem. I was installing the .net framework 3.5 via an automated installer of ours that uses vbscript, and objprocess.create to launch the process. If you don't specify the privileges in the WMI connection string, those privileges ARE NOT ENABLED. Here's the wmi connection string I ended up having to use to get it to install without throwing any more "could not enable SE_SOME_PRIVILAGE" Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate, (Backup, Restore, Security, Shutdown, TakeOwnership)}!.rootcimv2")Anonymous
October 29, 2013
Cheers Newalloy, that was the answer to my issue. It had haunted me for days. I can't understand why because M$'s error messages are usually so packed with userful detail that the answer should be obvious!