Script repository
Check if user home folder is empty
The script returns true if home folder of a user is empty.
Updated on: Jan 18, 2026, Views: 1346
Copy folder structure with permissions
The script copies all the items from the source folder to the target folder keeping the permissions.
Updated on: Jan 18, 2026, Views: 7410
Create Remote Desktop Services profile folder
The script creates a Remote Desktop Services profile folder for a user on the file system.
Updated on: Jan 18, 2026, Views: 5207
Create home folder for AD group
The script creates a folder for an AD group and grants the group full access permissions for the folder.
Updated on: Jan 18, 2026, Views: 6932
Delete Remote Desktop Services profile folder
The script deletes the Remote Desktop Services profile of a user.
Updated on: Jan 18, 2026, Views: 4124
Delete/purge user profile folder
The scripts delete or purge a user's profile folder.
Updated on: Jan 18, 2026, Views: 7676
Disallow users to change permissions on their home folders
The script updated the permissions on the user home folder so that they cannot change the permissions.
Updated on: Jan 18, 2026, Views: 3026
Grant full access to user home folder
The scripts grant full access permissions over the home folder of the target user account to specific users.
Updated on: Jan 18, 2026, Views: 8656
Move home folder with locked files
The script moves a user home folder to another location. Unlike the built-in Move home folder action, it does not stop when unable to move a folder or file, and copies it instead. All locked items will be listed in the Execution log.
Updated on: Jan 18, 2026, Views: 2991
Move large home folders
The built-in Move the home directory action can fail on large directories if the operation takes more than 10 minutes to complete. The script works around this issue by creating a separate process to move a home folder.
Updated on: Jan 18, 2026, Views: 3584