##Make Sure to the following commands on AD and Run as administrator
##How to query inactive computers in AD And increase the View limit
open CMD then
dsquery computer -inactive 8 -limit 400"
### How to disable the inactive computers
OPen CMD then
"dsquery computer -inactive 8 -limit 400| dsmod computer -disabled yes"
###If you need to target a specific OU, simply place DN of the OU after the computer:
"dsquery computer "OU=Build,DC=Domain,DC=com" -inactive 8 | dsmod computer -disabled yes"
dsmove "cn=computer
**************************
To find out detailed information about a user account: net user username
C:\>net user etbain
********************
###To find out where (which OU) a user account resides in ADS:
dsquery user -samid username
*******************************
##to get the list of users who hasnt been active for the last 16 week
dsquery user -inactive 16 | dsget user -dn
****************************************************
## how to know on whcih DC the users has been authenticated
From Command prompt
ECHO %LOGONSERVER%
##How to query inactive computers in AD And increase the View limit
open CMD then
dsquery computer -inactive 8 -limit 400"
### How to disable the inactive computers
OPen CMD then
"dsquery computer -inactive 8 -limit 400| dsmod computer -disabled yes"
###If you need to target a specific OU, simply place DN of the OU after the computer:
"dsquery computer "OU=Build,DC=Domain,DC=com" -inactive 8 | dsmod computer -disabled yes"
dsmove "cn=computer
**************************
To find out detailed information about a user account: net user username
C:\>net user etbain
********************
###To find out where (which OU) a user account resides in ADS:
dsquery user -samid username
*******************************
##to get the list of users who hasnt been active for the last 16 week
dsquery user -inactive 16 | dsget user -dn
****************************************************
## how to know on whcih DC the users has been authenticated
From Command prompt
ECHO %LOGONSERVER%
37 comments:
Hi friends,
Active Directory is a structure used on computers and servers running the Microsoft Windows operating system. Thanks for sharing it......
Thanks for this Info but i always run it from AD causeo i log in to the DC with my Domain Admin Account any way you can run it from both DC and PC but make sure to have the right permissions
http://www.purchaselevitranorx.com/#6karimzaki.blogspot.com - buy viagra [url=http://www.purchaselevitranorx.com/#4karimzaki.blogspot.com]levitra online[/url] levitra
levitra
viagra online without prescription viagra overnight - buy viagra online from usa
tramadol without prescription tramadol no prescription needed - tramadol withdrawal breathing
soma online buy soma louisiana - soma carisoprodol no prescription
buy soma soma neighborhood san francisco - buy soma online with paypal
soma 350 mg soma online discount code - soma drug 250 mg
buy soma online soma medication - medication soma compound
soma 350 mg salzarex generic soma - soma medication pain
tramadol overnight shipping tramadol withdrawal peak - tramadol for dogs addictive
buy tramadol online tramadol withdrawal symptoms - buy tramadol hong kong
buy cialis online cialis 0.25 - cialis 100mg pills
tramadol online cod buy tramadol in florida - no prescription tramadol overnight delivery
buy tramadol online tramadol 93 58 information - tramadol tablets
generic xanax safe to order xanax online - is xanax good for opiate withdrawal
xanax mg generic name for xanax - xanax drug pictures
xanax 1mg xanax side effects on liver - xanax side effects yahoo answers
xanax for anxiety images for generic xanax - buy xanax 2mg bars online
buy carisoprodol carisoprodol vs soma - carisoprodol 350 mg web md
tramadol buy buy tramadol sr 100 mg - tramadol withdrawal long
cialis online cheap cialis in australia - cialis coupon lilly
2mg klonopin can klonopin overdose kill you - klonopin forum
buy klonopin online klonopin vicodin side effects - social anxiety cure klonopin
buy tramadol online addiction to tramadol symptoms - tramadol no prescription mastercard
learn how to buy tramdadol ultram for dogs dosage - tramadol buying online legal
http://buytramadolonlinecool.com/#56411 tramadol make you high - tramadol hcl 50 mg narcotic
my webpage: web site
My page website
Here is my blog post: webpage
My weblog - web page
Feel free to visit my webpage :: site
Yοur own aгticle fеatuгes confіrmеd helpful
to myѕelf. It’ѕ quіte helpful anԁ уou're clearly very educated in this region. You have got opened my face to be able to varying thoughts about this topic using intriguing and strong content.
Visit my web-site :: buy ambien
Hi, the whole thing is going sound here and ofcourse every one is sharing facts,
that's actually good, keep up writing.
Also visit my web blog ... northernbrethren.com
I am now not certain where you're getting your information, but great topic. I must spend some time learning more or working out more. Thank you for magnificent information I was in search of this info for my mission.
Look into my web blog :: http://stevenfeifke.com/
First of all I want to say great blog! I had a quick
question that I'd like to ask if you do not mind. I was interested to find out how you center yourself and clear your head prior to writing. I have had a difficult time clearing my mind in getting my ideas out. I do enjoy writing but it just seems like the first 10 to 15 minutes are generally lost just trying to figure out how to begin. Any ideas or tips? Kudos!
Feel free to visit my web blog ... pvr digital recorder
Web link Building is a crucial step in the entire SEO procedure.
Of program, it wouldn't harm if your website has the most effective material worldwide. You can likewise enhance your articles by doing key phrase research. You can easily likewise see to it that your titles have the correct tags. Ultimately, however, it is the top quality of your backlinks which will eventually determine if your website does well or falls short.
Visit this blog for more Free Article Rewriter Software.
Post a Comment