Web Development

Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!



Pushing a shortcut to the domain users

By v47vtk ·
I need to place a shortcut on every domain user's desktop. I have tried a VB script that will work on the local desktop but when I try to apply it through group policy it will not run. I tried to apply it to the desktop parameter but ended up with an active desktop with the URL that was in the shortcut. Any suggestion on how to deploy this shortcut?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Post VB script

by AruJammer In reply to Pushing a shortcut to the ...

If you post the logon script i can take a look at it.

in most cases, the script cant find the file.

Collapse -

This might help with your issue......


Please post back if you have any more problems or questions.
If this info is useful, please mark it helpful. Thanks

Collapse -

VB Script to place Shortcut on Desktop

by v47vtk In reply to This might help with your ...

Here is the script to place the shortcut on the desktop.



Set WshShell = CreateObject("WScript.Shell")
set objFSO = CreateObject("Scripting.FileSystemObject")

strDesktop = WshShell.SpecialFolders("Desktop")

IF Not objFSO.FileExists(strDesktop & "\Maintimizer.lnk") THEN
set oShellLink = WshShell.CreateShortcut(strDesktop & "\Maintimizer.lnk")
oShellLink.TargetPath = "http://intranetca:8081"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "C:\WINDOWS\system32\url.dll"
oShellLink.Description = "Maintimizer"
oShellLink.WorkingDirectory = "http://intranetca:8081"
set oShellLink = NOTHING

Set WshShell = NOTHING

Related Discussions

Related Forums