Results 1 to 3 of 3

Thread: Windows 2000 Server query to disable date

  1. #1
    Join Date
    Oct 2004
    Posts
    65

    Windows 2000 Server query to disable date

    I am looking for some options by which I can create a query that can automatically generate a detail file of disabled account with dates. So that it can become easier for me to disable them as per needed. I need a query script that can allow me to check accounts which are 30 days older. My serve is having more than 500 accounts. And it is not easier for me to check each of them one by one. This would be waste of time.

  2. #2
    Join Date
    Sep 2004
    Posts
    83
    For that you have to take care of two fields in the script. The one is useraccountcontrol and the second is whenchanged. I think you might be able to get proper results from that. Another thing to find the details you also need to check in metadata. That will show you the information on last changed. You can then get rid of account you want or work with existing one.

  3. #3
    Join Date
    Nov 2007
    Posts
    1

    re: Windows 2000 Server query to disable date

    I know this post is quite old. Has anyone considered using ADEXPLORER from Sysinternals. This would give you all the information you need without having to work with Vbs.


    Melvin

Similar Threads

  1. Replies: 1
    Last Post: 22-05-2011, 01:34 AM
  2. Sql query for Date function.
    By horuy in forum Software Development
    Replies: 3
    Last Post: 17-11-2010, 12:22 AM
  3. Will SQL Server 2000 run on Windows Server 2008
    By Acalapati in forum Operating Systems
    Replies: 5
    Last Post: 06-04-2010, 01:29 AM
  4. Enable / Disable compatibility mode in Windows 2000
    By Erskine in forum Tips & Tweaks
    Replies: 1
    Last Post: 23-12-2008, 07:27 PM
  5. Replies: 1
    Last Post: 07-02-2008, 10:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,020,376.11963 seconds with 17 queries