A Windows Vista forum. Vista Banter

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.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Map network drive via logon script and launchapp.wsf error in scri



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 9th 07, 03:30 PM posted to microsoft.public.windows.vista.networking_sharing
Ziv
external usenet poster
 
Posts: 6
Default 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

  #2 (permalink)  
Old August 31st 07, 09:17 PM posted to microsoft.public.windows.vista.networking_sharing
jo.eads@gmail.com
external usenet poster
 
Posts: 1
Default 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 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





  #3 (permalink)  
Old May 6th 09, 02:51 PM posted to microsoft.public.windows.vista.networking_sharing
mrdaytrade
external usenet poster
 
Posts: 2
Default 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\Curr entVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001


--
mrdaytrade
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.