Windows Logon Script: Creating a specific shortcut on all users desktop?

Punkrulz

Somewhat eXPerienced
Joined
24 Dec 2001
Messages
790
Hey guys,

While I really would like to deploy the actual shortcut using our version of PolicyMaker, I'm having a lot of issues with the group policy on our domain right now; nothing seems to ever work 100%. So in the mean time, I need to come up with a solution on how to get a specific shortcut on peoples' desktops of whom need it.

Can I do this via a logon script, and if so, can someone please help me write it? I don't know anything about scripting, I have not found any adequate resources that would be able to teach me scripting online. Your help is appreciated!

Thanks!
 

kcnychief

??? ??? ?
Political Access
Joined
8 Apr 2005
Messages
16,950
What I would recommend is you create that shortcut somewhere that all users have read-access to. Then, add this line to the login script for those who need it:

COPY MYSHORTCUT.LNK %userprofile%\Desktop

Change the variables accordingly
 

Punkrulz

Somewhat eXPerienced
Joined
24 Dec 2001
Messages
790
What I would recommend is you create that shortcut somewhere that all users have read-access to. Then, add this line to the login script for those who need it:

COPY MYSHORTCUT.LNK %userprofile%\Desktop

Change the variables accordingly

If I was to place the shortcut on our server named "controler", and the shortcut was pointing to here:

\\dc_fin\programs\mcsj\mcsj.exe -s10.0.1.253 -dtestdb

How would I change that, and are you referring to adding it to the main login script? Or creating another?
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,680
Could also add it to the default user profile for future users.
 

kcnychief

??? ??? ?
Political Access
Joined
8 Apr 2005
Messages
16,950
If I was to place the shortcut on our server named "controler", and the shortcut was pointing to here:

\\dc_fin\programs\mcsj\mcsj.exe -s10.0.1.253 -dtestdb

How would I change that, and are you referring to adding it to the main login script? Or creating another?

Create the shortcut first on any machine and verify it works. Then, save that shortcut, then point to the shortcut.

Could also add it to the default user profile for future users.

From what I gather this doesn't go out to everyone, just select people.
 

Members online

No members online now.

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,411
Members
5,590
Latest member
AntonioPR