Jump to content

Disable NetBIOS in WinPE2


Recommended Posts

Posted

Okay, there must be someone out here who can achieve this.

I need to tunnel SSH across a firewall to enable the connection of windows file shares. This uses a loopback adcapter, which works perfectly fine through Windows 2003 / XP etc...

Basically in order for this to happen, you need to create a loopback adapter and then disable "File and Print Sharing" and "NetBIOS", so you can route port 139 through port 22. Again, this is fine for Windows 2003 and Xp as you have a nice GUI to achieve this. WinPE2 is a little different, apart from the vista base.....

I can create the loopback adapter fine using the devcon utility, although cannot manage to disable NetBIOS or the equivalent of File and Print Sharing within Vista

Please help.


Posted

You can set network options using an unattended.xml file with wpeinit. I know you can disable NetBIOS, but I'm not sure about File and Print Sharing. I can do both with the XP unattended answer file, but I'm not sure if the F&PS will transfer to the new unattended answer file. Here is the xml for disabling NetBIOS:

<Interfaces>
<Interface wcm:action="add">
<NetbiosOptions>2</NetbiosOptions>
<Identifier>Local Area Connection</Identifier>
</Interface>
</Interfaces>

Check out the Unattended Windows Setup Reference that comes with the WAIK.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...