I'm getting the following error in both WinPE 4.0 x64 and WinPE 4.0 x86 (with the versions of SetResolution for each).
Line 9286 (File "SetResolution.exe"):
Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.
This only happens in WinPE 4.0. WinPE 3.x worked just fine with this. I read above that you don't really need this for setting resolution in WinPE 4.0, but I love the extra features and keyboard shortcuts that this provides.