Solved

How to script a WebDAV desktop icon using group policy.

Posted on 2007-12-03
3
1,434 Views
Last Modified: 2013-12-06
I am currently using a Windows Server 2003 group policy environment that can assign scripts to certain users. For some users, I deploy icons to their desktop using a script that looks very similar to this:

----------

@echo off
TITLE Company Title Script

echo **********************************
echo ***  Company Title Script  ***
echo **********************************

copy "\\ipaddress\netlogon\desktopicon.ico" "%userprofile%\desktopicon.ico" /y
SET KTICON="%USERPROFILE%\Desktop\Website.url"
ECHO [InternetShortcut] >> %KTICON%
ECHO URL=http://websiteipaddress >> %KTICON%
ECHO IconFile="%userprofile%\desktopicon.ico" >> %KTICON%
ECHO IconIndex=0 >> %KTICON%
:END

----------

I am now trying to deploy a script (like this if possible) that contains a url to a webdav page. Webdav is the only protocol i can use as the document management system I installed uses it for Windows Explorer-style folder access. I can manually create the icon on everyone's desktop using the process Go to My Network Places --> New Network Place --> Network Folder, but that creates an administrative task for future deployments, and the amount of users we could potentially have would make it a little annoying.

Does anyone have any ideas how to deploy a desktop webdav icon?
0
Comment
Question by:lbeg
3 Comments
 
LVL 4

Accepted Solution

by:
majidhajali earned 500 total points
ID: 20533105
simply save the script as batch file (with .bat extension) and put it in scripts folder on your domain controller, which is shared. then in logon scripts for users, enter for example (webdav.bat). this script run every time users login to domain.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20729367
Forced accept.

Computer101
EE Admin
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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

10 Experts available now in Live!

Get 1:1 Help Now