Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm encountering such an error after expanding disk space on a virtual machine using Hyper-V.

STOP: c000021a {Fatal System Error}

The initial session process or system process terminated unexpectedly with a status of (0x00000000) (0xc000012d 0x001003f0).

The virtual server there is Windows Server 2008 R2 Enterprise Edition, which is also Domain Controller. I've tried to repair Windows but there is no restore point, and using the command line.

I've tried the sfc /SCANNOW /OFFBOOTDIR /OFFWINDIR command, but I got the error Windows Resource Protection could not perform the requested operation.

share|improve this question

1 Answer 1

http://support.microsoft.com/kb/317189

Programs or Setup programs may schedule a file to be renamed on the next restart of Windows NT if the program is prevented from renaming a file because the file is in memory.

Windows NT checks a registry key for file-rename operations to be completed early in the boot process. If the file-rename operation cannot be completed because the file or folder does not exist, the error message is generated.

Not pretty, but you have to remove registry keys that are trying to perform a delayed rename operation:

HKEY_LOCAL_MACHINE\System\ControlSetXXX\Control\Session Manager
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
    PendingFileRenameOperations

Reading the knowledge base article you'd almost be better off installing a fresh server.

share|improve this answer
    
Is that NT4 specific? –  Greg Askew Mar 12 '11 at 20:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.