Windows files broken after a series of unsolicited shutdowns

Page 6 of 9 FirstFirst ... 45678 ... LastLast

  1. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #51

    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 Computer


  2. Posts : 181
    Windows 7
       #52

    NoelDP said:
    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 Computer


  3. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #53

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


  4. Posts : 181
    Windows 7
       #54

    NoelDP said:
    Those commands can be run from any account - the HKLM hive is a global one.
    ah yes...HKCU isn't. my bad
      My Computer


  5. Posts : 41
    Windows 7 Professional (x64)
    Thread Starter
       #55

    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 Computer


  6. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #56

    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 Computer


  7. Posts : 41
    Windows 7 Professional (x64)
    Thread Starter
       #57

    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 Computer


  8. Posts : 181
    Windows 7
       #58

    Steve06 said:
    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 Computer


  9. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #59

    ,, You can ignore the ShutdownFlags value - that's normal :)
      My Computer


  10. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #60

    Steve06 said:
    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??
    Last edited by NoelDP; 06 May 2013 at 14:15.
      My Computer


 
Page 6 of 9 FirstFirst ... 45678 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 00:33.
Find Us