AD script For windows 2008

Well to get a list of accounts with the never expire parameter you could do this
dsquery user dc=yourdomain,dc=local -limit 500 | dsget user -samid -fn -ln -pwdneverexpires > output.txt
That will list all accounts with a yes or no next to it.
dsquery user dc=aerworldwide,dc=local -limit 500 -stalepwd 30  
That will give you a list of accounts that have not changed their password in 30 days.  Adjust as you see fit.
If you have more than 500 users, change the -limit statement accordingly.

I have a windows 2008 AD. My DC is windows 2008 64bit ( NOT R2)
I am implementing a new password policy. I need to generate a list of the last time each user's  password was reset and if the "never Expire" flag is set.  All the power shell scripts I see are for windows server 2008 R2 which use the getadUser power shell command.  
This topic first appeared in the Spiceworks Community

Similar Messages

  • Record the CPU Load in a log for Windows 2008 R2

    Use performance monitor and log it to a file.

    Hi,
    I am an Oracle DBA. I need to record the load of the CPU for windows 2008 R2. Load in the sense Total Memory, Available Memory, Cached and Free. All together into a log.
     Kindly suggest me on the same.
    Thank you.
    This topic first appeared in the Spiceworks Community

  • Remote Agent for ACS for Windows 2008 R2 64-bit

    Hi,
    We having difficulties with installing remote agent on windows 2008 R2 64-bit server and got the attached error.
    Our ACS is 4.2.0.124 and remote agents we tried are :Remote-Agent-ACSse-win-v4.2.1.15-K9.zip and Acs-4.2.1.15.9-RA.zip.
    I see following urls says it does not support Windows 2008 R2 and also 64-bit Windows,
    https://supportforums.cisco.com/message/3135061#3135061
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_solution_engine/4.2/installation/guide/remote_agent/rawi.html#wp289019
    However following url says its support 2008 R2 with 64-bit version
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2.1/Release_Notes/acs421_rn.html
    Appreciate if someone can adivse us what vesion (file name) of Remote Agent can support (or working) for Windows 2008 R2 64-bit.
    thanks in advance

    Hi Tarik,
    What I wanted to say that the below url says that ACS 4.2 does not support on 64-bit OS:
    ACS Requirements
    You must use ACS Remote Agent for Windows, version 4.2, with ACS SE, version 4.2. We do not support other Cisco Secure ACS releases.
    Note ACS Remote Agent 4.2 for Windows does not support 64-bit operating systems.
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_solution_engine/4.2/installation/guide/remote_agent/rawi.html#wp289019
    However could you please let me know what exact Remote Agent file you recommend to use for windwos 2008 R2 64-bit Server. The ACS SE version that I have is 4.2.0.124.
    Thanks

  • Is it appropriate to apply the hardening settings for Windows 2008 R2 server to Windows 2008 server?

    We would like to adopt the hardening recommendation for Windows 2008 R2 from CIS to all our DC servers. However, but then we found some of our DC in remote sites are Windows 2008 server only.
    Is the hardening settings from Windows 2008 R2 from CIS also applicable to Windows 2008 DC?
    Thanks for your attention.

    Yes, this should be fine. Hardening only specific security settings, registry keys etc and there's not much difference if you consider hardening.
    Just for reference, here's the difference between 2008 and R2 :
    http://technet.microsoft.com/en-us/library/dd391932(WS.10).aspx
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Oracle for Windows 2008 R2

    Hi,
    I have try to install oracle 10g database on Windows 2008 R2 Standard Edition. But none of the 64 bit installation are not working.
    Checking operating system version: must be  5.1 or 5.2 .    Actual 6.1
    Failed <<<<
    I check for specific Installation for this windows version, but i couldn't find it.
    Can someone give me advise for this.
    Thanks.

    Hi,
    see Oracle 10g Installation on Windows Server 2008 RC2
    Beware that for Windows 2008 R2 you need at least 10.2.0.4. Install 10.2.0.3 found on technet and upgrade from Metalink Patch.
    Herald ten Dam
    http://htendam.wordpress.com

  • Oracle Client for Windows 2008 R2

    is there a 10g or 11g cleint available for Windows 2008 R2? The latest Win64 or Windows 2008 clients all give me an error that saus it supports versions up to 6.0 and I have version 6.1

    There is a work around that can help to install 11g release 1 on windows 2008 R2
    The installer can be executed in compatability mode by right clicking on setup.exe and select "Troubleshoot compatibility" then "Troubleshoot Program" then check option "The program worked in earlier versions of windows......." then choose "Windows Server 2003 (with service pack 1)" and in the last step click "start the program" button.
    hope tihs will start installing Oracle 11g Release 1 on Windows Server 2008

  • EBS software or installer for windows 2008 R2 84 bit

    Not able to find the oracle EBS software or installer for windows 2008 R2 64 bit operating system. Let me know if Oracle EBS media is available for windows 2008 R2 64bit operating system

    Hi;
    The Oracle E-Business Suite Rapid Install media for Windows presently only supports an installation on 32-bit Microsoft Windows Server (2003, 2008).
    Please see:
    Migrating Oracle E-Business Suite R12 to Microsoft Windows Server 2008 R2 [ID 1188535.1]
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Microsoft Windows Server (32-bit) [ID 761567.1]
    Regard
    Helios

  • Adobe CS3Clean Script for Windows

    I have downloaded and unzipped the file located at:
    http://www.adobe.com/support/contact/cs3clean.html
    English/Japanese
    Download the Adobe CS3Clean Script for Windows (ZIP, 978 KB)
    Each time I extract the files, the
    AdobeCS3CleanReadMe.pdf
    will not open because it is corrupt.
    There is an additional file named:
    âNâèü[âôâAâbâvâXâNâèâvâgé+é-éóé-.pdf
    which I have not attempted to open for obvious reasons....

    I don't know for sure, but a good guess is that it's the same
    readme in
    Japanese. I don't have Japanese characters installed so
    perhaps that's why
    the gobbletygook?
    However, the AdobeCS3CleanReadMe.pdf in the download I just
    got is fine.
    Try downloading again .. if that doesn't help .. and your
    Adobe Reader is
    updated .. drop me a line and I'll send you the PDF from my
    download.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "sbuck415" <[email protected]> wrote in
    message
    news:fg5q7a$l0s$[email protected]..
    >I have downloaded and unzipped the file located at:
    >
    >
    http://www.adobe.com/support/contact/cs3clean.html
    >
    > English/Japanese
    > Download the Adobe CS3Clean Script for Windows (ZIP, 978
    KB)
    >
    > Each time I extract the files, the
    > AdobeCS3CleanReadMe.pdf
    > will not open because it is corrupt.
    >
    > There is an additional file named:
    > ?N???[???A?b?v?X?N???v?g?+?-???-.pdf
    > which I have not attempted to open for obvious
    reasons....
    >
    >
    >

  • I need the link to download Adobe Flash Player 64 bit for Windows 2008 server

    I need the link to download Adobe Flash Player 64 bit for Windows 2008 server

    http://get.adobe.com/flashplayer/
    The page has javascript to determine OS and bit rate. it WILL provide you the correct download.

  • Cold Backup Script for windows

    Hi,
    I have the following script for windows
    set pages 0 lines 500;
    set heading off echo off feedback off verify off pagesize 0;
    select 'copy ' || name || ' c:\BACKUP\COLD_BACKUP\ORADATA\' from v$datafile
    union all
    select 'copy ' || name || ' c:\BACKUP\COLD_BACKUP' from v$controlfile
    union all
    select 'copy ' || member ||' c:\BACKUP\COLD_BACKUP' from v$logfile
    union all
    select 'copy ' || name || ' c:\BACKUP\COLD_BACKUP' from v$tempfile;
    exit;
    In the above script I have given COLD_BACKUP directory for Backup....But what i want is Dynamically it should create the Directory with timestamp in COLD_BACKUP Directory and copy the files to that directory..
    for example
    script should create like this
    c:\BACKUP\COLD_BACKUP\ORCL_11112007
    Like that..it should create the ORCL_11112007 directory and copy the files....
    how can i acheive this...I know we can do it in UNIX..
    But in windows..how we can acheive this...please help me

    You can try to adapt the following SQL*Plus script to create a directory:
    set echo on
    alter session set nls_date_format = 'DDMMYYYY';
    var dd varchar2(10);
    begin
    :dd := trunc(sysdate);
    end;
    set echo off
    spool mkd.sql
    set heading off
    select 'host mkdir ' || :dd from dual;
    spool off
    set echo on
    @mkd.sqlOutput is:
    dev001> alter session set nls_date_format = 'DDMMYYYY';
    Session altered.
    dev001> var dd varchar2(10);
    dev001>
    dev001> begin
      2  :dd := trunc(sysdate);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    dev001>
    dev001> set echo off
    host mkdir 08112007
    dev001> @mkd.sql
    dev001>
    dev001> host mkdir 08112007
    dev001>
    dev001>
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • J2sdk1_4_2-? version for Windows 2008

    Hi All,
       We need the exact j2sdk version to install on windows 2008.The operating system is 64-bit version with xeon processor. If it is possible then send the exact sun path to download.
    Thanks & Regards,
    Sridhar M.

    Hi,
    Yes you are right there are no certified JRE/JDK for Windows 2008.
    Sun JDK 1.4.2 is required for SAP SAP NetWeaver 7.0  and works well but it's not tested on windows 2008.
    also check https://www.sdn.sap.com/irj/sdn/windows?rid=/webcontent/uuid/901e077f-d0c5-2a10-90ba-bb5b8acc243c
    regards,
    kaushal

  • GX600 enable VT, for example for Windows 2008 HyperV

    Hi.
    Is there a modified BIOS to enable VT on the GX600, for example for Windows 2008 HyperV?
    Using forum search I only found https://forum-en.msi.com/index.php?topic=121665.0
    Thank you & Bye

    You can try using Auditpol.exe: http://technet.microsoft.com/en-us/library/cc731451%28v=ws.10%29.aspx
    This
    posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   
    Microsoft
    Student Partner 2010 / 2011
    Microsoft
    Certified Professional
    Microsoft
    Certified Systems Administrator: Security
    Microsoft
    Certified Systems Engineer: Security
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows 7, Configuring
    Microsoft
    Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer
    Thanks but I guess, auditpol ca be used only to manipulate system audit policies. how do I specify a folder and user in auditpol ? I could not find or understand how folder can be included with auditpol command line options.
    Thanks !

  • SAP Cryptographic Library for Windows 2008

    Hello,
    Do you know where can i find SAP Cryptographic Library for Windows 2008 x64?
    I was trying to find it in swdc, but there's only for Windows 2003 - and it's not working with 2008.
    Best regards
    Bartosz

    Hi,
    Just an information from my experience : I have never been able to download any release of the SAP Crypto library contrary to what all the documentation and SAP notes tell.
    We had always to ask our SAP representative and to wait for several weeks to receive a DVD by physical mail.
    Regards,
    Olivier

  • MPIO versions for Windows 2008 SP1 and R2?

    Where can I find a list of the latest versions numbers of MPIO for Windows 2008 SP1 and R2?

    Hi,
    Do you mean the latest version of mpio.sys file?
    After search I think the latest version of mpio.sys is 6.1.7601.21687, Date is 19-Mar-2011.
    For all supported x64-based versions of Windows Server 2008 R2
    Collapse this tableExpand this table
    File name
    File version
    File size
    Date
    Time
    Platform
    Mpio.sys
    6.1.7600.20928
    156,544
    19-Mar-2011
    07:34
    x64
    Mpio.sys
    6.1.7601.21687
    156,544
    19-Mar-2011
    07:45
    x64
    For all supported IA-64-based versions of Windows Server 2008 R2
    Collapse this tableExpand this table
    File name
    File version
    File size
    Date
    Time
    Platform
    Mpio.sys
    6.1.7600.20928
    353,664
    19-Mar-2011
    06:52
    IA-64
    Mpio.sys
    6.1.7601.21687
    353,664
    19-Mar-2011
    06:50
    IA-64
    For more information please refer to following MS articles:
    "0x000000D1" Stop error occurs in the Mpio.sys driver in Windows Server 2008 R2
    http://support.microsoft.com/kb/2511962
    "msdsm.sys” and “mpio.sys" files version after SP2 installation
    http://social.technet.microsoft.com/Forums/en/winserverClustering/thread/c18b5111-9888-4aba-bda5-22a54b7227d9
    Lawrence
    TechNet Community Support

  • Cisco UT Lite script for windows 2012

    Hi;
    Will Cisco UT Lite script (for Prime LMS 4.2.4) will support with windows Active directory and domain controller on Windows 2012?
    If yes can you please share Link, I try to search but unfortunitly I counldn't found. All document refere till Windows 2003.
    Thanks for your cooperation.
    Best regards;
    Shoaib

    Hi Shoaib,
    there is no workaround. utlite script is supported on below platform only.
    •Windows 2008
    •Windows XP with SP2 or SP3
    •Windows Vista
    Thanks-
    Afroz
    [Do rate the useful post]

Maybe you are looking for

  • My music has disappeared from my laptop but is still on my IPad and IPod how can I get it back on my laptop

    My music has disappeared from my laptop but is still on my IPad and IPod how can I get it back on my laptop

  • XI messages need to be processed twice

    Hi, We are encountering an issue with processing XML messages in the XI Dev environment.  XML messages are failing the first time they are being processed.  However, when we go into SXMB_MONI and select the message to be processed again, it works fin

  • Price change for FG

    Hi Gurus, FG has a price of moving average. It was the client's decision. Now from the new financial year they want to maintain standard price for FG. How to proceed & what will be its implications. Regards, Kumar

  • Connected apple tv comes up with no signal

    just brought a apple tv box and connected it to tv using hdmi cable but keeps coming up with no signal ive disconnected cable five and still happening iknow hdmi cable works as it runs my blueray player

  • TS1538 How do you get the devices to list in iTunes

    "Devices" doesn't show up in my iTunes lefthand side list.  I have WiFi and the Apple TV (1st generation) has been connected successfully.  I want to sync some photos.  The lastest software has been downloaded in both iTunes on my computer and on the