SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.
Fix: Editing Excel Documents With Powershell as Scheduled Job Fails
Summary: When automating excel tasks with powershell as a scheduled job you might run into issues, as server-side office tasks are not always that easy. But sometimes the fix is very easy.
Date: Around 2019
Refactor: 2 January 2025: Checked links and formatting.
Due to some weird issues with excel or powershell (nobody knows for sure although Microsoft claims it's not supported here ) it seems impossible to edit, create or save Excel documents with powershell when running it as a scheduled job, when set that the user running the task does not have to be logged on. Searching the Internet there is a solution, which worked for me and a lot of other people. You'll have to create some folders depending on if you're running Windows in 32bits or 64bits:
You'll always have to create this folder:
C:\Windows\System32\config\systemprofile\Desktop
And if you're running 64bits you also have to create this folder:
C:\Windows\SysWOW64\config\systemprofile\Desktop
Now it will work.
This wiki has been made possible by:
Fix: Cygwin: Cannot establish any listening sockets
Summary: Fix the Cygwin error 'Cannot establish any listening sockets' by gaining ownership on a locked file on a Windows AD Domain Server.
Date: Around 2019
Refactor: 2 January 2025: Checked links and formatting.
Fix: CTRL + S Freezes Putty
Summary: How to fix the behavior on linux with putty that pressing 'CTRL' + 'S' seems to freeze the box.
Date: Around 2015
Refactor: 9 January 2025: Checked links and formatting.
Whenever I press CTRL+S in putty the terminal seems to freeze. It's actually not, but it doesn't show anything. That is because CTRL+S initiates the XOFF command, which means it accepts keystrokes but doesn't show it. There are two fixes:
Fix: sshd: error: subsystem: cannot stat /usr/libexec/sftp-server
Summary: How to fix the error 'cannot stat /usr/libexec/sftp-server' on a AIX 6.1 box.
Date: Around 2014
Refactor: 9 January 2025: Checked links and formatting.
