Error 1303 on Windows XP Home
Posted 28 December 2008 - 01:34
I am struggling with the installation of the Visual C++ 2008 Redistributable Package. My OS is Win XP Home SP2 32-bit.
I am getting the following error according to the vcredist.log file:
MSI (s) (78:98) [10:13:14:531]: Product: Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022 -- Error 1303.The installer has insufficient privileges to access this directory: c:\WINDOWS\winsxs\x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_312cf0e9. The installation cannot continue. Log on as administrator or contact your system administrator.
Error 1303.The installer has insufficient privileges to access this directory: c:\WINDOWS\winsxs\x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_312cf0e9. The installation cannot continue. Log on as administrator or contact your system administrator.
I have already administrator privileges. Besides I performed a "sfc /scannow" to check whether my system files are damaged or inconsistent. But this did not help.
As last resort measure I tried to install the SP3 but this failed also due to insufficient access privileges.
Any help is appreciated.
Posted 28 December 2008 - 23:35
In the meantime I have found the solution to my problem.
I needed to run a script to grant administrative privileges to file access and registry settings. Below is the content of the script reset.cmd:
cd /d "%ProgramFiles%\Windows Resource Kits\Tools"
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f
secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose
Some more links covering this topic:
Posted 29 December 2008 - 10:39
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
Posted 29 December 2008 - 12:47
Posted 29 December 2008 - 14:44
|QUOTE (VBScab @ 2008-12-29 10:39)|
|To have required such a major reset of access privileges indicates to me that your machine is seriously broken.|
My system 'was' seriously broken. I couldn't even install certain windows updates and the Service Pack 3. Now all updates are working flawlessly.
According to this article http://blogs.msdn.co.../04/739820.aspx this is a valid approach to repair the permissions.
Edited by minimax2000, 29 December 2008 - 14:53.