Click here to get back home

VBScript program loses network access

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
VBScript program loses network access phil.george999 09-15-2005
Posted by phil.george999 on September 15, 2005, 5:10 am
Please log in for more thread options
Does anyone know what might be causing the following problem on Windows
Server 2003 SP2..?

I have a VB script program (Controller.vbs) that's spawned from a C#
Windows Service, using System.Process 'cscript Controller.vbs'.

The owner Domain User Id of the Windows Service has access to a network
share (mounted as G:), to which output files are written.
(Authentication is with Active Directory).

The Controller.vbs script does this:

* Loop forever
- Run a .BAT script on the C: drive (which outputs log information
to the G: network drive)
- Check the G: log file the .BAT script wrote to, to verify no errors
occurred [*]
- Do some other processing and write output using
FileSystemObject.WriteLine to another file on the G: network drive [*]
- Close all open files
- Sleep for 5 mins
* End Loop

What I'm finding is that everything works fine until 7:30am each
morning. At this time, the .BAT script that's invoked from the
vbscript can *successfully* write to the G: drive. (If I check the
files myself I can see they're being created correctly).
However the .VBS script itself cannot write to or read from the G:
drive itself (so lines [*] are failing).

If I stop and restart everything, it again works fine until 7:30am the
next morning.

>From checking the Security log in the event viewer, nothing strange
appears to be happening.

Does anyone have any thoughts as to what may be causing the problem?
Our system administrators deny everything..

Thanks
Phil



Similar ThreadsPosted
Expired Code Signing Cert with VBScript September 12, 2006, 9:17 am
Microsoft VBScript runtime error '800a0046' - help please!! December 14, 2006, 12:23 pm
Win2003 loses AD user account September 28, 2005, 8:39 am
FTC Loses Laptops - Compromises Information of Suspected Fraudsters June 24, 2006, 12:15 pm
what is that best way to install program? September 27, 2005, 9:40 am
Program Showing in TaskManager as .EX August 10, 2006, 9:02 pm
Running a program with elevated privilages November 12, 2007, 9:59 am
Deny Network access via a Policy - Help!!! September 2, 2005, 2:48 am
Network access quarantine control January 27, 2006, 12:27 pm
Server 2003 network directory access March 13, 2008, 4:56 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap