Solved

How to script a WebDAV desktop icon using group policy.

Posted on 2007-12-03
3
1,432 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

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

12 Experts available now in Live!

Get 1:1 Help Now