Disable SMB protocol on Windows XP

t0nc10_bsd
2 min readJan 13, 2021

--

Verify if the machine is with the port 445 is open. For realise this verification, use the command netstat -an.

After accomplish the verification, if the port 445 is open, realise the steps under to desable the protocol:

In Menu Start, select the option “Run” and after open the window for insert command, type “regedit”

Done, access the window of registers of Windows.

In the window of registers, open the tree directory following the path:
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > NetBT > Parameters

After access the window Parameters, click with the button right of the mouse in the white space where is listed the registers of directory.

Select DWORD and named this with name SMBDeviceEnabled and keep the value how “0”. Obs.: The name must be write respecting upper and lower case letters as previously written.

Done, realise reboot of machine.

After return the machine, execute command netstat -an to the verify if the port 445 is open.

Port 445 closed, this is finished.

--

--

No responses yet