Re: Configure win2000 server to map when turned on, without login

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks to your input I have accomplished what I set to do. I'd like to thank
folks like you who take time to respond to this post. Your generousity both
surprise and amaze me.

Writing a script to access the unc path with the appropriate credentials
scheduled at boot worked. Without any user being logged in crystal process
can run schedule reports using the data stored on a another server. And after
testing, I've discovered that if someone remotes to the server, it does not
blow away access to the unc path. Note: using drive letter mapping in my
script did not work for me.

"Pegasus (MVP)" wrote:

You write "Once I've accomplished this". That's very vague.
Does it mean "UNC coding"? Does it mean "Drive letter mapped
to a share"?

The availability of drive letters depends on the version of Windows
you run - have a look here:
http://support.microsoft.com/?kbid=180362


"J Colon" <JColon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0575AF26-F81F-4FD7-97A2-E704B69A7CE9@xxxxxxxxxxxxxxxx
Once I've accomplished this. The moment a user account logs in, the map
drive
will no longer be available. Correct? Can this be prevented?

"Pegasus (MVP)" wrote:

You can do this with shares mapped to drive letters, provided that
Crystal runs in the same process as the one that mapped the share.
As Darhl, suggests, using UNC coding would be far more robust.


"J Colon" <JColon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B87B9801-DF6B-4289-803C-54E5D52847C0@xxxxxxxxxxxxxxxx
In one domain, I have a server running Crystal Enterprise. I created
some
reports that I've uploaded to Crystal enterprise. The datasource is a
flat
file cobol file store on a network share on a different domain. I used
accuODBC settings from the vendor to access the data in crystal
reports.

In order for the server running Crystal enterprise to see the
datasource,
I
have to install the accuODBC settings and the server needs to be
mapped to
the network share were the cobol files are located. I have created
user
credentials on the domain where the datasource is located and was
hoping
to
create a batch file to map the drive on the Crystal enterprise server
then
install the accuODBC settings. The cyrstal server is not logged in.
Simply
on.

"Pegasus (MVP)" wrote:


"J Colon" <JColon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DAD7C134-B90D-42E1-A2F0-97D5325F423D@xxxxxxxxxxxxxxxx
I need to permanently map a drive (located on a different domain)
on a
windows 2000 server. Without requiring any user to be logged in.
I'd
like
to
just turn on the server and have it mapped the drive, just as
services
are
running without any initial login in.

I'm currently under the impression that mapping a drive can only
be
done
through a user loggin. I hope Im wrong.

A co-worker wrote a script to map the drive (with credentials hard
coded)
and schedule it at boot. It doesnt map.

Is this possible? Can it be scripted to do so? Or is their
software
that
does this?

Yes, you can map a drive without having a logon session but that
drive will only be visible to the process that mapped it. Other
processes cannot see it.

What are you actually trying to achieve?









.



Relevant Pages

  • Re: new script
    ... "Pegasus (MVP)" wrote: ... I'm really thankfull for your help (and script). ... #echo>> c:\test.vbs ...
    (microsoft.public.windows.server.scripting)
  • Re: interact with user dialobbox user e passord
    ... "Pegasus (MVP)" wrote: ... Test the script from a Command Prompt. ... update box pops up while the macro is executing. ...
    (microsoft.public.scripting.vbscript)
  • Re: VBScript Help
    ... Pegasus, The value of strFileName is 9152008_nmap.log ... "Pegasus (MVP)" wrote: ... the command shell is the problem. ... how far the script goes, ...
    (microsoft.public.scripting.vbscript)
  • Re: interact with user dialobbox user e passord
    ... "Pegasus (MVP)" wrote: ... Test the script from a Command Prompt. ... update box pops up while the macro is executing. ...
    (microsoft.public.scripting.vbscript)
  • Re: desktop run script
    ... "Pegasus (MVP)" wrote: ... I would like to add program to execute in the the logon script in ... their desktop from the logon script? ...
    (microsoft.public.scripting.vbscript)