m
(--)
Line 2: Line 2:
<simpletwitter>fabiuxz|5|color:gray; border:1px blue solid; width:600px;</simpletwitter>
<simpletwitter>fabiuxz|5|color:gray; border:1px blue solid; width:600px;</simpletwitter>
 +
 +
echo off
 +
 +
echo "Impostazione PasswordExpires=NEVER"
 +
echo "----------------------------------"
 +
for %%x in (test test2) do (
 +
echo "Utente: %%x"
 +
wmic useraccount where "name='%%x'" set PasswordExpires=FALSE
 +
wmic useraccount where "name='%%x'" set disabled=FALSE
 +
)

Revision as of 11:28, 17 April 2014

zoros user page

follow me on Twitter

echo off

echo "Impostazione PasswordExpires=NEVER" echo "----------------------------------" for %%x in (test test2) do ( echo "Utente: %%x" wmic useraccount where "name='%%x'" set PasswordExpires=FALSE wmic useraccount where "name='%%x'" set disabled=FALSE )

Retrieved from "http://www.zoros.org/wiki/index.php?title=User:Zoros"