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

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

I know we can change Windows 7 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

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

Windows 7 Ultimate x86
 
 

Same question, I need to know for my unattended installation. I am installing Windows 7 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

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 Windows 7 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 for2: How to turn on/off Password Protected Sharing with command, regedit or
Thread Forum
Password Protected Sharing - Turn On or Off in Windows 7 Tutorials
Solved Password protected sharing is OFF, still asked for username/password? Network & Sharing
Cant make password protected sharing Network & Sharing
Using password protected sharing. Network & Sharing
Password protected sharing on, but still share? Network & Sharing
Xp password protected sharing with win 7 Network & Sharing
Password Protected Sharing 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 08:35 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33