Networking Forums

Networking Forums > Computer Networking > Windows Networking > Logon script

Reply
 
 
=?Utf-8?B?RGF2ZQ==?=
Guest
Posts: n/a

 
      04-20-2004, 09:11 PM
The past weeks we have tried to create a logon script that does the following
- creates a map on the W2K server when a user logs on
- if this user start Word on his client machine, then Word must automatically save the documents in the map created during the logon procedure

An example
Maureen logs on using a Windows 98 client and after the procedure she has a map on the server
We have used the command net use f: \\server\gebruikers\%USERNAME% to achieve this and the result is a map on the server with the name Maureen
How do we tell Word, Excel or Powerpoint that every created file must be saved in Maureen's map?
 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      04-20-2004, 09:26 PM
Instead of mapping the drive with a logon script, just set it in the user
"Profile" setting in the properties of thier account. It has a place in it
to specify the drive letter and the path. I think it will then behave as if
it was their "My Documents" folder instead of the local My Documents. We
don't do that here, so I'm a little fuzzy on just how it will behave. Just
try it on one or two users and see what happens first...remeber to remove
the login script for them because you don't want it to map separately from
the profile settings.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

"Dave" <(E-Mail Removed)> wrote in message
newsD0A4C70-F379-4D62-9582-(E-Mail Removed)...
> The past weeks we have tried to create a logon script that does the

following:
> - creates a map on the W2K server when a user logs on.
> - if this user start Word on his client machine, then Word must

automatically save the documents in the map created during the logon
procedure.
>
> An example:
> Maureen logs on using a Windows 98 client and after the procedure she has

a map on the server.
> We have used the command net use f: \\server\gebruikers\%USERNAME% to

achieve this and the result is a map on the server with the name Maureen.
> How do we tell Word, Excel or Powerpoint that every created file must be

saved in Maureen's map?


 
Reply With Quote
 
Joe K.
Guest
Posts: n/a

 
      04-20-2004, 09:48 PM

>-----Original Message-----
>Instead of mapping the drive with a logon script, just

set it in the user
>"Profile" setting in the properties of thier account. It

has a place in it
>to specify the drive letter and the path. I think it

will then behave as if
>it was their "My Documents" folder instead of the local

My Documents. We
>don't do that here, so I'm a little fuzzy on just how it

will behave. Just
>try it on one or two users and see what happens

first...remeber to remove
>the login script for them because you don't want it to

map separately from
>the profile settings.
>
>--
>
>Phillip Windell [MCP, MVP, CCNA]
>www.wandtv.com
>
>"Dave" <(E-Mail Removed)> wrote in message
>newsD0A4C70-F379-4D62-9582-(E-Mail Removed)...
>> The past weeks we have tried to create a logon script

that does the
>following:
>> - creates a map on the W2K server when a user logs on.
>> - if this user start Word on his client machine, then

Word must
>automatically save the documents in the map created

during the logon
>procedure.
>>
>> An example:
>> Maureen logs on using a Windows 98 client and after the

procedure she has
>a map on the server.
>> We have used the command net use f: \\server\gebruikers\

%USERNAME% to
>achieve this and the result is a map on the server with

the name Maureen.
>> How do we tell Word, Excel or Powerpoint that every

created file must be
>saved in Maureen's map?
>
>
>.
>Use a login script. Map any common directories/shared in

there. i.e. net use s: \\servername\sharedfiles. Add a
line "net use u: /home" (no quotes) and save the script
file in the default server location as "logon.bat" (no
quotes). In the user's profile on the server add
logon.bat as the login script name. Then under "user's
home directory" specify U for the letter and type in the
path for that particular user i.e. \\servername\maureen$
Note: use the $ to hide the share so others cannot see it
on the network. For each subsequent user do the same and
you never have to change the login script again. Everyone
will map a home directory to U: and a sharedfiles
directory to S:. Set security as necessary. Then
depending on which version of Office you have 2 choices.
1. Create a computer policy to change the Word, Excel etc.
settings on each machine or you can go to Word and go
to "tools-options-file locations-documents and click
Modify" Specify the mapped drive and/or folder there. In
Excel it is "Tools-options-general and file locations".
Power Point is "Tools=options-save-default file
location".
 
Reply With Quote
 
Rob Elder MVP-Networking
Guest
Posts: n/a

 
      04-22-2004, 09:15 AM
The easiest way is to use group policy and redirect the My Documents folder
to your server. No drive mapping is necessary and the change is transparent
to the user. No need to modify Office suite settings either.


"Joe K." <(E-Mail Removed)> wrote in message
news:1d4801c42721$375bbea0$(E-Mail Removed)...
>
> >-----Original Message-----
> >Instead of mapping the drive with a logon script, just

> set it in the user
> >"Profile" setting in the properties of thier account. It

> has a place in it
> >to specify the drive letter and the path. I think it

> will then behave as if
> >it was their "My Documents" folder instead of the local

> My Documents. We
> >don't do that here, so I'm a little fuzzy on just how it

> will behave. Just
> >try it on one or two users and see what happens

> first...remeber to remove
> >the login script for them because you don't want it to

