Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Network only *half* working?!

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Networking
Register FAQ Community Calendar

SBS2003 push shortcuts to users
Reply
 
Thread Tools
Old 28-06-2008, 17:12   #1
Dai
Inactive
 
Join Date: Dec 2006
Location: Lincoln UK
Age: 76
Services: 50Mb, TV & Phone
Posts: 3,673
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Send a message via MSN to Dai
SBS2003 push shortcuts to users

Our users all need common desktop shortcuts to company shared files and folders on the server. How best can I set up the server to push these out automatically (if not exist)?
I'm thinking some sort of logon script perhaps. Is that the best way do accomplish this?
Dai is offline   Reply With Quote
Advertisement
Old 28-06-2008, 18:05   #2
Jon T
cf.mega poster
 
Join Date: Jun 2003
Location: Mansfield, Notts
Age: 45
Services: Virgin Media Telephone and 100Mb broadband, Sky Q
Posts: 1,994
Jon T has reached the bronze age
Jon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze age
Re: SBS2003 push shortcuts to users

A windows shortcut is just a .lnk file. So, create the shortut on the server, make sure it's in a shared folder, or make the shortcut on a workstation and then copy it back to the shared folder on the server.

If you have problems finding the name of the shortcut, drop to dos, and do a dir on the directory with the shortcut in it, and then look for the file with a .lnk extension.

Let's say the shortcut you've got is called shortcut.lnk, it's in the NETLOGON folder, and your server is called server, you'd put this in your logon script:

Code:
IF NOT EXIST "c:\documents and settings\all users\desktop\shortcut.lnk" COPY \\Server\Netlogon\shortcut.lnk "c:\documents and settings\all users\desktop\shortcut.lnk"
Jon T is offline   Reply With Quote
Old 28-06-2008, 19:51   #3
Dai
Inactive
 
Join Date: Dec 2006
Location: Lincoln UK
Age: 76
Services: 50Mb, TV & Phone
Posts: 3,673
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Send a message via MSN to Dai
Re: SBS2003 push shortcuts to users

Thanks Jon. I think I understand all of that.
Dai is offline   Reply With Quote
Old 28-06-2008, 20:22   #4
greencreeper
Inactive
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 48
Services: Email me for a current price list
Posts: 8,270
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
Re: SBS2003 push shortcuts to users

Jon's solution is the one I would go with, but I wouldn't put the files in the netlogon share - would put them in a separate share, possibly hidden ($) and read-only. There are other things, such as mandatory profiles, but such things have more potential to come back and haunt you. Logon script is neater.
greencreeper is offline   Reply With Quote
Old 29-06-2008, 06:51   #5
Dai
Inactive
 
Join Date: Dec 2006
Location: Lincoln UK
Age: 76
Services: 50Mb, TV & Phone
Posts: 3,673
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Send a message via MSN to Dai
Re: SBS2003 push shortcuts to users

Quote:
Originally Posted by greencreeper View Post
Jon's solution is the one I would go with, but I wouldn't put the files in the netlogon share - would put them in a separate share, possibly hidden ($) and read-only. There are other things, such as mandatory profiles, but such things have more potential to come back and haunt you. Logon script is neater.
Cheers. The 'other things' sound interesting but at the moment I'm struggling up a rather steep learning curve. I'll keep it as simple as I can initially to get the client up and running, then play with more complex options later as my understanding catches up.
Dai is offline   Reply With Quote
Old 29-06-2008, 20:36   #6
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 61
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: SBS2003 push shortcuts to users

smallbizserver.net An excellent resource site for all things SBS.
MovedGoalPosts is offline   Reply With Quote
Old 30-06-2008, 11:41   #7
Dai
Inactive
 
Join Date: Dec 2006
Location: Lincoln UK
Age: 76
Services: 50Mb, TV & Phone
Posts: 3,673
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Send a message via MSN to Dai
Re: SBS2003 push shortcuts to users

Quote:
Originally Posted by Rob View Post
smallbizserver.net An excellent resource site for all things SBS.
Indeed it is. Bookmarked for much future attention.

Thankee kindly.
Dai is offline   Reply With Quote
Old 04-07-2008, 23:04   #8
Steve-o||[^]
Inactive
 
Join Date: Mar 2007
Location: The unserviceable side of an otherwise serviceable street; Greenock, Scotland
Age: 37
Services: Uber-limited HSDPA/HSUPA @ just-about-1Mbit/s-downstream.
Posts: 85
Steve-o||[^] is on a distinguished roadSteve-o||[^] is on a distinguished road
Re: SBS2003 push shortcuts to users

