Skip to main content

List all Users and Groups in Domain


   There are many tools and utilities designed to do so, but none are native W2K GUI. There are no graphical or command line utilities that produce comprehensive reports on groups, users and permissions included with the Windows Operating System or the Resource Kit. The NET commands and the Windows Resource Kit ADDUSERS.EXE and PERMS.EXE utilities can be used to create limited administrative reports by piping the output to a text file.
Limited report generation is possible through the following commands:
Note: Removal of the /domain switch will generate a report for the local machine.



NET USERS /DOMAIN >USERS.TXT   


This command will return the user accounts from the Primary Domain Controller (PDC) of the current domain, and write them to a file called USER.TXT




NET ACCOUNTS /DOMAIN >ACCOUNTS.TXT 


This command will return the account policy information from the PDC of the current domain, and write it to a file called ACCOUNTS.TXT


NET CONFIG SERVER >SERVER.TXT 


This command will return the server name, version of Windows, active network adapter information/MAC address, Server hidden status, Maximum Logged On Users, Maximum open files per session, Idle session time, and assign it to a file called SERVER.TXT


NET CONFIG WORKSTATION >WKST.TXT 


This command will return the workstation name, user name, version of Windows, network adapter, network adapter information/MAC address, Logon domain, COM Open Timeout, COM Send Count, COM Send Timout, and write it to a file called WKST.TXT.


NET GROUP /DOMAIN >DGRP.TXT 


This command will return the global groups on the PDC of the current domain, and write them to a file called GRP.TXT.


NET LOCALGROUP >LGRP.TXT 


This command will return the local groups on the local machine, and write them to a file call LGRP.TXT.


NET VIEW /DOMAIN:DOMAINNAME >VIEW.TXT 


This command will return the resources in the specified domain, and write them to a file called VIEW.TXT.

Comments

Popular posts from this blog

Installing Nagios 4 on Ubuntu 14 04 LTS

AWS Certification Q&A

The AWS Certified Solutions Architect – Associate Level exam is intended for individuals with experience designing distributed applications and systems on the AWS platform. I am listing many sample certification questions and answers while will help to face the certification successfully Keep in mind that the answers for each question might change due to the advancement of AWS and please try to find the answer in more logical manner Answers are below of the page Sample Questions for Amazon Web Services Associate Solutions Architect Certification What does Amazon S3 stand for? A Simple Storage Solution. B Storage Storage Storage (triple redundancy Storage). C Storage Server Solution. D Simple Storage Service. You must assign each server to at least _____ security group A 3 B 2 C 4 D 1 - Before I delete an EBS volume, what can I do if I want to recreate the volume later? A Create a copy of the EBS volume (not a snapshot) B Store a snapshot of the volume C Downlo...