Solved

Deploying a Shortcut Via Group Policy

Posted on 2010-09-02
6
709 Views
Last Modified: 2012-05-10
I have a shortcut file (.url) on a server and I want to deploy it to all users. I know this can be done in a script format but I don't know how to go about that.
0
Comment
Question by:btny
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 21

Expert Comment

by:jvuz
ID: 33594403
0
 
LVL 21

Expert Comment

by:jvuz
ID: 33594407
0
 
LVL 23

Expert Comment

by:Admin3k
ID: 33594957
as a follow up on the second link, In your case You should be using %ALLUSERSPROFILE%\Desktop  as a destination for copying instead of %userprofile%\Desktop




0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

Author Comment

by:btny
ID: 33596290
Well I'm a lot closer then I thought:

xcopy "\\server\shared\Create a Ticket.url" "%ALLUSERSPROFILE%\Desktop\" /D /C /R /Y

I keep getting an the error:

Script: C:\Users\btny\Desktop\Script.vbs
Line: 1
Char: 56
Error: Expected end of statement
Code: 800A0401
Source: Microsoft VBScript compilation error

I am using Windows 7 64-bit although I don't think that makes a difference.
0
 
LVL 23

Accepted Solution

by:
Admin3k earned 500 total points
ID: 33596330
Save the Xcopy script as .bat instead of .VBS 
add this line on top 
@echo off


0
 

Author Closing Comment

by:btny
ID: 33596501
THANKS SO MUCH!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question