Solved

Need script to disable Folder Options in XP

Posted on 2012-04-05
2
405 Views
Last Modified: 2012-04-13
I would like a script to turn off (uncheck) these two options on Windows XP machines.

Automatically search for network folders and printers
Use simple file sharing
0
Comment
Question by:murryc
2 Comments
 
LVL 14

Assisted Solution

by:Don Thomson
Don Thomson earned 250 total points
ID: 37813159
for simple file sharing try this as a batch file called  NoSFS.bat
@echo off
If {%1}=={} @echo Syntax: NoSFS ComputerName1 [ComputerName2 ... ComputerNamen]&goto :EOF
setlocal
:Next
if {%1}=={} endlocal&goto :EOF
set computer=%1
shift
set computer=%computer:"=%
set key="\\%computer%\HKLM\SYSTEM\CurrentControlSet\Control\Lsa"
if /i "%computername%" EQU "%computer%" set key="HKLM\SYSTEM\CurrentControlSet\Control\Lsa"
@echo reg add %key% /v forceguest /t REG_DWORD /d 00000000 /f
reg add %key% /v forceguest /t REG_DWORD /d 00000000 /f
@echo.
goto :Next

The syntax for using NoSFS.bat is:

NoSFS ComputerName1 [ComputerName2 ... ComputerNamen]
where ComputerNameX is a Windows XP Professional computer name in your network.


As for your other request - I doubt it can be done in a script but here is how to do it

http://support.microsoft.com/kb/320138

Do it on one machine manually using method 2 - then go into the registry and export it - as a .reg file - then you can run that
0
 
LVL 18

Accepted Solution

by:
Sushil Sonawane earned 250 total points
ID: 37815142
You disable folder option use local group policy gpedit.msc.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question