Re: Can't redirect desktop folder



David Trimboli <trimboli@xxxxxxxx> wrote:

I want to redirect all my (visible) profile folders to a server. I have
done this for all them except Desktop. I do this by right-clicking the
folder's icon, clicking Properties, clicking on the Location tab,
entering a location of \\server\share\username\Folder, and clicking
OK. It asks if I want to move everything in the current folder to
the new folder, and I click Yes. Easy, and it works perfectly.

When I do this for the Desktop, it works just fine. But the next time I
log in (whether after a reboot or not), the desktop folder has reverted
back to C:\Users\username\Desktop. Nothing I do will make it stick
to the server. The other redirected folders stay where I put them
and they continue to work normally.

What's going on here? How can I make this work?

I find that the original folder locations can appear again sometimes. The
feature does not work very well, as sometimes programs can
re-create the original locations, if they are redirected by the
legacy junction points.

This isn't sometimes; this is every time. Change the location of the
Desktop folder, log out, log in, and the Desktop folder will have reverted
to its default location. Every time.

There must be /something/ that is making that happen, on your setup. You
could try searching the registry for the default path to see if it comes up
with anything.

The way around this is to make your own junction points once you have
relocated the folders, with the MKLINK /D command. Then use ATTRIB to
make them read-only and hidden.

I don't think you can create a junction to a UNC path, can you? I'm not
redirecting to a different local drive. Can you make junction links to
network drives at all?

Not with junctions, but you can with symbolic links, which are also make
with the MKLINK command.

I still need to go over what happened last night with my script, before I
revert the virtual machine to the snapshot I took beforehand. It must be a
problem with the xcopy/rd commands, as I have been doing the rest for years,
although I cannot remember what the attribs should be, so that the
redirected folders still display in the Users folder.

ss.


.



Relevant Pages

  • RE: FRSDiag v1.7 Tool, some error in AD 2003
    ... structure and junction points are correct. ... Verify that the following shared folders exist in the SYSVOL tree: ... There is a junction point must be linked to the \SYSVOL\domain folder. ... The LINKD command returns the following: ...
    (microsoft.public.windows.server.active_directory)
  • Re: GPOs cannot be saved because files being used by another proce
    ... And creating new junction says: ... that folder from my computer... ... "Paul Bergson" wrote: ... everything inside of sysvol, delete both the junction point and the sysvol ...
    (microsoft.public.windows.server.active_directory)
  • Re: Junction Points and ACL protection - how?
    ... Use NTFS ACLs to protect junction points from inadvertent deletion. ... Settings folder, I don't want to protect, for example, my desktop, so I ... In the Advanced Permissions ... target folder propagate back to the junction point, ...
    (microsoft.public.win2000.file_system)
  • Re: Registry query relating to third-party product
    ... files for translation and exports the translated files. ... Move the files there from the old folder. ... Create a junction that looks like it is the old ... junction to follow it to backup the same files again. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Junction Points and ACL protection - how?
    ... to provide a 'protect Junction Points' feature, which won't allow a simple Explorer delete of a Junction ... Since I've used a junction-point to be able to move my Documents and Settings folder, I don't want to protect, for example, my desktop, so I need to Allow deletes on folders and files contained in the targeted folders. ... I use Advanced permissions and on the target directory I explicitly Deny two items to Everyone: ... and from the Windows Explorer GUI I as an Administrator/Owner Creator cannot delete files or folder in the target folder or in the Junction Point, nor can I delete the Junction Point. ...
    (microsoft.public.win2000.file_system)