Thursday, October 22, 2009

how to disable autorun from removable drives

1. go to command prompt
2. type gpedit.msc, press enter
3. under computer configuration select administrative templates
4. on the right window under setting list select system
5. look for turnoff autoplay and disable all removable drives. press apply or ok.

Wednesday, October 21, 2009

How To Share A folder using the command prompt in Windows XP

if you only want to share a single folder just follow the given steps:
1. go to command prompt.
you can do so by clicking start>run>and type cmd>click ok
or you can go to start>all programs>accessories>command prompt
or if you want to do it in safe mode, just choose the safe mode with command prompt

2. once in the command prompt you just type net share [sharename]=[drive path] for example
you have a folder named "IwantYouShared" in c: and you want the folder to be shared just go to
the command prompt then type net share iwantyoushared=c:\iwantyoushared
then press enter
there should be a message that tells that your command is successful.

if you want to share multiple folders through command prompt
1. go to command prompt
2. type shrpubw.exe, then press enter
3. a windows dialog box will appear that will guide in sharing multiple folders.