I have a large set of files that have not been checked in.

Is it possible to move the checked out status to another user (not take control myself)?

Or plan b, download the checked out files through a script?

I can get a handle on the checked out items, but I cant see any move ownership method, and when I try to download them the $item.OpenBinary throws a "Exception calling "OpenBinary" with 0 arguments" error.

2 Answers 2


Thanks Kristaps,

I've managed to work around the issue another way For all checked out files, take ownership, check in, change permissions, while impersonating another user get a handle on the web again, then check out as that user.


You could execute PowerShell script as another user - for example, IIS user (commonly known as "App Pool" user). This would execute your code with a level of permissions of that user - all checked out files will be done by this user. This user will be shown as "System account" without any specific information.

If You cannot execute the whole script under that user, then move "elevated code" in other .ps1 file and call out PowerShell under the context of another user (link how to do it).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.