diff -r 49735af70121 -r 639665016a27 windows.rst --- a/windows.rst Fri Oct 14 23:48:24 2011 +0300 +++ b/windows.rst Sun Nov 20 20:14:48 2011 +0200 @@ -420,6 +420,10 @@ Change NTFS permission. ======================= + http://support.microsoft.com/kb/919240 + The Icacls.exe utility is available for Windows Server 2003 with + Service Pack 2 + Change NTFS permission with 'icacls'. ------------------------------------- @@ -434,7 +438,11 @@ Recursively change the owner of all matching files to the specified user:: - cmd> icacls /setowner %user% /t /c + cmd> icacls %dir% /setowner %user% /t /c + +or simply:: + + cmd> takeown /r /f %file% Recursively grand full access for everyone:: @@ -501,3 +509,10 @@ cmd> systeminfo +Automatically logon to Windows. +=============================== +:: + + cmd# control userpasswords2 + +