> map separately from
> >the profile settings.
> >
> >--
> >
> >Phillip Windell [MCP, MVP, CCNA]
> >www.wandtv.com
> >
> >"Dave" <(E-Mail Removed)> wrote in message
> >newsD0A4C70-F379-4D62-9582-(E-Mail Removed)...
> >> The past weeks we have tried to create a logon script

> that does the
> >following:
> >> - creates a map on the W2K server when a user logs on.
> >> - if this user start Word on his client machine, then

> Word must
> >automatically save the documents in the map created

> during the logon
> >procedure.
> >>
> >> An example:
> >> Maureen logs on using a Windows 98 client and after the

> procedure she has
> >a map on the server.
> >> We have used the command net use f: \\server\gebruikers\

> %USERNAME% to
> >achieve this and the result is a map on the server with

> the name Maureen.
> >> How do we tell Word, Excel or Powerpoint that every

> created file must be
> >saved in Maureen's map?
> >
> >
> >.
> >Use a login script. Map any common directories/shared in

> there. i.e. net use s: \\servername\sharedfiles. Add a
> line "net use u: /home" (no quotes) and save the script
> file in the default server location as "logon.bat" (no
> quotes). In the user's profile on the server add
> logon.bat as the login script name. Then under "user's
> home directory" specify U for the letter and type in the
> path for that particular user i.e. \\servername\maureen$
> Note: use the $ to hide the share so others cannot see it
> on the network. For each subsequent user do the same and
> you never have to change the login script again. Everyone
> will map a home directory to U: and a sharedfiles
> directory to S:. Set security as necessary. Then
> depending on which version of Office you have 2 choices.
> 1. Create a computer policy to change the Word, Excel etc.
> settings on each machine or you can go to Word and go
> to "tools-options-file locations-documents and click
> Modify" Specify the mapped drive and/or folder there. In
> Excel it is "Tools-options-general and file locations".
> Power Point is "Tools=options-save-default file
> location".



 
Reply With Quote
 
=?Utf-8?B?Sm9lIEsu?=
Guest
Posts: n/a

 
      04-22-2004, 11:56 PM
Group policy on a Win98 Client?? I would think PolEdit would be the choice for 98 clients

----- Rob Elder MVP-Networking wrote: ----

The easiest way is to use group policy and redirect the My Documents folde
to your server. No drive mapping is necessary and the change is transparen
to the user. No need to modify Office suite settings either


"Joe K." <(E-Mail Removed)> wrote in messag
news:1d4801c42721$375bbea0$(E-Mail Removed)..
>>>-----Original Message----

>>Instead of mapping the drive with a logon script, jus

> set it in the use
>>"Profile" setting in the properties of thier account. I

> has a place in i
>>to specify the drive letter and the path. I think i

> will then behave as i
>>it was their "My Documents" folder instead of the loca

> My Documents. W
>>don't do that here, so I'm a little fuzzy on just how i

> will behave. Jus
>>try it on one or two users and see what happen

> first...remeber to remov
>>the login script for them because you don't want it t

> map separately fro
>>the profile settings
>>>>--
>>>>Phillip Windell [MCP, MVP, CCNA

>>www.wandtv.co
>>>>"Dave" <(E-Mail Removed)> wrote in messag

>>newsD0A4C70-F379-4D62-9582-(E-Mail Removed)..
>>> The past weeks we have tried to create a logon scrip

> that does th
>>following
>>> - creates a map on the W2K server when a user logs on
>>> - if this user start Word on his client machine, the

> Word mus
>>automatically save the documents in the map create

> during the logo
>>procedure
>>>>>> An example
>>> Maureen logs on using a Windows 98 client and after th

> procedure she ha
>>a map on the server
>>> We have used the command net use f: \\server\gebruikers > %USERNAME% t

>>achieve this and the result is a map on the server wit

> the name Maureen
>>> How do we tell Word, Excel or Powerpoint that ever

> created file must b
>>saved in Maureen's map
>>>>>>

>>Use a login script. Map any common directories/shared i

> there. i.e. net use s: \\servername\sharedfiles. Add
> line "net use u: /home" (no quotes) and save the scrip
> file in the default server location as "logon.bat" (n
> quotes). In the user's profile on the server ad
> logon.bat as the login script name. Then under "user'
> home directory" specify U for the letter and type in th
> path for that particular user i.e. \\servername\maureen
> Note: use the $ to hide the share so others cannot see i
> on the network. For each subsequent user do the same an
> you never have to change the login script again. Everyon
> will map a home directory to U: and a sharedfile
> directory to S:. Set security as necessary. The
> depending on which version of Office you have 2 choices
> 1. Create a computer policy to change the Word, Excel etc
> settings on each machine or you can go to Word and g
> to "tools-options-file locations-documents and clic
> Modify" Specify the mapped drive and/or folder there. I
> Excel it is "Tools-options-general and file locations"
> Power Point is "Tools=options-save-default fil
> location"




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No logon script over wan Martin Schweizer Windows Networking 2 06-15-2007 03:25 PM
GP logon script Stuart Jeffrey Windows Networking 1 09-12-2004 08:31 PM
Logon Script Eddy Melsbach Windows Networking 2 02-18-2004 02:18 PM
Logon script Alan Crawford Windows Networking 0 12-26-2003 10:45 PM
Logon Script Kat Windows Networking 2 10-07-2003 10:01 PM



1 2 3 4 5 6 7 8 9 10 11