mytfein
asked on
Windows XP: Mapped Drive Reconnect at Logon is not happening even though checked off reconnect at logon
Hi EE,
Does anyone now why when I login to computer after first:
- mapping a network drive with reconnect at login checked off
- ctl/alt/delete + logoff
that the drives were NOT created?
Tx for your ideas and advice, sandra
Does anyone now why when I login to computer after first:
- mapping a network drive with reconnect at login checked off
- ctl/alt/delete + logoff
that the drives were NOT created?
Tx for your ideas and advice, sandra
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Sameer,
tx for writing...
possible that what you wrote above applys to me
you see, when i click on the .bat file the drives are created
-however-
when i put them in task scheduler, to run when i log in, i see the .bat file running
-but- the drives are not created
maybe i need to add domain? will give it a try... tx, s
tx for writing...
possible that what you wrote above applys to me
you see, when i click on the .bat file the drives are created
-however-
when i put them in task scheduler, to run when i log in, i see the .bat file running
-but- the drives are not created
maybe i need to add domain? will give it a try... tx, s
ASKER
Hi Samir,
i tried adding, /USER:domainName to end of line
and the dos file just stopped and waited for me to enter a password
so i exitted the dos run
removed /user:domainname
and .bat file runs fine manually
how can i have it run as a scheduled task at log on?
or is it better to put in start up folder? tx, s
i tried adding, /USER:domainName to end of line
and the dos file just stopped and waited for me to enter a password
so i exitted the dos run
removed /user:domainname
and .bat file runs fine manually
how can i have it run as a scheduled task at log on?
or is it better to put in start up folder? tx, s
ASKER
hi,
i disabled the task in scheduled tasks
and instead, copied it to AllUsers/startup folder
logged off, signed in,
i see the .bat file run - but the network connections have not been made
a)Does anyone know what command i could put in the .bat file to pause it so that i could
see if there are any error msgs, bec. the .bat file disappears so fast?
b) does anyone know the diff bet. logoff and restart other than that logoff brings up the signin screen
pretty quickly?
tx, s
i disabled the task in scheduled tasks
and instead, copied it to AllUsers/startup folder
logged off, signed in,
i see the .bat file run - but the network connections have not been made
a)Does anyone know what command i could put in the .bat file to pause it so that i could
see if there are any error msgs, bec. the .bat file disappears so fast?
b) does anyone know the diff bet. logoff and restart other than that logoff brings up the signin screen
pretty quickly?
tx, s
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Sameer,
a) ok, would like to be prompted for the password
USER[Domain name\ <- USER is followed by a bracket or a colon?
b) tx very much for the screenshots - yes , that's the way i did it
maybe i'm doing a) incorrectly
here is my code:
net use Z: \\aaa\bbb "/persistent:yes"
aaa and bbb rep. real values not sure if am allowed to put the real values on the internet.
can you pls add to the above sentence how to type the domain part
tx, s
a) ok, would like to be prompted for the password
USER[Domain name\ <- USER is followed by a bracket or a colon?
b) tx very much for the screenshots - yes , that's the way i did it
maybe i'm doing a) incorrectly
here is my code:
net use Z: \\aaa\bbb "/persistent:yes"
aaa and bbb rep. real values not sure if am allowed to put the real values on the internet.
can you pls add to the above sentence how to type the domain part
tx, s
ASKER
hi,
did more research using google
and for now, put the .bat file that creates the share
in another .bat that calls the scripts that uses the network drive
below is the bat file.
Also in the code window below, is the bat file that creates the share
tx everyone for your help... s
Will close out this post, and post a new question relating to:
Still puzzled why putting the .bat file in startup or with scheduler does not work.
i read on the internet that if server recognizes your user/pswd, do not have to explicitly provide that
info...
call C:\ARG_99_Scripts\ARG_99_0 1_MasterSc ript\batCr eateShare. bat
rem pause
CALL :\ARG_99_Scripts\ARG_99_03 _DailyElec tive_Avail ability_sc ript\bat00 1_TotalScr iptRun_Ele ctivesAvai lability.b at
CALL :\ARG_99_Scripts\ARG_99_07 _DailyElec tive_Catal ogM3M4_scr ipt\bat001 _TotalScri ptRun_Elec tiveCatalo g_M3M4.bat
CALL :\ARG_99_Scripts\ARG_99_08 _DailyElec tive_Catal ogM1M2_scr ipt\bat001 _TotalScri ptRun_Elec tiveCatalo g_M1M2.bat
did more research using google
and for now, put the .bat file that creates the share
in another .bat that calls the scripts that uses the network drive
below is the bat file.
Also in the code window below, is the bat file that creates the share
tx everyone for your help... s
Will close out this post, and post a new question relating to:
Still puzzled why putting the .bat file in startup or with scheduler does not work.
i read on the internet that if server recognizes your user/pswd, do not have to explicitly provide that
info...
call C:\ARG_99_Scripts\ARG_99_0
rem pause
CALL :\ARG_99_Scripts\ARG_99_03
CALL :\ARG_99_Scripts\ARG_99_07
CALL :\ARG_99_Scripts\ARG_99_08
@echo off
net use z: /delete
Echo Mapping the Z: Drive
net use Z: \\aaa\bbbb /persistent:yes
ASKER
a) tx for replying... it worked...
b) For EE public,
the .bat file should contain this:
net use x: \\computer name\share name /persistent:yes
c) just wondering why the reconnect at login of map network drive does not work
d) will put (c) as a scheduled task, and see if pc connects at login
will be back... tx, s