Jump to content

Recommended Posts

Posted

When a new user logs into the system for the first time, as their roaming profile is generated a "My pictures" and "my Music" folder is created and plonked into their home directory (my documents).

 

Is there any way to prevent the generation of these two files when the users profile is created?

 

I have tried un-registereing the mydocs.dll on the workstations, but this does not seem to work. I have also added the two files to the exclusions list in gpo and Ranger, to no avail.

 

 

Anyone know how to stop these pesky files being created?

Posted

It is all to do with a system we have been forced to create. The idea is... these users are "exam" accounts.

 

When a user logs in, they can use the My docs as a temporary work area for the duration of their session. When they log off a script copies all of the files in that folder to a secure storage area and then deletes them from that "exam user".....

 

This works perfectly, however the my pictures/my music can not be deleted by a normal log off script.... so are causing us some issues... Its not just a case of ignoring them... if a student has put work in there we need to take that into consideration as well...

 

Hence, being able to remove these two folders perminantly would be the ideal solution...

Posted
It sounds to me like these user accounts get used by different people each session? You could try to hide the my pics and my vids, and deny the user access? Might cause log on issues though.
Posted
When a new user logs into the system for the first time, as their roaming profile is generated a "My pictures" and "my Music" folder is created and plonked into their home directory (my documents).

 

Is there any way to prevent the generation of these two files when the users profile is created?

 

I have tried un-registereing the mydocs.dll on the workstations, but this does not seem to work. I have also added the two files to the exclusions list in gpo and Ranger, to no avail.

 

 

Anyone know how to stop these pesky files being created?

 

Hi

 

It sounds like your account management method (Ranger Account Manager possibly) is set to create the use rprofiles in the users home directory. This can easily be changed using Ranger or whatever you use. The default setting in Ranger creates it there for sure but only because when installed it would not know about an alternative and does not create unnecessary shares by default.

 

So why don't you redirect their roaming progfile to an alternative location on the server e.g. \\server\userprofiles$\username then it would not show up in their home folder location which is possibly what is causing you this irritation.

 

If you need more detail on this please revert.

 

Rgds

  • 5 months later...
Posted

Hi

With XP clients either using a roaming profile to an alternate location on the server or a mandatory profile would resolve this. Windows 7 is another issue!

 

Regards.

Posted

I Managed to sort it with this in the logon script:

 

del "\\SERVERNAME\LearnersHomes$\%username%\My Pictures\Sample Pictures.lnk" /s /q

del "\\SERVERNAME\LearnersHomes$\%username%\My Music\Sample Music.lnk" /s /q

del "\\SERVERNAME\LearnersHomes$\%username%\My Pictures.lnk" /s /q

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...