Re: Creating mapped drives from login script

Tech-Archive recommends: Fix windows errors by optimizing your registry





In news:e58E5rLiGHA.2220@xxxxxxxxxxxxxxxxxxxx,
MS User2006 <fakename@xxxxxxxxxxxx> typed:
Create another login script for those you do not want to have auto
mapped drives. Copy the current SBS_LOGIN_SCRIPT and rename it then
edit the script to map your drives. Then you will have to edit those
profiles that will use the altered login script.

True, but the OP is talking about having a script run or not run based on
the *computer* - not the username. There are ways to accomplish this but my
later reply to him/her regarding the server, should be taken into account.


<noneya22@xxxxxxxxxx> wrote in message
news:1149510849.924702.102110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
We have some applications that rely on the existence of a number of
mapped drives. Right now, this is a manual setup issue that I
perform when I setup a user's PC. I want to do this automatically
when user's log in. I believe I can do this in the batch file:
C:\WINDOWS\SYSVOL\sysvol\{MY DOMAIN}\scripts\SBS_LOGIN_SCRIPT.bat,
but there is something I need help with. On certain PCs, I do not
want to execute the drive-mapping code. Is there code that would
allow me to do this? Also, if I am going about this the wrong way,
I would be interested to know what is a best practice to accomplish
my goal.


.



Relevant Pages

  • Re: update
    ... You did not edit the code correctly. ... David Mustard wrote: ... effectivly rather than keeping them all together as a publisher website. ... replaceinfiles script wont work for this kind of setup I dont think. ...
    (microsoft.public.publisher.webdesign)
  • Re: Editing Binary Files
    ... I want to edit a precompiled ... pipe that into ... 'awk' script which searches for the pattern you are ... it is then processed and 'uudecode' is used to get the text back ...
    (comp.unix.questions)
  • Re: "Access denied" thru UNC but not mapped drive
    ... The same script runs for every user ... and every workstation on the network, but only this one workstation (named ... From OFFICE6, UNC addressing to any ... although they can access them through mapped drives. ...
    (microsoft.public.windowsxp.general)
  • Re: Using echo in Bash
    ... the filenames into a text file, edit it with a text, then turn the file ... > Isn't it the 'echo' command that have to do be able to echo editable text? ... > Sure=) I have made this little Bash script that converts MusePack ... > The script is called repack, ...
    (alt.linux)
  • Re: mapped drives and desktop shortcut all a group of users
    ... I added the logon script in the user config area of the default domain GPO ... I updated group policy on the DC and the workstation I was working on ... As mapped drives are generally profile specific, ...
    (microsoft.public.windows.server.active_directory)