lis

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Shutdown/Reboot error #18091
    lis
    Participant

    Did you install NoMachine before a Windows update took place?
    Did you reinstall NoMachine after the Windows Update?

    EDIT:
    If you have not tried reinstalling nomachine, do it first.

    Please make backups of your NoMachine configurations.

    For example my Audio didnt work after the Windows aniversary Update. The last major Win 10 Update killed my Touchpad settings dialog.

    Technical stuff:
    UUIDS may have changed so the msvcrt service manager is not able to find all relations to NoMachine anymore.
    Paths of dlls/drivers whatever may have changed and there are leftovers.
    Try to run this from an elevated console (to check the windows folder for proper file layout, and if errors found download official files from ms):

    1. DISM.exe /Online /Cleanup-image /Restorehealth
    2. sfc /scannow

    If there where errors found reinstall NoMachine and reboot.

    Greetings, Louis

    • This reply was modified 6 years, 8 months ago by Britgirl.
    • This reply was modified 6 years, 8 months ago by Britgirl.
    • This reply was modified 6 years, 8 months ago by lis. Reason: clarification
    lis
    Participant

    Ok, in that case you would have to allow the NoMachine services (or rpc) to be executed in safe mode.

    This means you would have to configure all dependencies for NoMachine, to be allowed to load in safe mode.

    Keep in mind that modifying safe mode configurations is dangerous, since Windows depends on the configurations for automatic restoration of drivers etc.

    Start by examining

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

    which holds the two configurations for the different possible safe mode loading options.

    Each of the subkeys hold a copy of available drivers/services who are whitelisted for loading in safe mode:

    Writing the following into a .reg file and execute it, would allow the windows printer spooler to be whitelisted in the Safe mode with networking.

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Spooler]
    @=”Service”

    You can get a list of all avaliable drivers and services by going throught

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

    Greetings, Louis

    lis
    Participant

    Keep in mind, that safe mode would maybe not load NoMachine (I don’t know how it is implemented, so try if NoMachine loads in safe mode too)

    If you have true desktop access doing a “SHIFT Key+CLICK REBOOT” will show the advanced config dialog for booting.

    This can be done in 2 seperate ways. The first one is the more safe one, becouse not as much configuration needs to be done:

    1. Open a command prompt with admin acces, enter:
    bcdedit /set {default} safeboot minimal
    The above command with start your computer in safe mode without network drivers

    bcdedit /set {default} safeboot network
    The above command will start to safe mode with network drivers.

    bcdedit /set {default} safeboot minimal
    bcdedit /set {default} safebootalternateshell yes
    The above commands will start a window manager instance with only the command prompt open (no shell).

    bcdedit /deletevalue {default} safeboot
    Execute the above command in a command prompt (in safe mode or normal mode) to start in normal mode again.

    If you successfully enabled the different restart mode, you get the response “The operation completed successfully”.

    You have to click the reboot button within your start menu, to actually start to your configured mode.

    This obviously only works, if you have desktop access to your computer.

     

    The second more powerful, but indefinitely more dangerous option is net rpc. This is the windows equivalent of ssh (without encryption etc).

    First you have to enable net rpc:

    Allow rpc traffic throught firewall
    https://support.microsoft.com/de-de/help/178517/tcp-ports-udp-ports-and-rpc-ports-that-are-used-by-message-queuing

    Enable UAC over network:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy (REG_DWORD32) value 1

    Enable the rpc service (in your system configuration -> services)
    The rpc service depends on various other services, enable DcomLaunch if present.
    Enable Remote procedure call service.
    Set booth services to start -> auto
    Reboot your machine (yes this is important or you have to manually start a whole lot of services in order).

    Try if you can open telnet <winip> 135

    Try to reboot your computer over the net with:
    net use \<yourwinip> /u:<youruser>
    (this will give you a command prompt on the remote pc then enter)
    shutdown /r

    More info here:
    https://msdn.microsoft.com/de-de/library/windows/desktop/dd578505(v=vs.85).aspx

    lis
    Participant

    This sounds odd, but how long did you wait until the computer started booting? This can take up to 20 minutes after you installed new drivers. The problem is with the security side of Windows which checks all sorts of stuff after a new driver install.

    However, the length of the reboot indicates errors, so:

    Can you start your computer in safe mode? Can you run those commands in save mode (with network drivers):

    1. DISM.exe /Online /Cleanup-image /Restorehealth

    2. sfc /scannow

    in reply to: Audio deactivated with local connection #17888
    lis
    Participant

    I enabled the options following the page you linked.

    However there are all sorts of private informations within the log files. Would it be possible to email or transmit you the logs directly so that they are not avaliable to the public?

    Thank you, Louis

Viewing 5 posts - 1 through 5 (of 5 total)