Groups in windows is a compilation and collection of user accounts. All members of a group can be assigned rights…