Link to home
Start Free TrialLog in
Avatar of Indyrb
IndyrbFlag for United States of America

asked on

Windows 2008 R2 big issues.

I have a windows 2008 r2 virtual server that boots up just fine.
However there are a lot of issues. and a lot of stuff is broke...

A lot of stuff I did below... need assistance
maybe I don't have commands right or something, and if I did a re-install or upgrade will it keep all my settings and etc and all apps work...

I remember 2K and XP both had repair installation,,, I tried cmd and startrec on x:\sources\
But anyways here is a big summary... actually detail.

(1) Can not install service packs, nor updates. - failed
(2) Manually downloaded SP1 and tried to install - failed

(3) ran sfc /scannow and it dies at 53%
cbs.log shows could not repair file xxxx (bunch) or file is missing (a lot of packages)

(4) Ran the Readiness Tool - Completed,
     CheckSur
(5) retired spinstaller - failed

Looked at HKEY_Local_Machine\Components and it will not open (gives error)

(6) tried to run dism /online /cleanup-image /scanhealth
(7) tried to run dism /online /cleanup-image /restorehealth

All dism gave errors about finding windir
tried to specify image: and windir: but it still failed.

(8) tired booting to WIN 2008 R2 DVD
at X:\sources prompt (looks like OS is on D:\
 tried sfc/scannow /offbootdir=d:\ /offbootwindir=d:\windows
-Says Windows Resource Protection could not start the repair service

There is a C:\ drive
Ran attrib -h -r -s
saw bootmgr and bootsect.bak
 tried sfc/scannow /offbootdir=c:\ /offbootwindir=d:\windows   (since it appears C: is boot?_)
-Says Windows Resource Protection could not start the repair service

ran bootrec /ScanOs   = reports Total Identified Windows Installations: 0

Ran Chkdsk /f /r /b /x /v

tried Dism /image:d:\ /windir:d:\windows
gave error and failed
unable to access the image make sure path exist and you have Read permissions.


tried going to x:\sources\recovery start recover -- said there was no errors

I ran sfc /scannow and it said there was a pending boot.
looked in the d:\windows\winsxs and didn't see any pending.xml file. I did see a reboot.xml
but nothing in it really. also no cleanup.xml file  and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending  isn't set for a pending reboot

tried to run dism /image:d:\ clean-up-image /revertpendingactions
Gave error: unable to access the image
tried with all drive letters. and also windir




also saw this in cbs.log
Failed to open component hive at c:\windows\system32\config\components er=0x0
Failed to query registry value: ComponentsRemoved er=0x2\config\components er=0x0
Failed to install SP using UI hr=  act5ually a lot of fails...

Also shadow copy gave error  0x8004230f


Other Stuff I tried:

(1) tried to update vmtools and other applications - etc. gave error too.
Microsoft Runtime DLL installer failed
Child existed with error 1603 launching VC dll

(2) net stop these three services (bits, wuauserv,cryptsvc)

(3) deleted "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

(4) made a directory in system32 named catroot2.old
copy contents from catroot2 into catroot2.old
deleted all the files\folders in catroot2 (not directory)

(5) Renamed %windir%\SoftwareDistribution to SoftwaredistributionOld


verified trustedinstaller service is not disabled.

(6) re-register .dll
regsvr32 actxprxy.dll /s
regsvr32 atl.dll /s
regsvr32 browseui.dll /s
regsvr32 cryptdlg.dll /s
regsvr32 dssenh.dll /s
regsvr32 gpkcsp.dll /s
regsvr32 initpki.dll /s
regsvr32 jscript.dll /s
regsvr32 mshtml.dll /s
regsvr32 mssip32.dll /s
regsvr32 msxml.dll /s
regsvr32 msxml3.dll /s
regsvr32 msxml6.dll /s
regsvr32 muweb.dll /s
regsvr32 ole32.dll /s
regsvr32 oleaut32.dll /s
regsvr32 qmgr.dll /s
regsvr32 qmgrprxy.dll /s
regsvr32 rsaenh.dll /s
regsvr32 sccbase.dll /s
regsvr32 scrrun.dll /s
regsvr32 shdocvw.dll /s
regsvr32 shell32.dll /s
regsvr32 slbcsp.dll /s
regsvr32 softpub.dll /s
regsvr32 urlmon.dll /s
regsvr32 vbscript.dll /s
regsvr32 wintrust.dll /s
regsvr32 wuapi.dll /s
regsvr32 wuaueng.dll /s
regsvr32 wuaueng1.dll /s
regsvr32 wucltui.dll /s
regsvr32 wucltux.dll /s
regsvr32 wups.dll /s
regsvr32 wups2.dll /s
regsvr32 wuweb.dll /s

(7) netsh winsock reset

(8) netsh winhttp reset proxy

(9) bitsadmin.exe /reset /allusers

sc config trustedinstaller start= auto

tried Windows update Fixit from website -- online and portable.
tried windowsupdate.diagcab
Did report problems and said it fixed. but neither worked after reboot.

(10) ran sc sdset
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

(11) updated HKEY_LOCAL_MACHINE\Software\Microsoft\Non-Driver Signing\policy
 
(12) removed entries on these if there was any -
Remove entries on key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\FileRenameOperations


(13) Delete entries in

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce\

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\

(14) Cleaned Temps and etc.

tried dism /online /get-features -- gives windir error

Curious if:
rename c:\boot\bcd bcd.old
--not sure if needed delete c:\boot\bcd /?
bootrec /rebuildbcd
diskpart select disk 0 select partition 1 active
bootrec /fixmbr
bootrec /fixboot
X:\boot\bootsect.exe /NT60 All /force
bcdedit /createstore c:\boot\bcd.tmp
bcdedit /store c:\boot\bcd.tmp /create {bootmgr} /d "Windows Boot Manager"
bcdedit /import c:\boot\bcd.tmp

bcdedit.exe /set {bootmgr} device partition=C:

bcdedit.exe /timeout 12

del c:\boot\bcd.tmp


Browse to .wim on dvd and use dism -- not sure if you can do this

x32 bit SysWow64 cmd.exe sfc /scannow
x64 System32\cmd.exe sfc /scannow   run as administrator

VSS issue:
cd /d %windir%\system32

Net stop vss

Net stop swprv



regsvr32 /s ole32.dll

regsvr32 /s oleaut32.dll

regsvr32 /S vss_ps.dll

Vssvc /Register

regsvr32 /s /i swprv.dll

regsvr32 /s /i eventcls.dll

regsvr32 /s es.dll

regsvr32 /s stdprov.dll

regsvr32 /s vssui.dll

regsvr32 /s msxml.dll

regsvr32 /s sxml3.dll

regsvr32 /s msxml4.dll



Net start vss

Net start swprv
Avatar of Indyrb
Indyrb
Flag of United States of America image

ASKER

Already tried booting to DVD to repair (command prompt)
tried running

sfc /SCANNOW /OFFBOOTDIR=d:\ /OFFWINDIR=d:\windows

Did not work

Also form booting to install DVD changed directory to Recovery and ran StartRep via same command promt -- reported no issues

Ill try again tomorrow
SOLUTION
Avatar of Craig Beck
Craig Beck
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of compdigit44
compdigit44

1) have any changes been made to this server either at the OS level or Vmware level?

