Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Enable Microsoft Defender Antivirus on Windows Server

  • Thread starter Thread starter Ravi Kumar
  • Start date Start date
  • Replies Replies 4
  • Views Views 7K
Status
Not open for further replies.

Ravi Kumar

Active Member
Messages
31
Solutions
2
Reaction score
0
Points
6
Hello All,

Hope you all are doing great,

I need your help in Enablement of the Defender antivirus in my environment on servers, i am using below mentioned command.

# For Windows Server 2016
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui

# For Windows Server 1803 and later, including Windows Server 2019 and 2022
Dism /Online /Enable-Feature /FeatureName:Windows-Defender

Now the Challenge is, i want to run this on multiple systems and for server and it ask for reboot in the second command then only we can run 3rd command. How we can achieve this from SCCM and can run all three command via script or anything.

Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender --------(Reboot)
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui

Thank you in Advance.

Best Regards
Ravi Kumar
 
Solution
Hello All,

Hope you all are doing great,

I need your help in Enablement of the Defender antivirus in my environment on servers, i am using below mentioned command.

# For Windows Server 2016
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui

# For Windows Server 1803 and later, including Windows Server 2019 and 2022
Dism /Online /Enable-Feature /FeatureName:Windows-Defender

Now the Challenge is, i want to run this on multiple systems and for server and it ask for reboot in the second command then only we can run 3rd command. How we can achieve this from SCCM and can run all three command via...
Hello All,

Hope you all are doing great,

I need your help in Enablement of the Defender antivirus in my environment on servers, i am using below mentioned command.

# For Windows Server 2016
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui

# For Windows Server 1803 and later, including Windows Server 2019 and 2022
Dism /Online /Enable-Feature /FeatureName:Windows-Defender

Now the Challenge is, i want to run this on multiple systems and for server and it ask for reboot in the second command then only we can run 3rd command. How we can achieve this from SCCM and can run all three command via script or anything.

Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender --------(Reboot)
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui

Thank you in Advance.

Best Regards
Ravi Kumar
I would do this as a task sequence.
 
Solution
Status
Not open for further replies.

Forum statistics

Threads
7,043
Messages
27,535
Members
17,730
Latest member
betablocka

Trending content

Back
Top