This is a quick guide on installing impacket (https://github.com/CoreSecurity/impacket/) library and scripts on a Windows machine:
- Install Python 2.7 from python.org
- Install pre-compiled Windows version of PyCrypto from http://www.voidspace.org.uk/python/modules.shtml#pycrypto
- Add C:\Python27 and C:\Python27\Scripts to your PATH (open Advanced System Settings either through Control Panel or run sysdm.cpl, select Advanced tab and click Environment Variables… — don’t remove existing paths, separate entries using a semicolon). Adjust the path if you didn’t install Python into the default location.
- Start cmd.exe as Administrator and run:
pip install pyasn1
pip install impacket
Now you would be able to use scripts that come with impacket (they are installed to C:\Python27\Scripts and will be in your PATH).