2) It it part of a domain? If so, is it a DC?

3) What error are listed in the event logs?

4) Is the server running Anti-Virus?

5) What is the exact error message you are receive when trying to install a SP?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Indyrb

ASKER

(1) have any changes been made to this server either at the OS level or Vmware level?

Unsure..... Looks like some updates were applied earlier this month, but SP1 never installed...

(2) It it part of a domain? If so, is it a DC?
Yes part of domain, no on DC....

(3) What error are listed in the event logs?

CBS/CheckSUR:

CSI payload file missing ................. (tons)
CBS Unexpected failure 0x00000005 (Unable to create new file in Store)

Failed to scavenge CSI store HResult = 0x8007007e

error :: Status DLL not found


found 19000 issues



Event 11935 MsiInstaller - Microsfot C++ 2008 Redis. x64 9.0.30729.4148 -- error 1935 an error occurred during the installation of assembly.

Event 1000 Application error: faulty application name vmtoolsd

Event 26008 = MOM could not resolve the IP{ of the MOM server

Event 6006 Winlogin -- The winlogon notification subscriber <GPclient> took 80 seconds to handle the notification event (CreateSession)

Event 4005 Winlogon -- Windows logon process has unexpectedly terminated

Event 33 SidebySide -- Activation context generation failed for C:\windows\system32\LogonUI.exe Dependent assembly ........................ could not be found... use sxstrace for detailed diags.

Event 12293 VSS Error calling a routing on a Shadow Copy Provider
Event 8193 VSS Unexepoecter error    hr=0x8000ffff Catastrophic failure

Event 3006 ASP.NET 2.0.50727.0 a parser error occureded.
Event 13 IIS-IISManager  II manager terminated unexpectedly

Event 63 WMI  and policyAgentInstanceProvider has been registered in WMI namespace .... to use the LocalSystem account.

Event 8 Service Pack installed failed with error code 0x80004002

Event 10016 DistrbutedCOM -- the application-specific permission settings do not grant local Launch permission for the com server application with CLSID ... and APPID ....

Event 10154  Windows Remote Management == WINRM service failed to create the following spn: WSMAN/servername.domain.local; WSMAN/servername error received was 8235: %%8235

Event 7026 Service Control Manager:  The following boot-start or system-start driver(s) failed to load: SMR322

Event 20: WindowsUpdateClient
Installation failure: Windows failed to install the following update with error 0x8007007e
Security Update for Windows Server 2008 R2 x64 Edition (KB2807986)

Event 11 cdrom -- the driver detected a controller error on \Device\CDROM1\

Event 7031 Service Control Manager -- IKE and AuthIP IPsec Keying Module terminated unexpecedly











(4) Is the server running Anti-Virus?

(5) What is the exact error message you are receive when trying to install a SP?
Avatar of Indyrb

ASKER

totallytonyo and craigbeck, bring up valid points with perhaps reinstall... The problem is there is an obscure app where media and install cant be located, nor does anyone know the configuration and etc.... So I am trying to resolve issues to this server, so they can run their app....



what like? it may be relevant to know what's wrong with the server....

Yes updates and applications will not install.

Also There is a program called enterprise evault Discovery Accekerator that fails to run and connect. It makes use of IIS, which also errors out.....

Vmtools gives error on runtime DLL and VC 9.0 and VC++ 2008

sfc /scannow fails at 53% within windows
sfc/ scannow with options fails to run off boot DVD.
:\recovery\StartRec.exe from boot DVD runs but doesn't list any problems, as It cant detect the Windows installation..... (however server does boot into windows)

No doubt I agree with having a stable running server, and no doubt in other circumstance I would opt for a rebuild... But I need this server running with its specified apps, as no one has the info, media, history, configuration and/or etc to redo this app once the server was rebuilt.



what like? it may be relevant to know what's wrong with the server....

If your server is generally working fine and updates etc is the only/main issue, it may be worth spending time trying to fix. looks like you've already tried a lot though and your running out of options.

If your server has other issues or is unstable, fixing this issue may be a waste of time as the server may still be broken/unstable. In that case I would agree with @craigbeck and suggest you consider a reinstall.


(4) Is the server running Ant-virus?
Yes forefront
thanks for the details.
It helps to know your reasons for your chosen path :-)

