#TodayILearned: #Microsoft #Windows is terrible at #accessPrivileges.
I've got a #ScheduledTask that runs as a network user. I've done this a million times and I know how to get Windows to accept it.
This time, I need that task to run a #DosBatch script. It runs statements invoking #java and #DOS commands.
One of those is #MOVE. It only works on local disks, including mapped drive letters. It does not speak #UNC.
So I map a drive. I assign privileges to that network user - 1/4
I've got a #ScheduledTask that runs as a network user. I've done this a million times and I know how to get Windows to accept it.
This time, I need that task to run a #DosBatch script. It runs statements invoking #java and #DOS commands.
One of those is #MOVE. It only works on local disks, including mapped drive letters. It does not speak #UNC.
So I map a drive. I assign privileges to that network user - 1/4