Create shortcut on workstation using group policy

In my case, I had a shared folder on the server and I wanted to create a shortcut to a client machine that will point to shared folder on the server.

I have done the following:

  1. I created a shortcut in shared folder  that we will serve as a distribution point for client
  2. In shortcut I point to the location of my shared folder that i won’t client to open  
  3. I made a GPO with a logon script  .bat that executes the following

copy /y "\\den-dc1 \clientshare\shortcutName.url" "%USERPROFILE%\Desktop\" 

dpejic has written 85 articles

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>