2024-10-01, 10:58 PM
Please move to another folder if more appropriate.
While processing the TS files i was trying to decide what to do with the original file and decided I would like them in
the Recycle Bin where they can stay until it is full and then disappear. I did the below on a Windows 11 PC.
1. Create a new local Windows user. I was able to make this work without it having admin privileges.
2. Log into that new acct and set the size of the recycle bin for the drive with the recordings.
Note that it is specific for that user and you will not see the file in the Recycle Bin from a different acct.
3. Install this module in PowerShell (one time) Install-Module -Name Recycle
Add line in your batch file where needed:
powershell -executionpolicy bypass "Remove-ItemSafely -path '%~dpn1.ts' "
4. Update the NextPVR service to run under the new acct and restart the service.
It seems to work fine with the acct not having admin.
While processing the TS files i was trying to decide what to do with the original file and decided I would like them in
the Recycle Bin where they can stay until it is full and then disappear. I did the below on a Windows 11 PC.
1. Create a new local Windows user. I was able to make this work without it having admin privileges.
2. Log into that new acct and set the size of the recycle bin for the drive with the recordings.
Note that it is specific for that user and you will not see the file in the Recycle Bin from a different acct.
3. Install this module in PowerShell (one time) Install-Module -Name Recycle
Add line in your batch file where needed:
powershell -executionpolicy bypass "Remove-ItemSafely -path '%~dpn1.ts' "
4. Update the NextPVR service to run under the new acct and restart the service.
It seems to work fine with the acct not having admin.