![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Map network drive via logon script and launchapp.wsf error in scri 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 |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Map network drive via logon script and launchapp.wsf error in scri 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 <Z...@xxxxxx> wrote: Quote: > 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 |
My System Specs![]() |
| | #3 (permalink) |
| Windows 7 x32 | Re: Map network drive via logon script and launchapp.wsf error in scri 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\CurrentVersion\Policies\System] "EnableLinkedConnections"=dword:00000001 |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Script to map a network drive as ascii character and make hidden | VB Script | |||
| Logon Script Causing Laptops To Hang - Problems in script? | VB Script | |||
| MAP network drive does not remember logon info | Vista networking & sharing | |||
| Help with Logon script error | VB Script | |||
| Logon script that map network drives failes to apply if UAC is on. | Vista networking & sharing | |||