Ok. Thanks.
Can you tell me, what I need to write, if I want :
to change password minimal length;
to change guest account name;
to change max. password age;
Search found 5 matches
- 27 May 2014 06:30
- Forum: DOS Batch Forum
- Topic: Services, local security policies, registry
- Replies: 4
- Views: 4978
- 25 May 2014 14:51
- Forum: DOS Batch Forum
- Topic: Services, local security policies, registry
- Replies: 4
- Views: 4978
Re: Services, local security policies, registry
Any chances to edit/change security settings?
- 24 May 2014 15:51
- Forum: DOS Batch Forum
- Topic: Services, local security policies, registry
- Replies: 4
- Views: 4978
Services, local security policies, registry
Finally done my batch file 1st part - services editing. @ECHO OFF cls :sakums echo =======My batch======= echo ==================================== :selector set input= ECHO 1. Turn off services.. ECHO 2. Local Security Policy.. ECHO 3. Registry.. echo ==================================== set /p inp...
- 17 Nov 2013 18:42
- Forum: DOS Batch Forum
- Topic: Help! .bat file to get free disk space
- Replies: 26
- Views: 27306
Re: Help! .bat file to get free disk space
Try something like that: @echo off &setlocal set "GB=1073741824" for /f "skip=1 delims=" %%i in ('wmic logicaldisk get DeviceID^,FreeSpace^,Size') do ( for /f "tokens=1-3" %%j in ("%%i") do call :output %%j %%k %%l ) pause goto :eof :output for /f "t...
- 17 Nov 2013 13:55
- Forum: DOS Batch Forum
- Topic: Help! .bat file to get free disk space
- Replies: 26
- Views: 27306
Help! .bat file to get free disk space
Hello. I will be thankful, if someone help me. First of all, my file: [spoiler] @echo off & setlocal ENABLEDELAYEDEXPANSION cls echo -==================- echo Disks: echo -==================- for /f "skip=1 tokens=1,2 delims=: " %%a in ('wmic logicaldisk get deviceid^') do ( set "...