I have logged on to a windows server 2012 R2 machine with local admin account. I was trying to save a file on the hard drive but it says that I do not have permission to save file on the disk. I have checked the permission on the had drive, where administrators has full control on the drive. Please help on the issue
It sounds like you have the rights, but the script is being run by a different user than local admin. Check the script to see who it is run by in task scheduler.