Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to script a WebDAV desktop icon using group policy.

Posted on 2007-12-03
3
Medium Priority
?
1,446 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
2 Comments
 
LVL 4

Accepted Solution

by:
majidhajali earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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…

772 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