Re: Create folders

From: Brian Desmond [MVP] (desmondb_at_payton.cps.k12.il.us)
Date: 10/20/04


Date: Wed, 20 Oct 2004 17:13:33 -0500

Hi Gil,

Your home folders task is not something you can do with a GPO. You can use
the md command to create directories, and the xcacls or cacls utilities to
set the permissions on them from the command line.

You can log a user off with the shutdown command line tool. You cannot
automatically log them back in - they need to press Ctrl Alt Del and login.

-- 
-- 
Brian Desmond
Windows Server MVP
desmondb@payton.cps.k12.il.us
http://www.briandesmond.com
"Gil" <lior_ml@hotmail.com> wrote in message
news:em4LvLstEHA.3156@TK2MSFTNGP12.phx.gbl...
> hi,
> 1. I have on the AD a OU with 200 users. I want to automaticlly create
> folders with the name of the user on one of my servers. How can I do it ?
I
> can do it with GPO and a script. Can somone give me the correct syntax of
> the commands ???
> 2. In case I can edit the permissions of the new folder with a command it
> will GREAT ! How can I do it ?
> 3. What is the command line to do a log-off and  then a login for the user
?
>
> thanks.
>
>


Relevant Pages

  • Success
    ... secure Windows, IIS, IE, Outlook Express ... >different upload and download folders. ... >Third party FTP software, or OpenSSH, or VPN can be used ... >1) Use a "DOS" Command Prompt for the steps below. ...
    (microsoft.public.inetserver.iis.security)
  • Re: system folders not shared?
    ... It is amazing how much can be accomplished at a command line. ... I still could not access XP's system folders. ... files would open across the network but media files would not). ... permissions to block the sharing of certain folders. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Vanishing icons on Desktop and in Recycle Bin
    ... Use the command prompt ... I couldn't see a SID #. ... Both of those SID # folders should open, ... My INFO2 opens. ...
    (microsoft.public.windowsxp.help_and_support)
  • Help With [seemingly] Simple Problem
    ... I have a FreeBSD7 server box in my garage that serves the computers on my ... The box has basic non-gui install of FreeBSD7 and I access it through WinSCP ... another folder and there are same files in both folders (one I am ... Friend of mine suggested this command through ...
    (freebsd-questions)
  • Re: List View: Calculate all sizes Default?
    ... figure out how to use Ian's command (which, above, I incorrectly referred ... This is why my script sends items to the trash rather than immediately ... folders are completely ignored. ... Is there a reason to suspect the restore would _not_ include ...
    (comp.sys.mac.system)