PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.win.server.scripting > Re: Creating local profiles for all AD users
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Creating local profiles for all AD users

Réponse
 
LinkBack Outils de la discussion
Vieux 09/11/2007, 19h08   #1
Lanwench [MVP - Exchange]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Creating local profiles for all AD users

Bartosz Kowalski <BartoszKowalski@discussions.microsoft.com> wrote:
> Hello,
>
> When I login to PC as AD user, local profile (ie. folder tree in
> Documents and Settings) is created. Is it possible to do it by script?
>
> I need to do it for every user and computer in our AD


Can you please clarify what it is you're trying to do, and why?


  Réponse avec citation
Vieux 12/11/2007, 06h36   #2
Bartosz Kowalski
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Creating local profiles for all AD users

Sometimes our PCs are working outside of AD with different users.
I want to make it possible for every user to work on a PC without AD
connection.
While logging on specific PC for the first time you need to have AD
connection, otherwise you receive a "user doesn't exist" message.

I want to make a script to "add" each AD users to PC.

I hope you understand what I need.

"Lanwench [MVP - Exchange]" wrote:

> Bartosz Kowalski <BartoszKowalski@discussions.microsoft.com> wrote:
> > Hello,
> >
> > When I login to PC as AD user, local profile (ie. folder tree in
> > Documents and Settings) is created. Is it possible to do it by script?
> >
> > I need to do it for every user and computer in our AD

>
> Can you please clarify what it is you're trying to do, and why?
>
>
>

  Réponse avec citation
Vieux 12/11/2007, 13h12   #3
Steve Foster [SBS MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Creating local profiles for all AD users

Bartosz Kowalski wrote:

>Sometimes our PCs are working outside of AD with different users.
>I want to make it possible for every user to work on a PC without AD
>connection.
>While logging on specific PC for the first time you need to have AD
>connection, otherwise you receive a "user doesn't exist" message.
>
>I want to make a script to "add" each AD users to PC.
>
>I hope you understand what I need.


Creating a profile directory will not achieve this goal, as that doesn't
equate to having logged on at the PC.

There may be an API to create the logon profiles, but I suspect the
quickest way would simply be to logon to the PC using each AD account (if
you have access to the necessary passwords). RunAs offers the mechanism to
execute a command under different credentials and would be enough to cause
a profile to be instantiated.

Frankly, I'd say it's really not worth it. All you'll land up doing is
chewing up a lot of client PC disk space for no good reason. And, if you
enforce regular password changes (as you should), the profiles are going
to be inaccessible remotely anyway, since they'll have outdated password
hashes stored against them (ie the user would need to know their password
as it was at the time the profile was last accessed!).

It'd be easier to educate the users that if they want to use a machine
off-network, they must logon to it on-network first.

--
Steve Foster [SBS MVP]
---------------------------------------
MVPs do not work for Microsoft. Please reply only to the newsgroups.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h14.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09409 seconds with 11 queries