Archived from groups: microsoft.public.win2000.group_policy (
More info?)
Hi Amanda, I thought about Redirecting the desktop, however many of the users
have specific custom features, software they have installed, things like
this. In which I would not want to poll each user to see how each one has
customized the desktop.
The Important URLs is already being used for all users, and really what I am
interested in is creating the link as a desktop icon.
I have read a few other similar posts that pointed to:
1) Create a shortcut, and then in a login script, copy the file.
2) Create a Logon Script that just creates the shortcut all together.
I like option #2, but here is where I would need some additional help.
I can create a script no problem, I found some code to do so.
HOWEVER, I want to be able to get the user name in the script to determine
if I should create the icon or not. I do something similar with a WshNetwork
in which I get the Workstation Name, and use this as a guide for a Case
statement to install a specific default printer for a user or not, based on
the machine.
In doing so, I want to be able to find out the user name or group and then
execute the script code for creating the icon, rather than just creating the
icon for all users.
Granted the permissions of the location are specific to users, however I do
not want to have to unlock users because they are experimenting with what the
link is...
The code I found was on another post and I have ideas for modifying it...but
how could I put this code in a select statement based on a specific username
or group name?
Thanks.
J
Dim fldr1
fldr1 = "C:\Documents and Settings\All Users\Desktop"
Set WshShell = CreateObject("WScript.Shell")
Set object = WshShell.CreateShortcut(fldr1 & "\Windows Explorer.lnk")
object.TargetPath="%WINDIR%\explorer.scf"
object.WorkingDirectory="%WINDIR%"
object.Save
"Amanda Wang [MSFT]" wrote:
> Hello,
>
> As Simon has stated, redirect desktop will be a good idea. Alternatively,
> you can use another policy is specify the home page for different user
> account.
>
> For example, user1 should have microsoft.com homepage, user2 should have
> msn home page. You can perform the following steps:
>
> 1. Put user1 in one OU1 and located to the
>
> User configuration\windows settings\internet explorer maintenance\URLs
>
> Important URLs
>
> to specify the home page to microsoft.com.
>
> NOTE: You need to right click internet explorer maintenance to choose
> Preference Mode and then see this policy
>
> 2. Put user2 in one OU2 and specify the home page to msn.com
>
> 3. You can refer to the screen shot which is attached here.
>
> HTH. If you have any other questions, please keep in touch with me.
>
> Thanks & Regards
>
> Amanda Wang [MSFT]
>
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
>
> ====================================================================
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> =====================================================================