“Access Denied” Errors with TortoiseSVN on Samba

So for some time now I’ve had issues with TortoiseSVN giving me “Access Denied” errors. This mostly happened when I reorganize files, and it was always annoying because it required a nasty workaround – usually, I would have to kill the SVN cache process and clean up my working copy to break write locks.

I finally seem to have found a solution, and apparently it boils down to bugs in Samba. The TortoiseSVN FAQ states:

After upgrading to TortoiseSVN 1.5.x or later, you get a lot of “Access denied” errors for most of the Subversion commands if your working copy is stored on a SAMBA share.

and:

The information we have received suggests that the main problem is fixed in SAMBA 3.2.3. There is a supplementary problem with making files with the svn:needs-lock property read-only. This is reported to be fixed in SAMBA 3.2.6 or 3.3.0.

Now, the issue I was facing was I am running my file shares from a Synology NAS. The cited versions of SAMBA were released a long time ago, and my Synology is, of course, patched to current patch levels.

So I decided to implement the workaround anyway. And lo and behold, it works. After adding:

[global]
delete readonly = yes

To my Synology DiskStation’s smb.conf, I no longer experience the issue.

To edit the file, you need to:

  • Enable SSH on your Synology disk station
  • Log into your Synology disk station with SSH and your admin account
  • Edit the smb.conf file using sudo (“sudo vi /etc/smb/smb.conf”)
  • Restart Samba. (I’ll admit, I couldn’t figure out what command to use for that, and I was impatient, so I simply made changes in the Synology GUI and restarted it that way.)
  • Deactivate SSH again!

It’s been about a month and I have not had a single “Access Denied” error anymore.

Please note that I do not know if there are any security implications in the workaround.

Gnucash: “Install Online Price Retrieval for GnuCash” results in “Access is Denied” error

When I tried to install Stock market price retrieval for Gnucash – via the included script – I was presented with an “msxml3.dll: Access is denied” error.

At first, I thought this was an UAC problem and reinstalled GnuCash outside the Program Files directory, but this did not help.

The solution turned out to be reasonably easy. In “Internet Options”, go to Security -> Custom Level:

Then, scroll down to “Access data across domains” and set it to “Enabled”:

The installation should now work.

Once it completed (it takes quite a while), I reset “Access data across domains” to “Disabled”.

Windows 10 “Type here to search” Search in Taskbar not working

This is going to be a little more unspecific than I usually like my posts, but it took me a while to fix and I didn’t document well. My apologies, I hope this still helps.

I recently had the issue that, when clicking on the “Type here to search” search box in the taskbar of Windows 10, the little window that pops up stayed completely blank. There was a small activity indicator at the top, and eventually it displayed a magnifying glass icon. That’s it.

Microsoft has broken that function in the past, but none of the workarounds – like disabling Bing integration – worked for me. It was also not a problem with the Search service itself, which seemed to be running and functioning just fine. This was clearly something else.

I tried the Windows repair commands, DISM and SFC, but to no avail. The issue would just not come back. I had almost resolved myself to not being able to fix this one without a fresh install, when I got on the right track. In my Event log, I noticed these errors:

Faulting application name: smartscreen.exe, version: 10.0.19041.264, time stamp: 0x36c2907c
Faulting module name: ucrtbase.dll, version: 10.0.19041.423, time stamp: 0xccf6a09c
Exception code: 0xc0000409
Fault offset: 0x000000000007284e
Faulting process id: 0x588
Faulting application start time: 0x01d674e5ef723b48
Faulting application path: C:\Windows\System32\smartscreen.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 5e47b671-8ea4-47d0-b871-9df47f437410
Faulting package full name:
Faulting package-relative application ID:

It turns out that ucrtbase.dll is a “universal c runtime” library, which is installed with the Visual C++ redistributable package. Which, these days, is also installed by Windows itself.

I checked my installed Apps, and found I had not only the Windows SDK – I used some of its debug tools in the past – but about 30 different versions of the Visual C++ redistributable package. I decided this was entirely too many, uninstalled them all, reinstalled the current version.

Yet the problem still remained.

More out a habit of trial and error than anything else, I re-ran the Repair commands. This time, they found – and repaired – about three dozen files. A reboot later, my search box is working perfectly again.

