Author Topic: Task License Validation  (Read 27362 times)

0 Members and 1 Guest are viewing this topic.

Offline george27

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 5
  • Karma: 0
    • View Profile
Task License Validation
« on: February 15, 2014, 12:45:45 pm »
I restored my registry and when I open the Task Scheduler (Local) in Win 8.1 (this also happen in 7) I get this message

'Task License Validation: The task XML contains a value which is incorrectly formatted or out of range'.

Any idea on how to correct this. This has happened before after restoring the registry on a clean OS installation. I'd like to avoid restoring a Paragon disk image as this is the only way I fixed this in the past. There are no differences in the contents of the task scheduler in the before and after restore.
« Last Edit: February 15, 2014, 12:48:47 pm by george27 »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Task License Validation
« Reply #1 on: February 17, 2014, 11:47:46 am »
I restore the registry on a lot of machines and have never had that error.

What is odd is that error has nothing to do with the registry but instead has to do with the file stored at
C:\Windows\System32\Tasks\Microsoft\Windows\WS

And the file is License Validation. That error is saying that it isnt able to read that file properly.

Edit the file with notepad and you can see the xml text in it. You can compare what you have in it from the one I have on my Windows 8.1 system and see if you notice anything different. Post a copy of the file for me so i can look as well.

Code: [Select]
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Source>$(@%SystemRoot%\system32\wsservice.dll,-122)</Source>
    <Date>2010-10-27T17:18:44.0816608</Date>
    <Author>$(@%SystemRoot%\system32\wsservice.dll,-120)</Author>
    <Description>$(@%SystemRoot%\system32\wsservice.dll,-123)</Description>
    <URI>\Microsoft\Windows\WS\License Validation</URI>
    <SecurityDescriptor>D:P(A;;FA;;;SY)(A;;FA;;;BA)(A;;GRGX;;;SU)(A;;FA;;;S-1-5-80-1227353651-1023108616-160957920-2792958081-1972711695)(A;;FR;;;S-1-5-87-1452649159-2109950929-2856838567-3638795029-1283063528)</SecurityDescriptor>
  </RegistrationInfo>
  <Triggers>
    <TimeTrigger>
      <Repetition>
        <Interval>PT6H</Interval>
        <StopAtDurationEnd>false</StopAtDurationEnd>
      </Repetition>
      <StartBoundary>2014-02-20T16:09:10Z</StartBoundary>
      <Enabled>true</Enabled>
    </TimeTrigger>
  </Triggers>
  <Principals>
    <Principal id="LocalService">
      <UserId>S-1-5-19</UserId>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <AllowHardTerminate>false</AllowHardTerminate>
    <StartWhenAvailable>true</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>true</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <MaintenanceSettings>
      <Period>P1D</Period>
      <Deadline>P2D</Deadline>
      <Exclusive>false</Exclusive>
    </MaintenanceSettings>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
    <RestartOnFailure>
      <Interval>P31D</Interval>
      <Count>255</Count>
    </RestartOnFailure>
  </Settings>
  <Actions Context="LocalService">
    <Exec>
      <Command>rundll32.exe</Command>
      <Arguments>WSClient.dll,WSpTLR licensing</Arguments>
    </Exec>
  </Actions>
</Task>

Shane

Offline george27

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Task License Validation
« Reply #2 on: February 17, 2014, 01:53:53 pm »
Compared in winmerge there seems to be a bit of difference. Ultimately the system runs fine its just a nuisance when opening the scheduler. I reinstall the Paragon disk image I made every half year or so anyway. The reason why I recovered to an earlier date was after the last Win update I lost sounds in programs I installed that use windows sounds such as Imgburn. The problem was Cleanmem which when uninstalled the sounds returned.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Task License Validation
« Reply #3 on: February 17, 2014, 02:05:12 pm »
I run my CleanMem on every machine in my house plus it is installed on over a million computers and never had any problem with sound going out. I have a feeling something else is going on.

Also your task for the License Validation is different and looks like it has been modified. When I open mine in notepad I have 63 rows of text, but yours only has 51.

The error you get is when task scheduler goes through and reads all the tasks it has. License Validation is one of them and so when it goes to read the file you get the error.

Which the License Validation task is used for checking and verifying your Windows 8 key you installed with. How or what modified it I dont know, but I have attached the one from my system since it should be the same for every Windows 8 machine and you can replace yours with it.

The registry backup doesnt touch that file in anyway so why you are seeing it after a restore I dont know unless there is something in your registry currently that has to do with it but wasnt in one of your registry backups.

Shane

Offline george27

  • Newbie
  • *
  • Join Date: Feb 2014
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Task License Validation
« Reply #4 on: February 17, 2014, 02:16:33 pm »
Thank you very much.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Task License Validation
« Reply #5 on: February 17, 2014, 02:21:58 pm »
No problem, I also forgot the screen shot lol

Shane