In V1 mode, the RegisterChanges fails saying the following:
```
Microsoft.Win32.TaskScheduler.NotV1SupportedException: Folder other than the root (\) was requested on a system only supporting Task Scheduler 1.0.
à Microsoft.Win32.TaskScheduler.TaskService.GetFolder(String folderName)
à Microsoft.Win32.TaskScheduler.Task.RegisterChanges()
```
The task was created using the RootFolder property.
As a workaround I had to write this:
```
task.Folder.RegisterTaskDefinition(task.Name, task.Definition);
```
However a fix would be better :)
Comments: ** Comment from web user: dahall **
```
Microsoft.Win32.TaskScheduler.NotV1SupportedException: Folder other than the root (\) was requested on a system only supporting Task Scheduler 1.0.
à Microsoft.Win32.TaskScheduler.TaskService.GetFolder(String folderName)
à Microsoft.Win32.TaskScheduler.Task.RegisterChanges()
```
The task was created using the RootFolder property.
As a workaround I had to write this:
```
task.Folder.RegisterTaskDefinition(task.Name, task.Definition);
```
However a fix would be better :)
Comments: ** Comment from web user: dahall **
Before your call to RegisterChanges, what is the string value of task.Path? This will help me determine if I missed a condition on the path before assuming it wasn't the root folder.