I am not entirely sure if removing all the C++ packages was the thing that really helped, but appears like that’s the case. As always, since I found no real help on Google, I decided to post this. Hopefully it’ll help someone else out there, some day.

Windows 10: Microfreezes in Games

For the past few weeks, I noticed microfreezes or microstutters in games. Gameplay would “halt” for maybe half a second, then resume normally.

This affected multiple games, so I knew it was a problem with my PC. I checked everything I could – deinstalled applications, made sure nothing “weird” ran in the background, checked the logs, and tried to catch one of the freezes with resource monitors. No luck. I also ruled out thermal issues.

In the end, I found the cause by sheer luck: I noticed that every time I had one of those stutters or microfreezes, my desktop wallpaper on my off-hand screen would change. I disabled wallpaper slideshows and lo and behold: No more microfreezes.

Why this feature would cause a problem, I have no idea. It certainly hasn’t been an issue in the past. I am not sure if it’s related to the Windows 10 “May Update” – I think the freezes occurred before I installed that update.

System: AMD Ryzen 3900X, NVIDIA GTX 1080, Windows 10 Professional 64bit. All patches and drivers up-to-date.

Scrivener: Installation freezes up

I was testing the writing software Scrivener (for Windows), and ran into an issue. The installer would just freeze up completely on start. It would run, eat CPU time, and show up in the task list, but ultimately never showed any GUI.

Once it randomly worked, the application Scrivener itself had the same problem.

I then tried the Scrivener 3.0 Beta and it had the exact same issue.

Thanks to assistance from Scrivener’s support team, I was able to identify the cause: I had Wacom drivers dating from 2017 installed, as they were the latest for an old tablet I own. Uninstalling them solved the issue. The drivers for my current Wacom tablet do not interfere with Scrivener.

Hopefully, the Scrivener developers will fix this at some point, but until then: If you try to install or run Scrivener and it doesn’t work at all, make sure you do not have old Wacom drivers installed.

iOS iTunes Remote can’t find iTunes Library

The iTunes Remote software on my iPad worked flawlessly with my Macbook Air, but not with my Windows PC. I finally decided to investigate why, and after much search and trial-and-error, I found a solution.

It turns out that it gets confused by IPv6 on Windows (interestingly the same is not a problem on my MacBook, so I blame Windows). Once I disabled TCP/IPv6, iTunes remote started working.

To do so, open your Network and Sharing Center from the control panel. It looks like this:

Next, click on “Change adapter settings”, on the left-hand sidebar of that screen. You’ll get a new window, like this:

Now, most likely yours will be in English (Netzwerk = Network; LAN Verbindung = LAN Connection – Don’t ask me why my Windows insists on using some German terms) and the name of your network card will probably differ, but you want the LAN Connection that connects to the same network that your iPad or iPhone connects to. This might be a WLAN, and I suspect most people only have one network connected to their PC.

Anyway, right-click on the network card and select “Properties”. You’ll need Administrator rights. A new window pops up:

Simply uncheck the checkbox of the “Internet Protocol Version 6” item. Click OK.

One additional step is required.

Even though windows doesn’t ask you to, I found that I had to restart my PC. After that, my iTunes remote found my iTunes library flawlessly.

I hope this helps. And, no, I don’t know what we can do once TCP/IPv6 becomes indispensable – except for hoping for a fix from Apple and/or Microsoft.

How To Change Primary Display in Windows

A colleague had her Windows task bar on the wrong screen, and wanted to move the task bar to the other monitor. Seems this is a little confusing in Windows. You find the option if you right click on the desktop, then click on screen resolution. You will get this dialog:

First, you must click on the screen you want your windows start bar to appear on (blue arrow). Only then can you select the option “Make this my main display” (red arrow). If you have the wrong screen selected, the line “This is currently your main display” will appear.

Obviously, this is only applicable if you extend your desktop over multiple screens.

Keyboard Shotcut for changing Keyboard Layout in Windows

Because this happened to me several times now: In Windows, it is possible to switch between international keyboard layouts by pressing ALT+SHIFT or CTRL+SHIFT together. Since windows remembers this on a per-application basis, this can be quite confusing.

Simply pressing those shortcuts again cycles through the layouts.