Setting by command lines

%3CLINGO-SUB%20id%3D%22lingo-sub-1981458%22%20slang%3D%22en-US%22%3ESetting%20by%20command%20lines%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1981458%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone.%20I%20would%20like%20to%20ask%20some%20questions%20about%20Setting%20by%20command%20lines%3A%3C%2FP%3E%3CP%20class%3D%22%22%3E1.%20Control%20Panel%5CAll%20Control%20Panel%20Items%5CNetwork%20and%20Sharing%20Center%5CAdvanced%20sharing%20settings%20%E2%86%92%20All%20Networks%20%E2%86%92%20Public%20folder%20sharing%3C%2FP%3E%3CP%20class%3D%22%22%3ESelect%20Turn%20on%20sharing%20so%20anyone%20with%20network%26nbsp%3B%20access%20can%20read%20and%20write%20files%20in%20the%20Public%20folders%3C%2FP%3E%3CP%20class%3D%22%22%3E2.%20Control%20Panel%5CAll%20Control%20Panel%20Items%5CNetwork%20and%20Sharing%20Center%5CAdvanced%20sharing%20settings%20%E2%86%92%20All%20Networks%20%E2%86%92%20Password%20protected%20sharing%3CBR%20%2F%3ESelect%20Turn%20off%20password%20protected%20sharing%3C%2FP%3E%3CP%3E3.%26nbsp%3BControl%20Panel%5CAll%20Control%20Panel%20Items%5CPower%20Options%5CSystem%20Settings%3C%2FP%3E%3CP%3ESelect%20Hibernate%26nbsp%3B%20%26nbsp%3B%20Show%20in%20power%20menu%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBecause%20of%20the%20working%20%2C%20I%20need%20to%20reformat%20Windows%20frequently.%20Therefore%20I%20want%20to%20set%20quickly%20by%20the%20.bat%20program.%20However%20%2C%20I%20can't%20solve%20them%20by%20myself.%20Especially%20the%20the%20third%20question%2C%20I%20use%20%22%20powercfg.exe%20%2Fhibernate%20on%2Foff%20%22%20%2Cit%20just%20deleted%2Fshow%20the%20selection%20not%20select.%20Therefore%2C%20please%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20feel%20sorry%20about%20this%20presuming%20questions.%20Thanks%20for%20your%20tolerance.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Visitor

Hello everyone. I would like to ask some questions about Setting by command lines:

1. Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings → All Networks → Public folder sharing

Select Turn on sharing so anyone with network  access can read and write files in the Public folders

2. Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings → All Networks → Password protected sharing
Select Turn off password protected sharing

3. Control Panel\All Control Panel Items\Power Options\System Settings

Select Hibernate    Show in power menu

 

Because of the working , I need to reformat Windows frequently. Therefore I want to set quickly by the .bat program. However , I can't solve them by myself. Especially the the third question, I use " powercfg.exe /hibernate on/off " ,it just deleted/show the selection not select. Therefore, please help.

 

I feel sorry about this presuming questions. Thanks for your tolerance.

 

0 Replies