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


Monday, November 18, 2013

How to find user SID - Command Line

Hi People,

You can simply run this command on Server - 2003 & 2008 R2 editions to get the Users Romaing profile SID.

wmic useraccount where name='username' get sid

Say enter, once type this in command line.

There are couple of other Links related to User profile Issue, as below

http://support.microsoft.com/kb/154599

http://support.microsoft.com/?kbid=947242

http://support.microsoft.com/kb/947215

Thanks for your time
Happy to help

Thursday, September 5, 2013

Citrix Issues ICA listener / session down

Hi People,




We encounter this issue many times, when running on Citrix environments, especially when we do not reboot our Citrix server ever after 14 days, ideally recommended to bounce citrix server once in 14 days.

We have port 1494 – which holds the listener & respond to Citrix gateway & application is pulled from application server, this all can be managed from Citrix Management Console (CMC)

Steps to check & reset down session / ICA listener:-

 Please logon to Citrix server, Can use Citrix website, for reference

 Launch Citrix Management Console

 Check for the alerts raised on CMC

 Browse Application on CMC & select application, which has issue

 Change Display (in The middle Pane) to Session

 At your left hand side, You’ll see several session, Search & locate “down”

 Select “down” & right click perform “reset”

 Once done from CMC, go to Terminal Server Services (tsadmin)

 Select the server local or can connect to the another Citrix server in the farm

 At left hand side, search & locate “down” ICA listener, right click & say reset

 Doing it from Terminal Server is fast & effective

 Have the requestor to test the application, Issue will be resolved



Happy Learning, I thank you for your valuable time

 

route add command in windows server

Hi People,




We come across the situation, where we have to define route on windows servers, defining routes would be (Print / Add / Delete & Change)

Switches: -

 -p (Added the route to windows server registry, without p it will store the route to RAM-based IP routing table, this option without p is used very rarely

 -f (Clears the routing table of all gateway entries)

Route Commands:-



 route print (destination IP address) :- Will print the route of the destination IP address

 route add –p abc mask xyz pqr IF 15 :- Where (abc – IP to be routed, xyz – Subnet mask, pqr – gateway of the windows server, 15 – Interface)

 route delete (destination IP address) :- This will delete the route of the specified destination

 route change :- Changes the route (Please use similar values, as in route add )

 route mask (netmask) :- It specifies the next parameter of the next mask value, If nothing is provided, by default it takes 255.255.255.255)

Ideally Network admins deals with these things, however good to know information for Windows Admin, if they encounter any issues with route



Happy learning, I thank you for your valuable time