# How to create local users and groups on Windows using Ruby?

**URL:** <https://www.ruby-forum.com/t/how-to-create-local-users-and-groups-on-windows-using-ruby/65934>\
**Category:** Ruby\
**Created:** [August 22, 2006, 3:04pm UTC](https://www.ruby-forum.com/t/how-to-create-local-users-and-groups-on-windows-using-ruby/65934 "2006-08-22T15:04:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [August 22, 2006, 3:04pm UTC](https://www.ruby-forum.com/t/how-to-create-local-users-and-groups-on-windows-using-ruby/65934/1 "2006-08-22T15:04:15Z")

</div>

How do we create local system users and groups on Windows using Ruby?  
code  
should be portable across different versions of Windows.

Regards,  
Jatinder
