windows server 2012 not loading roles and features installed on the server.

Hello Experts. on a windows 2012 server, the server is not able to load the roles and features installed on the server, in server manger it states, this is because the server requires a reboot. after multiple reboots, still same issue. in the CBS logs, i see the error log file attached. the folder that it is searching under is empty. how can i resolve this issue. also when i try to rdp into the server, it causes a reboot of the server, with error showing 'your pc ran into a problem' KMODE_EXCEPTION_NOT_HANDLED. Please advise. thanks in advance.
pic1.PNG
Newguy 123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew LeniartSenior EditorCommented:
Not too sure about the first part of your question, however...

KMODE_EXCEPTION_NOT_HANDLED

That usually indicates a blue screen of death type crash, often caused by either a corrupt or incorrect driver. The two problems could be related.

Have you installed any new hardware to the faulting server of late? (This includes USB devices)

If you view device manager on the server, do you note any problems? (Look for yellow exclamation marks and red X's)

Can you identify the exception code of the KMODE error? Check this Microsoft article for some trouble shooting tips.

Hopefully, a few more experts will soon chime in with some more suggestions.

Andrew
0
MaheshArchitectCommented:
Is this virtual server or physical server?
I guess physical
Check bios settings and reset it to default value and check
Then probably  reinstall it with vanilla os, check if issue exists and then start installing drivers
0
Newguy 123Author Commented:
Hello, this is a virtual machine. I ran the bluescreenview, and placed the minidump file in it. It found 'the caused by driver' to be ntoskrnl.exe. In device manager on the server, all drivers show as healthy. Any way of further troubleshooting this, or ugrading this specific driver
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Andrew LeniartSenior EditorCommented:
Newguy,

The driver you have identified is an integral part of the Windows operating system.

I suggest you open an elevated command prompt and type the following commands.

chkdsk /f  (a restart will be required) This will check (and correct) the server for crosslinked files and file system errors.

sfc /scannow  This will check all protected system files and should replace any that are found to be corrupt.

Retest after running the above two commands and report back.
0
Newguy 123Author Commented:
Hello Andrew, i ran the chkdsk /f, it ran successfully, no errors found. When i try to run the second command sfc /scannow in elevated cmd, it states 'there is a system repair pending which requires reboot to complete. Restart windows and run sfc again'. After rebooting the server, same message appears again when i try to run sfc /scannow. Please advise.
0
Andrew LeniartSenior EditorCommented:
Newguy,

Boot into Safe mode by using the following command from an elevated command prompt.

bcdedit /set {bootmgr} displaybootmenu yes  (Tells Windows to display the boot menu after restarting)

Restart and press F8 at the boot menu to get into Advanced options. You should then be able to select "Safe Mode"

Once in safe mode, open an elevated command prompt and run the following command

dism.exe /image:C:\ /cleanup-image /revertpendingactions  (This should clear the system repair pending actions)

Does it complete successfully? If yes, run "sfc /scannow" again. Did it run and complete this time? If yes, retest to see if the problem still exists.

Note: To stop Windows pausing at the boot menu for future restarts, use the same command, but replace the 'yes' switch with 'no'  Ie:

bcdedit /set {bootmgr} displaybootmenu no  (Tells Windows to stop displaying the boot menu after restarting)

See how you go with the above and then report back for further help.

Andrew
0
Newguy 123Author Commented:
Hello Andrew, i recieve error 87 when running the dism command, see attached photo. When i run it with /online switch, it states this command can only be run against offline images, please advise
IMG_20180217_2146220.jpg
0
Andrew LeniartSenior EditorCommented:
Hmm.. The only other 'safe' thing I can think of you could try, is to try and manually remove the "pending.xml" file from the \windows\winsxs\ folder.

I don't have a 2012 server available to me at the moment to check if that will be possible while Windows is running. I suspect there may be a permissions issue, but it's worth a shot.

Booting the server into a recovery command prompt before windows loads should allow you to run the dism command, but I'm not totally clear on how you would boot a VM server into a system recovery console prompt. As explained in my PM, I'm getting into an area I'm not very clear on and I don't want to suggest you do things that may end up doing more harm than good. Might pay to wait for more expert input.

Andrew
0
Andrew LeniartSenior EditorCommented:
If you ended up rebuilding the Server VM as you said you might, please let us know and close this question without awarding any points. (Just select your own final comment as the answer)

Thanks...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Remote Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.