• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Scripting will not work in Windows 11

Explorer ,
Apr 01, 2023 Apr 01, 2023

Copy link to clipboard

Copied

Hi,

PS v 24.3. Win 11 (not sure of version as I reverted back to Win 10)

I have successfully used some VB scripting for quite a few years now. I recently upgraded my OS from Win 10 to Win 11.

Now the scripts do not work, I reverted back to Win 10 and it's working again.

Is there something I need to do to get it to work? 

Thanks John

TOPICS
Actions and scripting

Views

170

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 01, 2023 Apr 01, 2023

Copy link to clipboard

Copied

Sorry should have expanded, I use PS VB scripting in VB.Net. I have an app that I use to caption and save images in PS.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 02, 2023 Apr 02, 2023

Copy link to clipboard

Copied

Hi,

This is the error message I am getting...

System.InvalidCastException: 'Unable to cast COM object of type 'System.__ComObject' to interface type 'Photoshop.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{5DE90358-4D0B-4FA1-BA3E-C91BBA863F32}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).'

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 02, 2023 Apr 02, 2023

Copy link to clipboard

Copied

Have you done a clean install of windows 11 or an upgrade? If it's an update, try uninstalling and reinstalling Photoshop. It is possible that during the upgrade process the objects required for VB ScriptingSupport to work were not re-registered in the operating system.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 02, 2023 Apr 02, 2023

Copy link to clipboard

Copied

Hi,

@jazz-y Thanks for replying. I Googled the error and I found a video that showed how to fix it. I used the ID from the error message and searched for it in the registry, it could not be found. On one of my WIN 10 PC's I found the entry, I exported it onto a USB and then imported it into the Win 11 registry and it worked.

It was an upgrade, I'm glad you mentioned that it would not have registered in the OS as it gives me confidence it's fixed.

I'm currently upograding back to Win 11 on my new laptop and I will uninstall PS and reinstall it to see if your recommendation works.

I will post the results.

Thanks again for replying, I was beginning to wonder if my post had been seen.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 02, 2023 Apr 02, 2023

Copy link to clipboard

Copied

@jazz-y 

I did as you suggested, uninstalled and reinstalled PS and it worked fine. 🙂

Have many other people had the same problem?

Thanks for your help.

John

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 02, 2023 Apr 02, 2023

Copy link to clipboard

Copied

LATEST

@QPR John, reports of such problems are rare in the community.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines