I have an automation function which when kicked off from the command line with Administrator permissions - works when it calls webpicmdline.exe When I call it from a Service that has permission of the local system account I get two artifacts. 1) The calls fail
with an error "Error opening installation log file. Verify that the specified log file location exists and is writable." as it tries to get to "C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\Web Platform Installer\logs\install\\ 2) IF I use
the /Log: argument with either just a filename, a path, or a full path to a filename - the argument is ignored (and I get the same failure). Using the same call with the same /Log argument using the command line as referenced above works. The SYSTEM builtin
has full control over the directory path and subfolders. I have UAC off. If I give the service the Administrator using its username and password everything works. Help. :-)
↧