Enabling Developer Mode fails with error code 0x80004005 - windows-10

I am trying to install Ubuntu bash shell (Windows Subsystem for Unix) on Windows 10 Enterprise. To do this I need to enable Developer Mode in System Config. It fails with the following error:
Enabling Developer Mode fails with error code 0x80004005
I found the following MSDN article but it still fails with the error:
[SC] OpenService FAILED 1060:
The specified service does not exist as an installed service.
Anyone know how to get past this?

Wow! Turns out even though it gives an error it actually works.
¯\_(ツ)_/¯

Related

kourou throw error with Creating network "playground_default" with the default driver

steps
I followed the started instruction ,but the errors were threw after I run the kourou commonad app:scaffold playground
Error
with Creating network "playground_default" with the default driver
(sorry for this short message,my host cannot log in.I will complete error message later)
I'm not sure it is related with that I install the kourou before docker-compose. (any permission problem had been solved)
enviroment
Ubuntu Server 20.04 LTS 64bit
Nodejs 14.17.1
Oops, I solved this problem just recently.
I ran the command in the REMOTE SSH of VSCODE before, and then an error occurred. But I just ran it again in ELECTERM(a cross-platform remote ssh terminal) and found that this time it passed when installing dependencies
I still wonder what happened, plz tell me what might be causing the error

About how to build Ubuntu virtual environment using VirtualBox and Vagrant on Windows

I am using VirtualBox and Vagrant to build Ubuntu virtual environment on Windows 10.
When I did "vagrant up" with Windows PowerShell, the following error occurred.
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "063b8a06-75ba-46cd-a729-703faf0d4de2", "--type",
"headless"]
Stderr: VBoxManage.exe: error: The virtual machine
'ubuntu64_default_1491745500976_24277' has terminated unexpectedly
during startup with exit code 1 (0x1). More details may be available
in 'C:\Users\(username)\VirtualBox
VMs\ubuntu64_default_1491745500976_24277\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component
MachineWrap, interface IMachine
I was able to use VirtualBox and Vagrant without problem until a couple of months ago.
However, this time, the above error occurred.
I do not know if it is due to the update around Windows or what is the cause.
Uninstalling VirtualBox and Vagrant and trying on other versions did not solve the problem.
Does anyone know how to solve it?
This is the detailed log shown in the error sentence.
https://github.com/pekochun/git-study/blob/master/VBoxHardening.log
Looking at the logs the killer blow looks to be:
1518.1be0: Error -104 in supR3HardenedWinReSpawn! (enmWhat=5)
1518.1be0: Error relaunching VirtualBox VM process: 5
Now google fu takes me to https://forums.virtualbox.org/viewtopic.php?f=6&t=82277 and related posts which suggests this problem might happen after first restart.
Since error -104 looks like it means VERR_INVALID_NAME, I would suggest following those instructions. Beyond that it might be best taking up with virtualbox forums.

Virtual machine "pc1" Netkit error?

Introduction
I've just installed a networking simulator Called Netkit. On Debian stretch stable. Using the official installation guide here.
Installation
After setting the correct paths and installing. I then run the check_configuration.sh script.
Everything is checked OK, and it has found the terminal emulator xterm which is needed for netkit. And recieve the complete message.
[ READY ] Congratulations! Your Netkit setup is now complete!
Enjoy Netkit!
The Problem
Running netkit using the command:
vstart pc1
The xterm netkit-kernel emulator starts running. However I'm getting an infinite loop of the same error message:
ubda: can't open "home/foo/netkit/pc1.disk" failed, errno= 13
So im guessing it's because the file is missing? if so how do i obtain it? and if not, what is causing this error. I've followed the install guide completely.
I'm assuming your system is not a 32bit system. Netkit is only supported on the 32-bit architecture(unless the compatibility libraries are installed). Hence I would suggest you download a 32-bit VM(instead of installing the libraries) and run Netkit on the same(worked fine for me).
Check position of your lab-folder..

Error Message: Node.exe is not a valid Win32 Application

I have installed www.deployd.com on my Windows-XP PC for learning purposes. The book am studying ask me to execute the following command at the prompt ::
> dpd create sportsstore
but i get the following error message
Node.exe is not a valid Win32 Application
What must i do to rectify this error?
Thanks.
UPDATE
The node.exe it is complaining about is inside the the tools folder of Deployd. It is like this
C:\program files\Deployd\tools\Node.exe is not a valid Win32 Application
That error is usually an indicator of trying to run a 64bit application in a 32bit OS.
The solution is to change the version of node to the 32bit version. Be careful to choose the same version as your tutorial to avoid any conflicts.

Encounter "fatal error - NtCreateEvent(lock): 0xC0000077" when execute kinit in cygwin

I have mintty 1.2-beta1(x86_64-pc-cygwin) installed on my Windows 7 64 bit.
Then I installed krb5-workstation version 1.12.1-2 to cygwin using Cygwin Net Release Setup Program.
But when I execute kinit or klist in cygwin, I got an error:
$ kinit
1 [main] kinit 3912 C:\cygwin64\bin\kinit.exe: *** fatal error - NtCreateEvent(lock): 0xC0000077
Hangup
Restarting cygwin or restarting windows didn't work either.
Could anybody help?
I had the same error when starting xterm, which just appears to flash briefly, then exit producing an xterm.exe.stackdump file. If you give xterm the -hold option you will see the NtCreateEvent error. The root cause of my problem was interference from AVG anti virus, and adding c:\cygwin64\bin\xterm.exe to AVG's exception list made xterm work again.
I'm not sure if it helps, but I had the same error code when I was trying to install CPANminus in Cygwin 64-bit. However the installation worked fine in the 32-bit version. It's not a full solution, but maybe you can try the 32-bit version of Cygwin.
I wanted to run gdm3 on my Windows 7 desktop and ran into the same problems as you had. After some fiddeling, I got a working solution that I'm (very) happy with, so I wanted to share this with you. I did the following (you need to do this only once):
Start the Cygwin Terminal (on your Windows PC)
From the terminal, run xlaunch.exe and follow the dialogs (I ended up using XDMCP; a good article about configuring that can be found here)
Safe the resulting config file to your desktop
From now on, you can just click on the dekstop icon to launch the remote (gdm3) desktop.
AVG seems to be causing the exception including a rsync.exe.stackdump.
If you get on the server side:
rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(276) [Receiver=3.1.1]
or client side:
rsync.exe fatal error - NtCreateEvent(lock): 0xC0000058
try disabling AVG. If it works when disabled, I added the rsync.exe as an AVG program exception and rsync is fine again.

Resources