After looking more at it, I found a setting was changed during the update. Under Internet Properties/Security/Custom Level/Miscellaneous, the setting for Allow script-initiated Windows without size or position constraints was switched to Disable. After I changed it to Enable, my script was able to be executed ok.