Solved

Deploying a Shortcut Via Group Policy

Posted on 2010-09-02
6
706 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2008 Server C Drive too full 25 71
Java: How do I open the default windows program for a given file type 3 28
robocopy 33 80
Problem to file 13 39
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…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

776 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