[Bug 52193] New: schtasks.exe:schtasks fails on Windows 7 when missing privileges

WineHQ Bugzilla wine-bugs at winehq.org
Thu Dec 9 05:48:17 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52193

            Bug ID: 52193
           Summary: schtasks.exe:schtasks fails on Windows 7 when missing
                    privileges
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: taskschd
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

schtasks.exe:schtasks fails on Windows 7 when missing privileges:

schtasks.c:190: Test failed: DeleteTask failed: 80070005
schtasks.c:193: Test failed: r = 0
schtasks.c:201: Test failed: r = 1
schtasks.c:204: Test failed: r = 0
schtasks.c:224: Test failed: r = 1

https://test.winehq.org/data/patterns.html#schtasks.exe:schtasks

When running as an administrator but without elevated privileges it looks like
Windows 7 allows creating new tasks, but does not allow deleting the freshly
created task!

This behavior also seems to be specific to Windows 7 since there is no failure
on w8adm and w1064-adm.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list