Wednesday, December 3, 2014

How to perform licensing for Windows Server 2008 R2 via KMS server

How to perform licensing for Windows Server 2008 R2 via KMS server



Execute below steps from – Command Prompt, Ensure space
 




slmgr /ipk KEY of your product

slmgr /skms  KMS Server IP 

slmgr /ato

 

How to find the members of Local Groups in Windows Server 2008 R2



Easy way to get the details of your local groups on Windows Server 2003 & 2008 R2

Go to – Command prompt 

Type :- net localgroup “GroupName”

see below :-


 

Monday, March 3, 2014

How to sync server time with Domain Controller

Hello People,

If you wish to synchronize your server time with its respective Domain controller, You can always do it with the help of Command Prompt.

Ideally Windows Time Services does this automatically, however because of any reason If you see that there is a time difference, feel free to run below command on Server using Command Prompt.

To run this command you need to be a part of Domain Admin group on Active Directory

Steps as below :-

  1. Open cmd, right click & say "Run As Administrator"
  2. Type below mentioned command 



You'll be notified with the time and success of this command with its output.

I thank you for your time

Happy learning

Tuesday, February 4, 2014

How to find group membership of a user on Active Directory

Hello People,

If you wish to find the groups, related to any user Active Directory profile, You can of course use GUI and check the groups on ADCU (Active Directory Users & Computers).

However there is another way, using command line tool, you need to be a part of Domain Administrator & logon to Domain Controller to perform & find the results of below command
  1.  Please open CMD - command prompt
  2. Type - dsquery user -samid (userid) | dsget user -memberof
  3. Typing - dsquery user -samid (bhandyal) | dsget user -memberof  >> abc.txt - Will save text file on your root drive.

I've tested this on many of my DCs & found successful results.
Please ensure, that the above command is space sensitive, If not working for you, Please ensure, you are entering correct space.

Thanks

Happy to help