Windows 10: how to reg add via cmd-script

Discus and support how to reg add via cmd-script in Windows 10 Ask Insider to solve the problem; Hello everybody, I want to add a registry by starting a cmd-script. Therefore i have implemented the following line: REG ADD... Discussion in 'Windows 10 Ask Insider' started by /u/Alpha-Inc, Sep 13, 2020.

  1. how to reg add via cmd-script


    Hello everybody,

    I want to add a registry by starting a cmd-script. Therefore i have implemented the following line:

    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /V "%CDh%\Launcher.exe" /t REG_SZ /d "WIN98 256COLOR 640X480" /f

    But whenever i check in the registry itself, it did not work propperly. The path is set to this:

    C:\Users\USER\Desktop\Games\NEWGAM~1\Launcher.exe

    Can anyone help me out with this ?

    Also I don't want to use a full path because I want to add this for multiple scripts and don't want to set the full path everytime again.

    submitted by /u/Alpha-Inc
    [link] [comments]

    :)
     
    /u/Alpha-Inc, Sep 13, 2020
    #1
  2. mbmeadows Win User

    Constant script errors and slow loading pages in 10 internet explorer 11

    I have done the steps listed above. They have not helped and I am still getting constant script errors, along with slow loading pages. Are there any other suggestions?
     
    mbmeadows, Sep 13, 2020
    #2
  3. DaveM121 Win User
    windows script host

    Hi Angeline,

    Click your Start Button, type cmd, in the list right click Command Prompt and choose 'Run as Administrator'

    In the resulting Command Prompt window, copy and paste this command:

    reg add "HKLM\Software\Microsoft\Windows Script Host\Settings" /v Enabled /t REG_DWORD /d 1 /f

    Then hit ENTER

    Close the command window when the command completes and re-start your PC
     
    DaveM121, Sep 13, 2020
    #3
  4. DaveM121 Win User

    how to reg add via cmd-script

    Windows Script Error

    If this is your own PC and not a company PC:

    Click your Start Button, type cmd, in the list right click Command Prompt and choose 'Run as Administrator'

    In the resulting Command Prompt window, copy and paste this command:

    reg add "HKLM\Software\Microsoft\Windows Script Host\Settings" /v Enabled /t REG_DWORD /d 1 /f

    Then hit ENTER

    Close the command window when the command completes and re-start your PC
     
    DaveM121, Sep 13, 2020
    #4
Thema:

how to reg add via cmd-script

Loading...
  1. how to reg add via cmd-script - Similar Threads - reg add via

  2. How to add Chinese Keyboard Language via regedit script

    in Windows 10 Gaming
    How to add Chinese Keyboard Language via regedit script: I'm trying to add the Chinese Keyboard Language via a cmd script:echo offreg add "HKEY_CURRENT_USER\Keyboard Layout\Preload" /v "2" /d "00000804" /t REG_SZ /freg add "HKEY_CURRENT_USER\Software\Microsoft\CTF\SortOrder\Language" /v "00000002" /d "00000804" /t REG_SZ /fThis...
  3. How to add Chinese Keyboard Language via regedit script

    in Windows 10 Software and Apps
    How to add Chinese Keyboard Language via regedit script: I'm trying to add the Chinese Keyboard Language via a cmd script:echo offreg add "HKEY_CURRENT_USER\Keyboard Layout\Preload" /v "2" /d "00000804" /t REG_SZ /freg add "HKEY_CURRENT_USER\Software\Microsoft\CTF\SortOrder\Language" /v "00000002" /d "00000804" /t REG_SZ /fThis...
  4. Encrypting files using cmd promt reg....

    in Windows 10 Gaming
    Encrypting files using cmd promt reg....: Hi everyone, I have a problem on windows. One month ago, i encrypted my files using cmd prompt, but i forgottenly changed my OS into windows 8. Previously i have a windows 7 OS. I dont know we have to decrypt the files before changing the OS. But right now my files are...
  5. Encrypting files using cmd promt reg....

    in Windows 10 Software and Apps
    Encrypting files using cmd promt reg....: Hi everyone, I have a problem on windows. One month ago, i encrypted my files using cmd prompt, but i forgottenly changed my OS into windows 8. Previously i have a windows 7 OS. I dont know we have to decrypt the files before changing the OS. But right now my files are...
  6. chdkdsk VIA CMD

    in AntiVirus, Firewalls and System Security
    chdkdsk VIA CMD: the so called microsoft helpfull tolls are a crap running chdkdsk via cmd to fix errors in my hard drive almost ruin my laptot hard drive disk i had lost all system data, files pictures everything, that crap is worst than malware should BE removable forever, switching for MAC...
  7. cmd script error

    in Windows 10 BSOD Crashes and Debugging
    cmd script error: This script used to work or maybe I'm feeding the wrong parameters. But can anyone see what's wrong and why I get an error. I am trying to get a property of an mp3 file. The name of the script is get_info.bat. The contents of the file is: @if .%3==. echo Syntax: %0...
  8. Type "REG ADD /?" for usage.

    in Windows 10 BSOD Crashes and Debugging
    Type "REG ADD /?" for usage.: reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v AllowRemoteRPC /t REG_DWORD /d 1 /f - ERROR: Invalid syntax. Type "REG ADD /?" for usage. how to fix?...
  9. How can cmd script check for powershell environment?

    in Windows 10 Support
    How can cmd script check for powershell environment?: I can execute script abc.cmd in either a command prompt or powershell environment/window. Can it determine the environment in which it runs? Powershell 5, W10Pro64, 1803 Thank you and a Merry Christmas. 124044
  10. How to change MAC Address via reg file ?

    in Windows 10 Network and Sharing
    How to change MAC Address via reg file ?: Hey guys, How to change MAC Address via reg file ? Regards. 68398