#75630 - 2003-07-03 03:42 PM
Pulling my hair out over somthing simple.
|
Cindi
Fresh Scripter
Registered: 2003-07-03
Posts: 5
Loc: Chesapeake Beach, Maryland
|
I have read the manual and I have read the other post here by Laura thinking it might help. It didn't
Here's my script:
CLS
"Hello "+ @FULLNAME Chr(10) Chr(10) SETTIME "\\BSISRVE01" "You local systems time has been synchronized with the server." Chr(10) Chr(10) "Current time = " + @time Chr(10)
USE "*" /DELETE ;Delete current drive mappings USE H: \\titan\engineering USE M: \\BSISRVE01\m2mdata USE P: \\BSISRVE01\public USE S: \\titan\sales USE U: \\titan\disk1 USE Z: \\titan\%username%
IF InGroup( “test” ) use F: \\bsisrve01\acct ENDIF
USE LIST SLEEP 10
The thing works great! Except I have a group test and I am a member of it; and the darn thing will not map that F: drive to save my life.
Script is sitting on a W2k server and the client workstation is w2k pro.
I sure could use some help.
|
|
Top
|
|
|
|
#75634 - 2003-07-03 03:56 PM
Re: Pulling my hair out over somthing simple.
|
Cindi
Fresh Scripter
Registered: 2003-07-03
Posts: 5
Loc: Chesapeake Beach, Maryland
|
Without the quotes around the group name? No I haven't tried that. Will do that now.
I have logged out and back in, that's how I am testing it.
As far as flushing the cache I have the /f switch after the script command in my bat file. So I assume I am flushing the cache.
Here's the batch file.
\\bsisrve01\netlogon\Kix32 \\bsisrve01\netlogon\Script1 /f EXIT 0
|
|
Top
|
|
|
|
#75636 - 2003-07-03 03:58 PM
Re: Pulling my hair out over somthing simple.
|
Cindi
Fresh Scripter
Registered: 2003-07-03
Posts: 5
Loc: Chesapeake Beach, Maryland
|
Well it works without the quotes. I guess I only need the quotes if there are spaces in the text right? [ 03. July 2003, 16:00: Message edited by: Cindi ]
|
|
Top
|
|
|
|
#75639 - 2003-07-03 04:12 PM
Re: Pulling my hair out over somthing simple.
|
Cindi
Fresh Scripter
Registered: 2003-07-03
Posts: 5
Loc: Chesapeake Beach, Maryland
|
Thanks for looking at the script! I have tried your script but it only maps the F drive nothing else. Also we have to do a lot of hand holding here so we don't want to have to make them hit any extra key. They might chip a nail or something. That's why I had the box closing automatically.
|
|
Top
|
|
|
|
#75640 - 2003-07-03 04:17 PM
Re: Pulling my hair out over somthing simple.
|
Cindi
Fresh Scripter
Registered: 2003-07-03
Posts: 5
Loc: Chesapeake Beach, Maryland
|
Yes I noticed that our two 98 machines were not getting their z drives mapped. I know why that’s happening but don't really care since those machines are going bye bye at the end of July so for now I'll just map them locally.
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 756 anonymous users online.
|
|
|