well, basically the title of your question is quite accurate then..... big problems....


Sounds like there are too many problems to fix randomly, so I suspect a step by step approach may be your best way.

I recommend arranging a reboot of the server (assuming you can and that you have backups, just in case)

then delve into the event logs and ignore everything before the reboot.

start by identifying the first few things to show warnings/errors, as these usually cause errors with other items. we can look at fixing thing a few at a time then rebooting again to identify the next few items that cause errors/warnings.

after doing this many times, you should get to a stage where it is either generally stable or it is deemed unfixable.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Indyrb

ASKER

Did a inplace upgrade... Thanks compdigit44..
Also to by: totallytonto and craigsbeck

I completed an inplace upgrade. Had to use the w2K8 without SP1 first as it wouldn't let me do it with SP1... Then after install, ran SP! update manually.
This appears to have fixed the install issues, Windows udpates, VMtools, and any other installation and os corruption..

No what about the Apps and etc.. Appear they no longer work.
And I had the IIS role on the server, then it was no longer there after upgrade.
reinstalled the IIS service, but all application sites disappeared.

I am assuming a reinstall of the apps will be the answer.
This will be interesting, as no one knows the config of the server, and there wasn't backups... I see the software in the Program Files (x86), I see the reg entries. I even have some config files.,.. but it doesn't appear to work.
It sounds like you are moving in the right direction at least. Wow no server backup?

Did you take a snapshot of the VM or do a V2V on it? If you did a V2V you could power up the old server and compare app settings
Avatar of Indyrb

ASKER

I did a snapshot....

Removed all the apps and reinstalled... looks like your right, headed in the right direction...

But still some particulars I need to investigate... Since I ultimately did a remove and reinstall of the app, I am alost thingink of copying data files over to network share, and completely starting from scratch as previous messages advised... everyone is right.. its a server and you want 100% satability. I was trying to retain config. since no one knows everything about this server.
Option 2
1) Revert the VM snapshot to before the inplace repair/upgrade.
2) Run a backup of the VM
3) Run the inplace upgrade again
4) Run a restore of the server to the install files and registry setting can be replaced. This is a real crap shot.
Avatar of Indyrb

ASKER

You guys have been a big help -- I am closing request, as it appears OS corruption and errors are fixed. I will work with the application and config.. All good points -- thanks
Avatar of Indyrb

ASKER

You guys have been a big help -- I am closing request, as it appears OS corruption and errors are fixed. I will work with the application and config.. All good points -- thanks