Windows 10: How do you create windows defender service using command prompt?

Discus and support How do you create windows defender service using command prompt? in AntiVirus, Firewalls and System Security to solve the problem; My pc was infected by malware which corrupted the windows registry and I had to do a complete reset to see if I could undo the damage. Ever since the... Discussion in 'AntiVirus, Firewalls and System Security' started by NewtonBundi, Nov 15, 2019.

  1. How do you create windows defender service using command prompt?


    My pc was infected by malware which corrupted the windows registry and I had to do a complete reset to see if I could undo the damage.

    Ever since the reset, windows update and windows defender services have been removed from the services list and I have to manually type in a code in the cmd to restore the windows update service upon every restart of my pc.


    The code I type is "sc create wuauserv DisplayName= "Windows Update" binpath= "C:\WINDOWS\system32\svchost.exe -k netsvcs -p" Start= delayed-auto depend= RpcSs"

    I also have to delete the registry key "wuauserv" from 'Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv' and import it back again so that it can work.

    I got this clean registry key from a clean computer


    I want to try the same for windows defender having obtained a clean registry key but everytime I type the following command in cmd "sc start WinDefend Enable" I get the following error ;

    StartService: OpenService FAILED 1060:

    The specified service does not exist as an installed service.


    Meaning I need to create the service first before I can run it and I don't know the cmd code for doing that.


    As of now I have no security providers and realtime protection. How do you create windows defender service using command prompt? 4d10b0bb-c488-438d-b38a-d8c30e0b8cee?upload=true.png

    How do you create windows defender service using command prompt? f2186c8c-b814-4355-9c41-e5b3ee1f0561?upload=true.png

    :)
     
    NewtonBundi, Nov 15, 2019
    #1
  2. cwtech Win User

    command prompt will not open in safe mode with command prompt

    Would I just follow the same steps within safe mode after hooking up to the other system?
     
    cwtech, Nov 15, 2019
    #2
  3. W1zzard Win User
    W7 Hard drive partition issue

    to get rid of that 100 meg windows partition that setup creates for you on a new install on a blank hdd:

    - press shift+f10 when on the partition management screen in setup <-- this opens a command prompt
    - diskpart <-- start the windows command line partition management tool
    - list disk <--- list the installed hdds in this computer for the next step
    - select disk 0 <- might have to replace 0 with the number of the correct disk
    - clean <-- this will erase all data on the disk you selected one step up- dont use the wrong disk!
    - create partition primary <- creates a primary partition taking up all space on the drive, adjust the command if necessary
    - exit, exit to exit diskpart and the command prompt
    - click refresh in partition manager and select your newly created partition and install to that
     
    W1zzard, Nov 15, 2019
    #3
  4. cwtech Win User

    How do you create windows defender service using command prompt?

    command prompt will not open in safe mode with command prompt

    I am repairing a laptop for a friend and I need to access windows in safe mode and the owner has forgotten the password to the main user. I tried logging on with the administrator profile in safe mode but it is not showing up so I was going to use command prompt in safe mode with command prompt but command prompt will not open when I boot that option. Does anyone have any hints for me to figure this out?
     
    cwtech, Nov 15, 2019
    #4
Thema:

How do you create windows defender service using command prompt?

Loading...
  1. How do you create windows defender service using command prompt? - Similar Threads - create defender service

  2. How Do You Create the Windows Recovery Environment from Scratch Using Command Prompe or...

    in Windows 10 Gaming
    How Do You Create the Windows Recovery Environment from Scratch Using Command Prompe or...: Hi Microsoft friends.How do you create the Windows Recovery Environment Winre from scratch using Command Prompt, PowerShell or a 3rd-party app if the SFC, DISM, Bootrec don't work msconfig also doesn't work? Some .exe work, some don't, some .msc work, some don't. The Windows...
  3. How Do You Create the Windows Recovery Environment from Scratch Using Command Prompe or...

    in Windows 10 Software and Apps
    How Do You Create the Windows Recovery Environment from Scratch Using Command Prompe or...: Hi Microsoft friends.How do you create the Windows Recovery Environment Winre from scratch using Command Prompt, PowerShell or a 3rd-party app if the SFC, DISM, Bootrec don't work msconfig also doesn't work? Some .exe work, some don't, some .msc work, some don't. The Windows...
  4. how to use arp command in command prompt as when used it say command is not recognised as...

    in Windows 10 Gaming
    how to use arp command in command prompt as when used it say command is not recognised as...: i want to know how to use arp command in command prompt as many other command also say same thing "command is not recognised as internal,external, operational program or a batch file "pleasre provide me the solution for this so i can fix this problem...
  5. how to use arp command in command prompt as when used it say command is not recognised as...

    in Windows 10 Customization
    how to use arp command in command prompt as when used it say command is not recognised as...: i want to know how to use arp command in command prompt as many other command also say same thing "command is not recognised as internal,external, operational program or a batch file "pleasre provide me the solution for this so i can fix this problem...
  6. How to create hard links to folders in Command Prompt?

    in Windows 10 Network and Sharing
    How to create hard links to folders in Command Prompt?: Hi, I'm trying to create hard links to folders in Command Prompt, just like junction /j but instead of creating a shorcut, I want to create an actual copy of the folder - hard link make the 'minecraftWorlds' appears like a regular folder. [ATTACH] I used this to create a...
  7. How to create a Restore Point using Command Prompt or PowerShell in Windows 10

    in Windows 10 News
    How to create a Restore Point using Command Prompt or PowerShell in Windows 10: [ATTACH]The regular pathway for creating a restore point in Windows 10 is via the System Protection tab from the System Properties window. In this post, we will guide […] This article How to create a Restore Point using Command Prompt or PowerShell in Windows 10 first...
  8. Command prompt what can you do?

    in Windows 10 Installation and Upgrade
    Command prompt what can you do?: Hello, I have just discovered the command prompt on my computer (search+cmd), but so far I can only change the font color. What can you do there not so everything? Will the changes only be saved there or do I change my whole computer? Do you know cool codes?...
  9. How do Software companies use Windows Command Prompt?

    in Windows 10 Customization
    How do Software companies use Windows Command Prompt?: I'm curious as to why do software companies use windows command prompt? Like what are the most common commands they use and why? What can I do in command prompt?...
  10. Creating a shared directory on the network using the command prompt

    in Windows 10 Network and Sharing
    Creating a shared directory on the network using the command prompt: Hi I have Windows 10 v1703 Enterprise 64 bit with the Microsoft accounts. Wanting to create a shared directory on the network using the command prompt, in an administrative account I ran the Command Prompt (as administrator) and I run the following commands: Code:...