![]() ![]() I restarted the system and the dev mode is still not activated. ![]() After that I got another error, that the current directory is invalid, but after navigating back to C:\\Windows\System32 the command finished without an error. With the help of google, I found out that I have to use a different cmd.exe version located in C:\\Windows\native. The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log For Windows 10 and 11 - Click Windows icon (lower left corner for Windows 10, lower center for Windows 11), start typing PowerShell. In Windows 7 or 8, hit Start, and then type 'powershell.' Right-click the result and choose 'Run as administrator. Please use the version of DISM that corresponds to your computer's architecture. In Windows 10, press Windows+X and then choose PowerShell (Admin) from the Power User menu. With the help of google, I found out that I have to use a different cmd.exe version located in C:Windowsnative. You could also use powershell -file C:file.ps1 to call a script. when youre only using a command & is unnessecary, when you want to call a script, you should use it. Notice that four different shortcuts for PowerShell are shown in Figure 1-1. quite often you will encounter this: powershell -command '& somestuff'. You cannot service a running 64-bit operating system with a 32-bit version of DISM. The easiest way to find PowerShell on Windows 10 is to type PowerShell into the search bar as shown in Figure 1-1. I also tried to open the Settings App using the terminal ( start ms-settings:) and enable dev mode using the GUI, but it seems like the start command ignores/flushes the admin previleges and the app asks for credentials.īecause of answer, I tried to run the following commandĭISM /Online /Add-Capability /CapabilityName:~~~~0.0.1.0ĭeployment Image Servicing and Management tool Sadly, it does not work and dev mode is still inactive. In my case these keys did not exist in the registry before, so I added them manually. Step 2: Copy the below command and paste it into the PowerShell window. A pop-up will open asking for confirmation, click on Yes. Right-click on PowerShell and click on Run as Administrator. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock\AllowDevelopmentWithoutDevLicense Open Windows Terminal, then select the Startup tab > Default terminal application > Windows Console Host. Step 1: Open PowerShell in Administrator mode by typing PowerShell in the search bar and hitting enter. Some tutorials ( this one for example) state that the dev mode can be easily activated by creating or setting special keys in the registry: So I can open regedit and use the powershell without restrictions. However, I have access to a cmd.exe with admin rights. I want to activate the developer mode (to use the ubuntu subsystem), but I don't have admin account credentials. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |