You're going to need a file checked out on the machine that is broken for this to work, but here goes:
- On a client machine that has EPDM installed, open Notepad.
- Go to the file menu, Open, and in the Open file dialog type the path to the desktop.ini file. (E.G.: C:\YourVault\desktop.ini). You'll need to type the path to the desktop.ini file because it's a hidden file.
- Copy the contents of the file and paste it somewhere you'll be able to get to it from the other client.
- On the "broken" client, create a new file and copy and paste the contents from the previous step.
- Open SQL Management Studio, and perfom the following query on your vault;
- SELECT D.Filename ,D.LockViewID ,U.Username FROM Documents D JOIN Users U ON U.UserID = D.UserID WHERE LockViewID IS NOT NULL
- Look for the correct viewid buy cross referencing the user and filename. Copy and paste the correct LockViewID for the broken client into the file created in Step 4.
- Save the file as desktop.ini in the root of your vault folder.
- Open a command prompt, (Start -> Run -> cmd) and cd into the root of your vault folder.
- Type: ATTRIB +s +h +r desktop.ini.
- Close the command prompt and restart the computer.
Hope this helps!
Instead of trying to recreate the desktop.ini file, you're better off re-creating the vault view by cleaning up the registry key created for the vault view.
Delete the key with the name of your vault from the registry in one of the following locations. The key location depends on which option you selected when creating the vault view (Current User Only or All Users) but only one of the locations will contain a key that matches your vault name:
Its most likely going to be in the 2nd location, "HKEY_LOCAL_MACHINE". After you delete this key, you can right-click the vault from the adminstration tool then Create local view should show up. You'll want to move or delete the old vault view folder, which is now "Yellow", if you are going to re-create the vault view in the same location.
Note that this method will not allow one to check in files that are checked out on the client machine, as EPDM believes it's a different computer because the viewid will change.
Thats correct. If you don't have any files checked out on that computer I would just delete the registry key and re-create the vault view. If you do have files checked out you could use the other method or, after re-creating the vault view, you would have to use the admin user account to undo the check out on any files that were still checked out in this vault view prior to deleting the desktop.ini file, which would cause you to lose any changes made after the check out (if any were made). However, once you do the undo check out, you could re-check out the same file and overwrite that file with the file from the old, now "Yellow", vault view folder location.
Yep, recreating the vault view was the easiest (for me) way to go.
- Delete the registry entry (ShellRoot REG_SZ C:\Vaults\xxx_Vault).
- Delete the offending folder in the Vaults directory (xxx_Vault)
- Create a new local Vault View using the View Setup program from the Start Menu.
Worked like a charm. Bear in mind that I had NO checked-out files to deal with. If there WERE checked-out files, I believe the first reply be Lee CS Young would have been the way to go.