Solved

Deploying a Shortcut Via Group Policy

Posted on 2010-09-02
6
703 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
  • 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
How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now