Here is the script we use again i work fine with XP but not on vista.

)
@Echo off
color 1F
Echo.
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Echo.
Echo Loggin into our company
echo Welcome %username% ...
Echo.
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Echo.
Echo.
Echo.
cls
Echo.
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Echo.
Echo Removing Network Drives
Echo.
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
rem net use j: /DELETE
REM *** drev w
REM net use w: /DELETE
REM ***
net use k: /DELETE
net use l: /DELETE
net use g: /DELETE
net use h: /DELETE
net use i: /DELETE
net use q: /DELETE
net use s: /DELETE
net use x: /DELETE
net use t: /DELETE
cls
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
echo.
echo Mapping Network Drives
echo.
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Net use K: \\server\folder ("this drive did not work" format "FAT")
Net use g: \\server\folder ("this drive did not work" format "FAT")
Net Use h: \\server\folder ("this drive did not work" format "FAT")
Net use x: \\server\folder ("this drive did not work" format "FAT")
Net use z: \\server\folder ("This drive worked" format"NTFS")
rem Net use t: \\server\folder
rem echo.
rem cls
rem echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
rem echo.
rem echo Mapping Network Printers
rem echo.
rem echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
rem net use lpt4: \\server\printer
rem net use lpt5: \\server\printer
rem net use lpt6: \\server\printer
rem echo.
cls
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
echo.
echo Copying company signatur
echo.
echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
xcopy \\server\folder\%username%\*.* c:\ /y
:END
"James" wrote:
> Can you post the Script? Many people can help you here, I think.
>
> "SorenH" wrote:
>
> > Hi James.
> >
> > thanks for quickly reply, yes i am log on with administrative rights, and
> > have also tried to rigth click the batch fil, and make sure the i was running
> > as an administrator, (Run administrator).
> >
> > The weird thing is that it ask for an username and password, to every singel
> > drive, when i writen down the admin/pass for that server the drive is on it
> > say incorrect network password, i really don't get it, could it be some
> > security issue, in vista or is it somthing on the server.
> >
> > Btw the script is running on a w2k.
> >
> > it is only with vista i have the problem if i take a XP pro client it work
> > no question ask, but the problems come when i try with vista.
(
> >
> > hope you understand my question
)
> >
> > regards Soren
> >
> > "James" wrote:
> >
> > > Hello Soren,
> > >
> > > Did you run the Script as Administrator?
> > > Click here to learn to automatically launch the script as administrator
> > > in windows Vista.
> > >
> > > http://unlockforus.blogspot.com/2008...trator-in.html
> > >
> > > Reply to us if you find another solution. thanks.
> > >
> > > "SorenH" wrote:
> > >
> > > > Hi All.
> > > >
> > > > I have a problem with vista regards to script, in old days i installed XP on
> > > > my clients and the map drive script worked fine without any problems, but now
> > > > i have vista clients, when i run the script it keep asking me for a username
> > > > and password to every singel map drive, i don't get it why is it asking me
> > > > for a user and pass, and when im typing the user and pass it says it an
> > > > incorrect network pass, any one who can help me?
> > > >
> > > >