Error Invalid Variant 604 (0x25C): How to Fix it

This issue usually appears due to a lack of permissions

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

ERROR_INVALID_VARIANT
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

For fixing Windows errors, we recommend Fortect:

Fortect will identify and deploy the correct fix for your Windows errors. Follow the 3 easy steps to get rid of Windows errors:

  • Download Fortect and install it on your PC
  • Launch the tool and Start scanning your PC for Windows errors
  • Right-click on Start Repair to deploy the right fix for each error encountered during the scan
Download Now Fortect has been downloaded by 0 readers this month, rated 4.6 on TrustPilot

ERROR_INVALID_VARIANT often appears as 604 (0x25C) The supplied variant structure contains invalid data message. This issue is usually related to permissions, and in this guide, we’re going to show you how to fix that.

How can I fix ERROR_INVALID_VARIANT?

1. Use PsTools

  1. Firstly, download PsExec software.
  2. Once downloaded, extract the tool on your desktop. We’ll assume it’s located in the Pstools folder.
  3. Press the Windows key + S and type cmd. Select Run as administrator.
    CMD elevated ERROR_NET_OPEN_FAILED
  4. Navigate to the Pstools folder. You should be able to do this with the following command: cd C:\Users\Username\Desktop\Pstools
  5. Use this command to run the desired tool, like this, for example: psexec.exe -i -s %windir%\system32\mmc.exe /s taskschd.msc
  6. Next, you should be able to use TaskScheduler or any other tool that is giving you this error.

Keep in mind that these steps are for Task Scheduler, but if you want to use it for other tools, you’ll need to change the command in Step 5.

2. Use NSudo

  1. Download NSudo software.
  2. Start the software and use it to start cmd as TrustedInstaller.
    nsudo open
  3. Now you can run the desired command, for example, SCHTASKS /Change /TN "Microsoft\Windows\UpdateOrchestrator\Reboot" /DISABLE
  4. Alternatively, you can open Task Scheduler or any other software such as TrustedInstaller or System and the issue should be gone.

ERROR_INVALID_VARIANT appears when you need to have certain privileges to modify certain services or processes.

This issue can appear when using various apps, so while these tools can help you, you’ll need to adjust the commands you’re running accordingly.

We covered similar issues in the past, and you can learn more about them in our ERROR_INVALID_LDT_SIZE and ERROR_INVALID_LDT_OFFSET articles.

More about the topics: error

User forum

0 messages