Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows files broken after a series of unsolicited shutdowns

06 May 2013   #51
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

open the command prompt window first....

Here are some instructions to make life easier
1) To open an Elevated Command Prompt Window (the ECP window), click on Start, All Programs, Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.
2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.
3) To copy the results... click on the Black/White icon in the top left, and select Edit... 'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.


My System SpecsSystem Spec
.
06 May 2013   #52
cipley

Windows 7
 
 

Quote   Quote: Originally Posted by NoelDP View Post
open the command prompt window first....

Here are some instructions to make life easier
1) To open an Elevated Command Prompt Window (the ECP window), click on Start, All Programs, Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.
2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.
3) To copy the results... click on the Black/White icon in the top left, and select Edit... 'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.
As the explorer.exe did not start at all, there won't be any start button though
Can run via task manager, though. File > New Task (Run...) > type "cmd" (without quotes) then hit Enter/click OK

the rest is as Noel posted

@NoelDP
sorry for barging in. Cheers
My System SpecsSystem Spec
06 May 2013   #53
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Those commands can be run from any account - the HKLM hive is a global one.
My System SpecsSystem Spec
.

06 May 2013   #54
cipley

Windows 7
 
 

Quote   Quote: Originally Posted by NoelDP View Post
Those commands can be run from any account - the HKLM hive is a global one.
ah yes...HKCU isn't. my bad
My System SpecsSystem Spec
06 May 2013   #55
Steve06

Windows 7 Professional (x64)
 
 

Ok here it comes (executed from secondary account since it does not matter ):
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    ReportBootOk    REG_SZ    1
    Shell    REG_SZ    explorer.exe
    PreCreateKnownFolders    REG_SZ    {A520A1A4-1780-4FF6-BD18-167343C5AF16}
    Userinit    REG_SZ    C:\Windows\system32\userinit.exe,
    VMApplet    REG_SZ    SystemPropertiesPerformance.exe /pagefile
    AutoRestartShell    REG_DWORD    0x1
    Background    REG_SZ    0 0 0
    CachedLogonsCount    REG_SZ    10
    DebugServerCommand    REG_SZ    no
    ForceUnlockLogon    REG_DWORD    0x0
    LegalNoticeCaption    REG_SZ
    LegalNoticeText    REG_SZ
    PasswordExpiryWarning    REG_DWORD    0x5
    PowerdownAfterShutdown    REG_SZ    0
    ShutdownWithoutLogon    REG_SZ    0
    WinStationsDisabled    REG_SZ    0
    DisableCAD    REG_DWORD    0x1
    scremoveoption    REG_SZ    0
    ShutdownFlags    REG_DWORD    0x27
    AutoAdminLogon    REG_SZ    0
    DefaultUserName    REG_SZ    Fred
    DefaultDomainName    REG_SZ    FREDCUBE
    ForceAutoLogon    REG_SZ    0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExten
sions
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoLog
onChecked
EDIT: However, thinking again about it, I suspect the exercise might not reveal a lot since given that these entries are global and that they obviously DO work well for the secondary account (otherwise I could not work with it), the issue of the explorer.exe failing to load (or to remain loaded) within the secondary account might not have to do with these global entries.
My System SpecsSystem Spec
06 May 2013   #56
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

There's a couple of odd values here.

1) ShutdownFlags REG_DWORD 0x27
2) DefaultUserName REG_SZ Fred
DefaultDomainName REG_SZ FREDCUBE

The first indicates some kind of problem on shutdown (I'll have to research that)
The two names don't normally exist in a system unless it's connected to a Domain server, so far as I know - is this the case here?

Please run the following commands, and post the results.

NET USER
NET LocalGroup Administrators
My System SpecsSystem Spec
06 May 2013   #57
Steve06

Windows 7 Professional (x64)
 
 

2) This is the username of the main user account (the one with the black screen) and the second is the network name of the computer. The computer is included in a small home network, nothing special.

The net user command just lists all user accounts and the second command terminates with system error 1376 and saying that this local group does not exist.
My System SpecsSystem Spec
06 May 2013   #58
cipley

Windows 7
 
 

Quote   Quote: Originally Posted by Steve06 View Post
Ok here it comes (executed from secondary account since it does not matter ):
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    ReportBootOk    REG_SZ    1
    Shell    REG_SZ    explorer.exe
    PreCreateKnownFolders    REG_SZ    {A520A1A4-1780-4FF6-BD18-167343C5AF16}
    Userinit    REG_SZ    C:\Windows\system32\userinit.exe,
    VMApplet    REG_SZ    SystemPropertiesPerformance.exe /pagefile
    AutoRestartShell    REG_DWORD    0x1
    Background    REG_SZ    0 0 0
    CachedLogonsCount    REG_SZ    10
    DebugServerCommand    REG_SZ    no
    ForceUnlockLogon    REG_DWORD    0x0
    LegalNoticeCaption    REG_SZ
    LegalNoticeText    REG_SZ
    PasswordExpiryWarning    REG_DWORD    0x5
    PowerdownAfterShutdown    REG_SZ    0
    ShutdownWithoutLogon    REG_SZ    0
    WinStationsDisabled    REG_SZ    0
    DisableCAD    REG_DWORD    0x1
    scremoveoption    REG_SZ    0
    ShutdownFlags    REG_DWORD    0x27
    AutoAdminLogon    REG_SZ    0
    DefaultUserName    REG_SZ    Fred
    DefaultDomainName    REG_SZ    FREDCUBE
    ForceAutoLogon    REG_SZ    0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExten
sions
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoLog
onChecked
EDIT: However, thinking again about it, I suspect the exercise might not reveal a lot since given that these entries are global and that they obviously DO work well for the secondary account (otherwise I could not work with it), the issue of the explorer.exe failing to load (or to remain loaded) within the secondary account might not have to do with these global entries.
can you open Event Viewer from the primary account?
from task manager File > New Task (Run...) > eventvwr > enter/ok
go to Windows Logs > Application, and see if there is any error log regarding explorer.exe
it might help to narrow down the problem scope

also, can you do REG QUERY "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" just like Noel asked before?
this time, in the primary account.
this will bring up list of program that will be automatically run when the user log in. One of them might be causing the explorer.exe to crash...
My System SpecsSystem Spec
06 May 2013   #59
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

,, You can ignore the ShutdownFlags value - that's normal
My System SpecsSystem Spec
06 May 2013   #60
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Quote   Quote: Originally Posted by Steve06 View Post
2)
The net user command just lists all user accounts and the second command terminates with system error 1376 and saying that this local group does not exist.

There's your problem then!
The question then becomes how to recreate that group without access to the registry.
VK - any ideas??
My System SpecsSystem Spec
Reply

 Windows files broken after a series of unsolicited shutdowns




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Getting corrupted or broken files when trying to make big downloads
I have recently downloaded Cyberlink's Powerdirector which, complete, contains more than 2G of software. I have attempted to make downloads MANY times with errors like "download corrupted" or "broken". I was, eventually, successful in downloading it. But I have no idea how. I have also been...
General Discussion
Series of clicking into folders and files noises randomly happening?
Guys this is scaring me...Today is the second day now. Randomly around 9pm or 10pm at night I would hear a series of clicking into folders sound, you know that sound windows makes when you open a folder? It's that sound. Nothing is moving on my computer. I just hear that folder opening...
General Discussion
Windows 7 unexpected shutdowns
Hi guys, been using my win7 rig for years flawlessly but i have started experiencing unexpected shutdowns recently when performing several tasks simultaneously such as instant messaging, streaming video on the web, playing music and a few tabs open in my browser. each time the system shuts down...
BSOD Help and Support
Unsolicited tech support
Hi, I just received a phone call from tech support at Jars Support telling me that there is a problem with my computer. They say they know because I have chosen the "send report" option after some problem. However, I never choose this option. They had me scroll through: My Computer --> Manage...
System Security
Transfer Files from no-video (broken) W7 PC to another usable W7 pc?
How do I transfer files from my old video-card destroyed Sony to my new laptop using W7 also? I have the belkin easy transfer usb cable but that won't work since I need to activate it on the old pc. What other options do I have?
General Discussion
Windows 7 installation - random shutdowns
Hi, I'm trying to upgrade my computer from Vista to 7 (64bit) Ultimate. My computer specs are: Gateway, Intel Core Duo @ 2GHz, 4 GB Ram, 250 GB HD, 512 Vid Ram. I am using an extracted ISO on a DVD. The problem arises after the installation process finishes "unpacking the installation files"....
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App