Skip to content

ELLISB1000/Disable-NetBios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Disable-NetBios

A PowerShell script to detect and disable NetBios on all Interfaces.
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

A script that can be deployed with Intune as a remediation to detect clients with NetBios enabled on any interface. This is done by checking for the registry key for each interface for the value of the key NetbiosOptions. If NetBios is detected as enabled the Disable-NetBios.ps1 script will loop through all the interfaces and set the value to 2 which will disable NetBios after a system restart.

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

None

Installation

  1. Browse to the folder you store your scripts e.g. cd C:\Script
  2. Clone the repo
    Invoke-WebRequest -Uri https://raw.githubusercontent.com/ELLISB1000/Disable-NetBios/main/Detect-NetBios.ps1 -OutFile .\Detect-NetBios.ps1
    Invoke-WebRequest -Uri https://raw.githubusercontent.com/ELLISB1000/Disable-NetBios/main/Disable-NetBios.ps1 -OutFile .\Disable-NetBios.ps1

(back to top)

Usage

For information on how to set this up as a remediation script in Intune please see the following guide:

Remediation

(back to top)

Roadmap

  • Create detection script so this can be deployed as a remediation

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Ellis Barrett

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published