[THIN] Re: OT: problem scripting home directories

  • From: Anders Hansen-Øvre <Anders.Hansen-Ovre@xxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 11 Oct 2004 09:49:27 +0200

Or you can create a Shell object and use cacls (or xcacls from the Resource 
Kit) do script the permissions.

---
mvh/yours
Anders Hansen-Øvre, Seniorkonsulent
  

> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Durbin
> Sent: 7. oktober 2004 20:11
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT: problem scripting home directories
> 
> You can set file permissions in VBScript via WMI, but it's no 
> picnic... 
> 
> > -----Original Message-----
> > From: thin-bounce@xxxxxxxxxxxxx
> > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Malczewski
> > Sent: Thursday, 7 October 2004 8:58 a.m.
> > To: 'thin@xxxxxxxxxxxxx'
> > Subject: [THIN] Re: OT: problem scripting home directories
> > 
> > Just use the CreateFolder() method to create an empty folder. 
> >  If you are creating a profile folder as well, then create 
> a generic 
> > profile that you want everyone to start with, and then copy 
> it to the 
> > user's location.
> > 
> > Either way, after you create/copy the folder, you'll have to use 
> > XCACLS to set the permissions onit so the user can access it and to 
> > prevent other users from getting into it..
> > 
> > 
> > 
> > -----Original Message-----
> > From: Pavlo Ignatusha [mailto:pignatusha@xxxxxxxxxxxxx]
> > Sent: Thursday, October 07, 2004 11:49 AM
> > To: Org Thin (E-mail)
> > Subject: [THIN] OT: problem scripting home directories
> > 
> > 
> > Hi,
> > 
> > I have a vbscript that creates users from csv file and 
> fills the Home 
> > Folder drive and path. This is a brand new environment 
> still in test 
> > phase. I have these home drives on the DFS share.
> > 
> > The problem is that if you manually set home folder in AD 
> and click OK 
> > or Apply it will create the folder for the user (if permissions 
> > permit). I found that if I set home folder through vbscript 
> the actual 
> > folder is not created. Therefore when user tries to login 
> to his/her 
> > citrix session the get dfsroot mapped instead of their home drive.
> > 
> > I went in AD user properties and re-typed the last character in the 
> > UNC path and clicked apply. The folder appeared right away. 
> I guess I 
> > need now another script to create folders now?
> > 
> > Please point me in the right direction.
> > 
> > Thanks,
> > 
> > Pavlo Ignatusha
> > Systems Network Coordinator
> > Pembroke General Hospital
> > Tel. (613) 732-3675 ext.6150
> > Fax. (613) 732-9986
> > www.pemgenhos.org
> > 
> > "All that matters is love and work" - Sigmund Freud.
> > 
> > ********************************************************
> > This Weeks Sponsor RTO Software
> > Do you know which applications are abusing your CPU and memory?
> > Would you like to learn? --   Free for a limited time!
> > Get the RTO Performance Analyzer to quickly learn the applications, 
> > users, and time of day possible problems exist.
> > http://www.rtosoft.com/enter.asp?id=320
> > **********************************************************
> > Useful Thin Client Computing Links are available at:
> > http://thin.net/links.cfm
> > ***********************************************************
> > For Archives, to Unsubscribe, Subscribe or set Digest or 
> Vacation mode 
> > use the below link:
> > http://thin.net/citrixlist.cfm
> > 
> > 
> > ----------------------------------
> > This email and any files transmitted with it are confidential and 
> > intended solely for the use of the individual or entity to 
> whom they 
> > are addressed. If you have received this email in error 
> please notify 
> > the system manager. This message contains confidential 
> information and 
> > is intended only for the individual named. If you are not the named 
> > addressee you should not disseminate, distribute or copy 
> this e-mail.
> > ********************************************************
> > This Weeks Sponsor RTO Software
> > Do you know which applications are abusing your CPU and memory?
> > Would you like to learn? --   Free for a limited time!
> > Get the RTO Performance Analyzer to quickly learn the applications, 
> > users, and time of day possible problems exist.
> > http://www.rtosoft.com/enter.asp?id=320
> > **********************************************************
> > Useful Thin Client Computing Links are available at:
> > http://thin.net/links.cfm
> > ***********************************************************
> > For Archives, to Unsubscribe, Subscribe or set Digest or 
> Vacation mode 
> > use the below link:
> > http://thin.net/citrixlist.cfm
> > 
> 
> ********************************************************
> This Weeks Sponsor RTO Software
> Do you know which applications are abusing your CPU and memory?
> Would you like to learn? --   Free for a limited time!
> Get the RTO Performance Analyzer to quickly learn the 
> applications, users, and time of day possible problems exist.
> http://www.rtosoft.com/enter.asp?id=320
> **********************************************************
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or set Digest or 
> Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
> 
> 
********************************************************
This Weeks Sponsor RTO Software
Do you know which applications are abusing your CPU and memory?
Would you like to learn? --   Free for a limited time!
Get the RTO Performance Analyzer to quickly learn the applications, users,
and time of day possible problems exist.
http://www.rtosoft.com/enter.asp?id20
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: