Hi jabo sup. Welcome.
You can load all users folders to an array with DirList() and then apply permissions with XCACLS, something like this:
Code:
  

$dirname="K:\Users\"
$dirlist = DIRLIST($dirname,1)
For Each $PathTarget In $dirlist
Shell "%COMSPEC% /c XCACLS.EXE "+$PathTarget+" /G "+$UserId+":C /E /T"
Next


Verify XCACLS usage and make a test on a temp directory and sample code. Cannot recall XCACLS use right now.
BTW, arnt you using "$" on K:\Users\bloggsj to hide share?

_________________________
Life is fine.