Search This Blog

Wednesday, 9 March 2011

Userenv Error 1058 - Windows cannot access the file gpt.ini

I had an issue on a Domain Controller where we would get the Userenv error 1058 in the application log everyday, the DC showed no faults, replication was working and it was more of an annoyance that the log was not clean rather than an error to get resolved.

I downloaded the Windows 2003 Support Tools and then checked with a DCDIAG and NETDIAG and both passed correctly and this confirmed my thoughts that the DC was working as normal.

I had a search on this issue and found that the problem can be caused by the Distributed File System cache and that using the dfsutil tool you can clean this up.

I ran the command dfsutil /PurgeMupCache and this cleaned out the cache, I then ran a gpudate /force and then Group Policy processed successfully and the error was gone.

1 comment:

  1. When you try to start a service (say, Windows Update) on your computer, you may receive error 1058. A description will also appear which is shown below: Error 1058: "The service cannot be started, either because it is disabled or because it has no enabled devices associated with it."
    Reregister Windows Update Files
    Uninstall Recent Updates
    Repair Windows Registry
    Verify that the Service is Not Disabled
    Verify Essential Services are Already Started
    Scan System Files

    I also got some help from this site:: error 1058