Précédent   Forum des professionnels en informatique > Systèmes > Windows > Windows Serveur
Windows Serveur Forum d'entraide professionel pour Windows Serveur : NT, 2000, 2003 , Longhorn...
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 31/03/2008, 13h48   #1
Membre du Club
 
Inscription : mars 2008
Messages : 275
Détails du profil
Informations forums :
Inscription : mars 2008
Messages : 275
Points : 44
Points : 44
Par défaut script pour les profil itinerant?

bonjour

j'ai compris comment faire pour configurer un profil itinerant mais pour un seul utilistateur a la fois

j'ai trouver un script qui configure plusieurs profils a la fois

le voila :

Code :
1
2
3
4
5
6
7
8
9
10
Set objUser = GetObject _
("LDAP://cn=Nom_Utilisateur,ou=Nom_OU,dc=Nom_domaine,dc=com")

strCurrentProfilePath = objUser.Get("profilePath")
intStringLen = Len(strCurrentProfilePath)
intStringRemains = intStringLen - 11
strRemains = Mid(strCurrentProfilePath, 12, intStringRemains)
strNewProfilePath = "\\Serveur\Partage\%Username%" & strRemains
objUser.Put "profilePath", strNewProfilePath
objUser.SetInfo
mais ce script il lui manque une boucle pour quil saplique a tout les profils en plus je ne sais pas lutiliser sur windows 2003 server

si quelqu'un peu maider?

merci
delphino7 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 18h50.


 
 
 
 
Partenaires

Hébergement Web