Solved

Need script to disable Folder Options in XP

Posted on 2012-04-05
2
404 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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