/votes CreateShortcut() via logon script

Code:
//-- straight copy-paste from my script repo..
<job>
<script language="JScript">

// roll the dice!
var ws		= WScript.CreateObject("WScript.Shell");
var desktop	= ws.SpecialFolders("Desktop");

// shortcut details
var server	= "blue";
var share	= "public\\netinst";	//- escape backslashes -- \ = \\
var label	= "Public Network Installations";

// create the shortcut!
var scut			= ws.CreateShortcut(desktop + "\\"+ label +".lnk");
scut.TargetPath		= "\\\\"+ server +"\\"+ share;
scut.IconLocation	= "%SYSTEMROOT%\\system32\\shell32.dll,85";	//- Network share icon
scut.Save()

</script>
</job>

http://msdn.microsoft.com/en-us/libr...ys(VS.85).aspx
Steve-o||[^] is offline   Reply With Quote
Old 05-07-2008, 10:46   #9
Jon T
cf.mega poster
 
Join Date: Jun 2003
Location: Mansfield, Notts
Age: 45
Services: Virgin Media Telephone and 100Mb broadband, Sky Q
Posts: 1,994
Jon T has reached the bronze age
Jon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze age
Re: SBS2003 push shortcuts to users

Quote:
Originally Posted by Steve-o||[^] View Post
/votes CreateShortcut() via logon script

Code:
//-- straight copy-paste from my script repo..
<job>
<script language="JScript">

// roll the dice!
var ws		= WScript.CreateObject("WScript.Shell");
var desktop	= ws.SpecialFolders("Desktop");

// shortcut details
var server	= "blue";
var share	= "public\\netinst";	//- escape backslashes -- \ = \\
var label	= "Public Network Installations";

// create the shortcut!
var scut			= ws.CreateShortcut(desktop + "\\"+ label +".lnk");
scut.TargetPath		= "\\\\"+ server +"\\"+ share;
scut.IconLocation	= "%SYSTEMROOT%\\system32\\shell32.dll,85";	//- Network share icon
scut.Save()

</script>
</job>

http://msdn.microsoft.com/en-us/libr...ys(VS.85).aspx
Yes, there are many ways of achieving this, another way would be to package the shortcut into an .msi and deploy through group policy, but at the end of the day, why bother when you can do it all with one line in a logon script.
Jon T is offline   Reply With Quote
Old 11-07-2008, 13:40   #10
Steve-o||[^]
Inactive
 
Join Date: Mar 2007
Location: The unserviceable side of an otherwise serviceable street; Greenock, Scotland
Age: 37
Services: Uber-limited HSDPA/HSUPA @ just-about-1Mbit/s-downstream.
Posts: 85
Steve-o||[^] is on a distinguished roadSteve-o||[^] is on a distinguished road
Re: SBS2003 push shortcuts to users

Quote:
Originally Posted by Jon T View Post
Yes, there are many ways of achieving this, another way would be to package the shortcut into an .msi and deploy through group policy, but at the end of the day, why bother when you can do it all with one line in a logon script.
True, but the 'copy .lnk from network share to local system' needs you to setup the shortcut - and if you have *a lot* of them, could get messy. Whereas with the 100%-script option, you could write up a common function, include it, and pass in the specific details - giving you only one extra file rather than one extra for every shortcut.

Also, you might not want to have a shortcut on every user's desktop (of course, you've locked the share down anyways), but why clutter their desktop unnecessarily?


Personal preference really, like all, or at least many, IT problems there's no single way to do something
Steve-o||[^] is offline   Reply With Quote
Old 11-07-2008, 13:49   #11
Jon T
cf.mega poster
 
Join Date: Jun 2003
Location: Mansfield, Notts
Age: 45
Services: Virgin Media Telephone and 100Mb broadband, Sky Q
Posts: 1,994
Jon T has reached the bronze age
Jon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze ageJon T has reached the bronze age
Re: SBS2003 push shortcuts to users

Quote:
Originally Posted by Steve-o||[^] View Post
Personal preference really, like all, or at least many, IT problems there's no single way to do something

Absolutely,

Speaking from my direct experience, I work at a local authority with 700 pcs. We package up shortcuts into .msi's and deploy via group policy by either PC group membership or OU GPO links. Much more manageable, plus if a PC moves department(or is moved to another OU in AD) the OU related shortcut is removed.
Jon T is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump


All times are GMT +1. The time now is 06:58.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum