![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I have a problem with logon script in vista to map networks drive. I have followed Microsoft suggestion in article for using launchapp.wsf. http://technet2.microsoft.com/Window....mspx?mfr=true There I found exactly the problem I was having and the solution. Unfortunately the script is faulty. I copied and paste it in notepad. and saved it as launchapp.wsf. But every time it runs I get an error message: --------------------------- Windows Script Host --------------------------- Script: \\dc1\staff$\ZShadar\launchapp.wsf Line: 114 Char: 2 Error: Syntax error Code: 800A03EA Source: Microsoft VBScript compilation error --------------------------- OK --------------------------- I get the same result if I run it from the GPO or manually. I will appreciate any help. Regards Ziv Shadar |
|
|||
|
If line 113-115 of code looks like the following: Delete line 114
call rootFolder.RegisterTaskDefinition( _ ****(Delete this line of code)*** strTaskName, taskDefinition, FlagTaskCreate, _ Should look like this: call rootFolder.RegisterTaskDefinition( _ strTaskName, taskDefinition, FlagTaskCreate, _ On Jul 9, 10:30 am, Ziv wrote: Hello, I have a problem with logon script invistatomapnetworksdrive. I have followed Microsoft suggestion in article for using launchapp.wsf. http://technet2.microsoft.com/Window...ae8da2a-878e-4... There I found exactly the problem I was having and the solution. Unfortunately the script is faulty. I copied and paste it in notepad. and saved it as launchapp.wsf. But every time it runs I get an error message: --------------------------- Windows Script Host --------------------------- Script: \\dc1\staff$\ZShadar\launchapp.wsf Line: 114 Char: 2 Error: Syntax error Code: 800A03EA Source: Microsoft VBScript compilation error --------------------------- OK --------------------------- I get the same result if I run it from the GPO or manually. I will appreciate any help. Regards Ziv Shadar |
|
|||
|
Here is a real simple fix for Vista and Windows 7. Just add this registry item. Copy and past the lines below into a text file and name it networkdrivefix.reg or whatever you want. Then double click the file to add it to your registry. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Policies\System] "EnableLinkedConnections"=dword:00000001 -- mrdaytrade |