Synology: Find UserID and GroupID in 5 Seconds

uid and gid (Demo)
Advertisements by Google

Do you remember my article where I explained how to find your NAS user ID (PUID) and group ID (PGID)? In said article, you needed to use some terminal commands to find these values. Many of you have asked me if there is a method to find these values without having to use the terminal. In today’s article I will explain how to discover what are your NAS user ID (PUID) and group ID (PGID) without the need to use the terminal. And it will only take you 5 seconds :-).


Make sure you have enabled Email Notifications in your NAS.


Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the image below.

Find PUID PGID Synology NAS Set up 1


Once you click on User-defined script a new window will open. Follow the instructions below:

Advertisements by Google
  1. General: In the Task field type in “My UID and GID“. Uncheck the “Enabled” option and select your current NAS user from the drop-down menu.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
Find PUID PGID Synology NAS Set up 2

Note: Be careful enter only lowercase, not uppercase letters. id not ID.


After you click OK on STEP 4, select your “My UID and GID” Task then click the “Run” tab. You will be asked to run My UID and GID – click Yes. Follow the instructions in the image below.

Find PUID PGID Synology NAS Set up 3


If you have correctly followed all the steps described above, you will receive an email with the user id and group id values.

PGID PUID Synology email final STEP

Advertisements by Google

Related Posts

Leave a comment

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.
%d bloggers like this: