Roamin Profiles

  • Thread starter Thread starter Tracy Hoffman
  • Start date Start date
T

Tracy Hoffman

My users are setup with mandatory roaming profile. Its
important that their dektops will contain 2 icons and
nothing else. Whenever they log on to a machine where the
all users desktop contain icons thay are added (not saved)
to his desktop.

How can I prevent this from happenings?
 
Tracy Hoffman said:
My users are setup with mandatory roaming profile. Its
important that their dektops will contain 2 icons and
nothing else. Whenever they log on to a machine where the
all users desktop contain icons thay are added (not saved)
to his desktop.

How can I prevent this from happenings?

AllUsers supplements the current users desktop
(start menus etc.) profile.

If you don't want that, change the All User profiles.

(Or run a script to do that -- Startup script likely so
that it will have enough privelege.)
 
Arethere any scripts out there to do that or will I need
to create my own?

Thanks for your help

Tracy Hoffman
 
What do you want to do? Delete all .lnk files in the All Users\ Desktop
directory?

Here's a script that will do that.

'
' exDeleteMultipleFilesOfSameType.vbs
'
' An example of how to delete multiple files of the same type in a folder.
' Simple script that deletes any files of the type defined in FILE_TYPE in
the
' folder defined in FOLDER_NAME
'
' Paul Williams, msresource.net, February 2005.
'
const FOLDER_NAME="C:\Documents and Settings\All Users\Desktop"
const FILE_TYPE="Shortcut"

set objFso=createObject("scripting.fileSystemObject")

if objFso.folderExists(FOLDER_NAME) then
set folder=objFso.getFolder(FOLDER_NAME)
set files=folder.files
for each file in files
if file.type=FILE_TYPE then
file.delete(true)
end if
next
end if



--

Paul Williams

http://www.msresource.net/
http://forums.msresource.net/

Arethere any scripts out there to do that or will I need
to create my own?

Thanks for your help

Tracy Hoffman
 
Thanks for the VB script. I set it up as a startup script
and it doesn't work. I can run it manually with admin
rights and works fine. Any ideas?

Also, is there any way to remove outlook, recycle bin and
my computer icon as well?

Thanks for your help.

Tracy Hoffman
 
Hmmm...strange that it works interactively...

Off the top of my head I can't think of how to hide the icons you want. I
would assume it's buried in GPO somewhere though...


--

Paul Williams

http://www.msresource.net
http://forums.msresource.net


Thanks for the VB script. I set it up as a startup script
and it doesn't work. I can run it manually with admin
rights and works fine. Any ideas?

Also, is there any way to remove outlook, recycle bin and
my computer icon as well?

Thanks for your help.

Tracy Hoffman
 
Back
Top