Browsing "Networking"

Import / Export IP Settings Using Netsh

To quickly export your IP (inc dns / wins) settings to a text file, use the following command:

netsh -c interface dump > c:\work-net.txt

When you connect to another LAN

netsh -c interface dump > c:\home.txt

Once you have everything in a text file, you can use this command to import the settings depending on your location

netsh -f c:\work-net.txt

How can I send an email message from within a VBScript script?

If you have Microsoft IIS with SMTP installed on a server, you can use the following code to send a basic email message from within a script:

Set objMessage = CreateObject(“CDO.Message”)
objMessage.Subject = “Subject”
objMessage.Sender = “”
objMessage.To = “”
objMessage.TextBody = “test mail”

What’s the Account Lockout Status tool?

The Account Lockout Status tool (lockoutstatus.exe) displays lockout information for a specified user by querying every contactable domain controller (DC) in the user’s domain. You can download the Account Lockout Status tool at Link
You can also check a user’s lockout information at the command line. To do so, enter the command


where –u is the username.

Jun 18, 2004 - Networking    No Comments

Windows XP access to Linux Samba Shares

To allow Windows XP to access samba shares on a linux samba server, the Windows XP user/password needs to have been enabled in samba with the same user/password. This is configured under the Password Tab in Samba Swat. First Add New User and enter the user/password. And then Enable User. If despite having the same user/password pair and Windows XP fails to authenticate automatically with the samba server share, then check in Windows XP if it is providing the correct user/password for authentication. If the Windows XP user account was modified since creation, Windows XP might be using the original user name instead of the displayed user name , resulting in a failure to authenticate. The user name at the logon screen in Windows XP probably does not match the user name that is used to authenticate to the samba share. Unfortunately, in Windows XP, the only way to fix this is to create another user and migrate all the files of the current user to the new account.

Related Posts Plugin for WordPress, Blogger...