Cant create TFS Work Items, Denied Access to registry key that doesn't exist

前端 未结 1 378
南方客
南方客 2020-12-21 22:39

I created a GIT repository on GitHub, then created a TFS Project with Git scm and Agile process template, then I chose Import Repository and specified the G

相关标签:
1条回答
  • 2020-12-21 23:04

    To edit a Application Hive. Ref: Access Visual Studio 2017's private registry hive

    This key appears to be stored in VS application hive file:

    C:\Users\<user name>\AppData\Local\Microsoft\VisualStudio\15.0_05fc10d7\privateregistry.bin
    

    Start regedit as admin, load the hive file (privateregistry.user.bin) into regedit :

    1. Launch RegEdit.exe
    2. Select the Computer\HKEY_LOCAL_MACHINE node in the left-hand pane
    3. Select the File | Load Hive... menu item, and load the privateregistry.user.bin
    4. When prompted for a key name, just type in something like "VSRegHive"
    5. This will load the data into a VSRegHive under the HKLM node
    6. To fix the problem either create the missing keys or edit existing ones

    7. When finished select the VSRegHive and select File | Unload Hive... , before exiting the RegEdit.exe utility, otherwise VS will fail to start. Keeping the hive loaded in regedit creates some sort of lock that prevents DevEnv.exe from launching.

    0 讨论(0)
提交回复
热议问题