My badges
MCP Login
OneDrive – Public Folder
Sections
Be-Safe
- Analyze suspicious files to detect types of malware… Analyze suspicious files and URLs to detect types of malware including viruses, worms, and trojans. 0
- Check if you have an account that has been compromised in a data breach 0
- Create Free SSL Certificate 0
- Is someone spying on you? 0
- SSL Server Test of Your Web Site 0
Archives
Login
Archiv rubriky: Active Directory
How to tell if lastLogontimeStamp is in sync
1. Using repadmin to check the value of lastLogontimeStamp on all DC’s in a domain for one user: repadmin /showattr * (or put name of DC server) /attrs:lastLogontimeStamp Example: repadmin /showattr * CN=user1,OU=accounting,DC=domain,dc=com /attrs:lastLogontimeStamp 2. Using repadmin to dump the … Celý příspěvek
Rubriky: Active Directory
Komentáře nejsou povolené u textu s názvem How to tell if lastLogontimeStamp is in sync
How get version of domain schema and also how get current version of Forest and Domain Functional Level
HOW GET VERSION OF FOREST SCHEMA (adprep /forestprep) dsquery * cn=schema,cn=configuration,dc=domainname,dc=local -scope base -attr objectVersion repadmin /showattr * cn=schema,cn=configuration,dc=lab,dc=fujitsu,dc=local /atts:ObjectVersion POWERSHELL : Get-ADObject (get-adrootdse).schemaNamingContext -Property objectVersion 13 – server 2000 30 – server 2003 31 – server 2003 r2 44 … Celý příspěvek
Rubriky: Active Directory
Komentáře nejsou povolené u textu s názvem How get version of domain schema and also how get current version of Forest and Domain Functional Level
List all users in domain who has set password never expired
wmic UserAccount where PasswordExpires=False get Name greate command
Rubriky: Active Directory, MIcrosoft Windows (client/server)
Komentáře nejsou povolené u textu s názvem List all users in domain who has set password never expired
Compare LastLogontimeStamp on objects between DC
repadmin /showattr * CN=user,OU=xx,DC=domain,dc=com /attrs:lastLogontimeStamp for next commands use command repadmin /? 🙂
Rubriky: Active Directory
Komentáře nejsou povolené u textu s názvem Compare LastLogontimeStamp on objects between DC
Add user to domain group from file
we need create name.txt file include CN of users for -f „delims=,tokens=*“ %G in (name.txt) do @dsmod group „CN=,OU=,DC=,DC=“ -addmbr „CN=%G,OU=,DC=,DC=“
Rubriky: Active Directory
Komentáře nejsou povolené u textu s názvem Add user to domain group from file