PC Review


Reply
Thread Tools Rate Thread

Deploying a simple shortcut

 
 
Dan@exigent.net
Guest
Posts: n/a
 
      3rd Dec 2003
Hi,

I am using win2k with active directory. Hoping someone
can help me out. I think my need is very simple, but my
inexperience with group policies isn't helping.

All I need to do is to deploy an Internet Exlorer
shortcut to a URL (a "favorite") on every user's PC in
some automated fashion. I know this can be done using
AD.

In other words, when the user logs in, the IE shortcut is
installed on their "desktop" Thats it.

I would greatly appreciate any help that can be given.

Dan
If possible, please reply to "(E-Mail Removed)"
 
Reply With Quote
 
 
 
 
NIC Student
Guest
Posts: n/a
 
      3rd Dec 2003
Hi Dan,

You can deploy shortcuts by using scripts. First create the script (I use
vbs, see example below), then I usually put the script in the netlogon share
so it gets synched with all your DCs, then create a new GPO.

The GPO is Computer policies>Admin Templates>System>Run these programs at
user logon. Win XP adms use Computer policies>Admin
Templates>System>Logon>Run these programs at user logon. Specify the
correct unc (\\domain\netlogon\IEshortcut.vbs).

' This script sets a shortcut on the desktop to a web site

on error resume next

Set Shell = CreateObject("WScript.Shell")
DesktopPath = Shell.SpecialFolders("Desktop")

'here is the shortcut's name
Set link = Shell.CreateShortcut(DesktopPath & "\MyWebSite.lnk")
link.Arguments = "1 2 3"
link.Description = "My Web Site"
link.HotKey = "CTRL+ALT+SHIFT+X"

'use the following if you need an icon
'link.IconLocation = "\\server\share\app.exe,0"

link.TargetPath = "http:\\www.labordaygang.com"
link.WindowStyle = 3

'use the following if it is an exe and you need a working directory
'link.WorkingDirectory = "\\cvhs-lh4\Lib-Apps-lh4\DISCOVER"
link.Save

--
Scott Baldridge
Windows Server MVP, MCSE


> Hi,
>
> I am using win2k with active directory. Hoping someone
> can help me out. I think my need is very simple, but my
> inexperience with group policies isn't helping.
>
> All I need to do is to deploy an Internet Exlorer
> shortcut to a URL (a "favorite") on every user's PC in
> some automated fashion. I know this can be done using
> AD.
>
> In other words, when the user logs in, the IE shortcut is
> installed on their "desktop" Thats it.
>
> I would greatly appreciate any help that can be given.
>
> Dan
> If possible, please reply to "(E-Mail Removed)"



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop shortcut when deploying bede Microsoft Dot NET Framework 3 20th Aug 2007 12:00 PM
deploying secured database shortcut =?Utf-8?B?SmFrZQ==?= Microsoft Access Security 1 6th Aug 2006 05:28 AM
Deploying a simple app. =?Utf-8?B?QW50?= Microsoft Dot NET 4 10th Feb 2006 04:53 PM
Deploying a simple application ReidarT Microsoft VB .NET 7 7th Dec 2004 10:31 PM
Simple Q on deploying an app Simon Harvey Microsoft ASP .NET 2 15th Feb 2004 04:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:28 AM.