The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,227 other subscribers

Archive for September 7th, 2012

Enabling DisableLastAcces using fsutil

Posted by jpluimers on 2012/09/07

Note: modifying DisableLastAccess using fsutil is only supported on Windows Server 2008 R2 and higher, and on Windows 7 and higher.
The comment says that older versions of Windows (Windows Server 2000 through Windows Server 2008, and Windows XP through Windows Vista) need the registry way to do this.

This is not true, as the fsutil way works for Windows Server 2003.

Both ways require a reboot and require Administrator access.

It works like this (on Windows Server 2003 x86 as an Administrator user):

C:\Documents and Settings\jeroenp>fsutil behavior query disablelastaccess
disablelastaccess is not currently set

C:\Documents and Settings\jeroenp>fsutil behavior set disablelastaccess 1

C:\Documents and Settings\jeroenp>fsutil behavior query disablelastaccess
disablelastaccess = 1

C:\Documents and Settings\jeroenp>

Note that fsutil does not need –help, -? or -h on the command-line to display help; just omit stuff and you get help: Read the rest of this entry »

Posted in Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

 
%d bloggers like this: