File and printer sharing is needed for a variety of Windows administration tools.
If you want to use the remote execution tool PSExec from Microsoft, it needs to be enabled.
The same is true for other utilities like the cool software over at systemtools.com
The problem is..well..it is a pain to enable file and printer sharing.
With Windows XP, you have this nifty feature called “Simple File Sharing”. It needs to be disabled for remote admin tools to work, and it is enabled by default.
Unfortunately it is hidden under a folders option menu:
With Vista and higher there is an even better feature called “Remote UAC”.
Short version: It keeps you from using file and printer sharing for remote administration. Even more frustrating the option can only be changed by digging around in the registry.
Once you get those things taken care of, you still need to go into the firewall settings and enable file and printer sharing:
During the holidays a very generous reader sent me a script to take care of all of this in one shot. I cleaned it up a little and you can use it to easily enable file and printer sharing for remote administration tasks – without the hassles of going through wizards and dialogs.
You just run it from the command line like this:
In a few moments it will enable everything needed to get file and printer sharing working for you:
Get a copy of it from here:
(Rename to enable_fps.vbs after downloading)
Note: On Vista and higher you will need to make sure your command prompt is elevated for it to work 🙁
One more thing…Subscribe to my newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them. Click Here to get your free tools