Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to turn on/off Password Protected Sharing with command, regedit or

23 Oct 2011   #1
jesselin68

win7
 
 
How to turn on/off Password Protected Sharing with command, regedit or

I know we can change win7 settings with command, regedit or Rundll32.
Ex:
1) Rundll32:
rundll32.exe Shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:"C:\Windows\Resources\Ease of Access Themes\basic.theme"

Result: Change themes

2) regedit:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000

Result: Disable UAC

3) command:
POWERCFG /CHANGE /MONITOR-TIMEOUT-AC 2
POWERCFG /CHANGE /MONITOR-TIMEOUT-DC 2

Result: Monitor timeout.

So How to turn on/off Password Protected Sharing with command, regedit or Rundll32?
I cannot find any info. from GOOGLE?
Are there any books and documents that you suggest me to read? I want to more understand them.
Thanks in advance.





My System SpecsSystem Spec
.
24 Oct 2011   #2
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Windows 7 Forum rule # 6.
6) No discussions of hacking someones system, network, password, etc.
My System SpecsSystem Spec
03 Sep 2013   #3
supraspecies

Windows 7 Ultimate x86
 
 

Same question, I need to know for my unattended installation. I am installing Win7 OS, and I need it to be able to find and work with other computers on the network by default. I obviously can't go around disabling it on each and every computer manually.
My System SpecsSystem Spec
.

03 Sep 2013   #4
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

Quote   Quote: Originally Posted by supraspecies View Post
Same question, I need to know for my unattended installation. I am installing Win7 OS, and I need it to be able to find and work with other computers on the network by default. I obviously can't go around disabling it on each and every computer manually.
Are the machines connected in a domain environment? You can't easily turn it off since it would destroy your sharing permissions set on any file server that is joined in the domain. If you wish to allow access to everyone then I would add the user group 'Authenticated Users' to the share permissions.

Turning off password protection in a domain environment won't only just allow all domain users but also anonymous logins as well. Meaning anyone could access your shares even if they aren't joined in the domain.

You could turn it off on a base installation and then create a sysprep image to deploy however as soon as that machine joins the domain I believe it will automatically be re-enabled.

In a workgroup environment installing the sysprep image should keep the password protected sharing turned off however you should not have that many machines for a workgroup and therefore it would be easier to manually turn it off.

Josh
My System SpecsSystem Spec
Reply

 How to turn on/off Password Protected Sharing with command, regedit or




Thread Tools





Similar help and support threads
Thread Forum
Can't turn off password protected sharing
Been trying to do this for a couple of hours now,but it just wont turn off.As soon as i turn it off and then check back again it's turned back on. I now this is quite a common problem and i've tried quite a few fixes but nothing will turn it off. My last attempt was using Winshare manager i...
Network & Sharing
Password Protected Sharing - Turn On or Off in Windows 7
How to Turn Password Protected Sharing On or Off in Windows 7 Password protected sharing is a more secure method of sharing files and folders on a network, and it is enabled by default. If password protected sharing is turned on, people on your network will not be able to access shared...
Tutorials
Password protected sharing is OFF, still asked for username/password?
I've read through pages and pages of search results for this, but they all seem to be between Win7 and XP, or something not quite the same as my problem. Here at home we are all using Windows 7 (a mix of Home Premium and Ultimate). I have an HTPC which has all our DVDs on. This PC has a few...
Network & Sharing
Using password protected sharing.
Hello. I have problems configuring Windows 7 to share folders using password protected sharing while being accessed from Windows XP. I have tried many thing but failed. Either Windows XP users are recognized as "Everyone" or they don't have permission to access the Win 7 folder. They are never...
Network & Sharing
Xp password protected sharing with win 7
Hey guys, I am trying to get a networking issue between Windows 7 Ultimate 64 bit and Windows XP Pro resolved. Here goes.. So I use advanced sharing in Windows XP and I am sharing one folder. I removed the "everyone" permission and added my current user name to the permissions list. I...
Network & Sharing
Password Protected Sharing
Hey Guys, Just noticed a very weird behaviour. In Advanced Sharing Settings, when I select "Turn off password protected sharing" under 'Home or Work' it also turns it off under 'Public'. When I turn it back on under 'Public' it turns it on again under 'Home or Work'. This kind of defeats the...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App