ClickOnce Framework Error on WinXP
Ahhhhhhh I just love figuring out solutions to problems. The latest problem I’ve had to face at work has been a tough one. We are in the process of imaging tablet PC’s running Windows XP Tablet Edition. In the imaging process we’ve set all the settings and permissions and installed an in-house developed .NET application that was deployed using the ClickOnce framework.
I was tasked with setting up the image and actually running sysprep to create the image so we can pass it off to the desktop team. I kept running into a random error on the limited user account when I tried to run the in-house developed .NET app as shown here. I narrowed it down to ClickOnce not liking something about sysprep so I tried a few different configurations to no avail.
After trying to figure out how to change the Windows SID’s without sysprep, I came across a Microsoft TechNet article that describes how to use a program called NewSID v4.10 to change the SID on a Windows XP installation. After changing the SID using NewSID, I ran into the same issue with the ClickOnce updater application crashing.
After figuring out the actual problem, fixing the dfsvc.exe error was simple. I was able to log in to the machine with the account that has administrator rights, navigate to the “Documents and Settings” and delete the “Local Settings” folder that resides in the folder of the account that has the access problems. (ex: “C:\Documents and Settings\limiteduser\Local Settings”)
After this folder is deleted, simply reboot, login to the restricted account, and restart the application. Please note that it will probably reinstall after this, so if your application has any data stored in the Local Settings folder please make sure you back it up.










