lianne143
asked on
Copying a shortcut file to the users desktop in XP
Hi
I have a .hml shortcut which was sent by a survey department.I downloaded the html shortcut.When i open it directly opens a webpage with the user name and password already entered.I have to say ok to logs into the website.
We use window 2008 DC and I want this shortcut be placed on all the XP PC users desktop.We use VB script when the user logs in. Is it possible add a script so that shortcut is copied to the users desktop.
Or if you have any other better way of doing this please suggest.
Thanks
I have a .hml shortcut which was sent by a survey department.I downloaded the html shortcut.When i open it directly opens a webpage with the user name and password already entered.I have to say ok to logs into the website.
We use window 2008 DC and I want this shortcut be placed on all the XP PC users desktop.We use VB script when the user logs in. Is it possible add a script so that shortcut is copied to the users desktop.
Or if you have any other better way of doing this please suggest.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Now when I run the .vbs locally on client PC as a user,the file gets copied successfully to the user desktop.
But when I add this line to the existing user logon script
xcopy "\\AppServer\Shared\WebLin k.html" "%userprofile%\Desktop"
and when the user logs on I get a pop up window , which says:
Windows Script host
Script: \\Server1\netlogon\student .vbs
Line: 8
Char:47
Error:unexpected end of statement
Code:800A04401
Source:Microsoft VBScript Complation error
But when I add this line to the existing user logon script
xcopy "\\AppServer\Shared\WebLin
and when the user logs on I get a pop up window , which says:
Windows Script host
Script: \\Server1\netlogon\student
Line: 8
Char:47
Error:unexpected end of statement
Code:800A04401
Source:Microsoft VBScript Complation error
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The content of the student.vbs is it has a .exe path and its a printer service which it executes when user logs in .
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I've requested that this question be deleted for the following reason:
Not enough information to confirm an answer.
Not enough information to confirm an answer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
xcopy "\\AppServer\Shared\WebLin