Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

problem with a .vbs script I put in group policy

Posted on 2004-04-26
12
439 Views
Last Modified: 2012-06-21
I installed a .vbs script in a group Policy. It does apply when the user logs in. The problem being it gives the user a erro message telling him that the network name cannot be found.

error: Network Name cannot be found
code 80070043
Source: WSHNetwork.mapNetworkDrive
I have the wsh host 5.6 installed on the server
do I have to install it on the clients too?
0
Comment
Question by:rocker40
  • 5
  • 4
12 Comments
 
LVL 7

Expert Comment

by:msice
ID: 10920137
If you are using a mapped drive does the drive letter and mapping match the client computer logging on? If you say D:\some.vbs and the d drive is not created on the client first you will get this error.
0
 
LVL 8

Accepted Solution

by:
RevelationCS earned 125 total points
ID: 10920161
this appears to be more of an issue with the script than an issue with windows 2000. Make sure that in your script, you are mapping correctly to the resource and that it is a compatible method of mapping using VBS... As far as permissions, make sure the users are using user accounts that are available on the shared resource. If domain accounts, the domain groups/users would have to be added appropriately either in the script or on the computer with the shared resouce. If using local accounts, the local accounts would have to be replicated on the shared resource computer or proper authentication sent via the script. I would also recommend possibly requesting a move of this post over to the VB forum for someone who can help you more with the script if those options don't help you resolve your issue.
0
 
LVL 7

Assisted Solution

by:msice
msice earned 125 total points
ID: 10920167
If you are using a UNC \\someserver\someshare\some.vbs can you access this shaer and run the file from the client computer manualy? Can you ping the name of the server serving the .vbs file from the client CMD> ping someserver -
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 7

Expert Comment

by:msice
ID: 10920280
In the vbs file if you are launching any other file or mapped resource the my above comments apply as well.
0
 
LVL 8

Expert Comment

by:RevelationCS
ID: 12324422
my recommendation would be a PAQ/ Points Revelation, however, I don't want to be the determining factor on that as I would be partial towards my post... anyother recommendations?
0
 
LVL 7

Expert Comment

by:msice
ID: 12324455
Well the fact that the error was "that the network name cannot be found" would make me think my answers were helpful - especially my first one. Any comments rocker40?
0
 
LVL 8

Expert Comment

by:RevelationCS
ID: 12324514
I apologize, I missed the first comment by you when I reread the comment. In that case, I would recommend PAQ/Split of the points...
0
 
LVL 7

Expert Comment

by:msice
ID: 12324516
I agree.
0
 
LVL 8

Expert Comment

by:RevelationCS
ID: 12324541
it was a long last couple of days with some big production issues at work that affected our environment.. brain was somewhat shot ;)
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article describes how to reset your Windows 10 password when you've forgotten it.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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