From: Whiteford on 4 May 2010 03:43 Hi, I need to take ownership of a huge folder on our Windows 2008 server. I have restored 1TB of data but the GUI tool keeps prompting for me to skip etc. Can I use a command line tool to five the system account full ownership of all files? Thanks
From: Pegasus [MVP] on 4 May 2010 04:48 "Whiteford" <no(a)no.com> wrote in message news:OCak0116KHA.1888(a)TK2MSFTNGP05.phx.gbl... > Hi, > > I need to take ownership of a huge folder on our Windows 2008 server. I > have restored 1TB of data but the GUI tool keeps prompting for me to skip > etc. Can I use a command line tool to five the system account full > ownership of all files? > > Thanks Under Win7 I would use takeown.exe. If this command does not exist under Win2008 then you can probably copy it across from a Win7 PC.
From: Whiteford on 4 May 2010 05:32 Thanks it does have this tool! However when I use it I get the error "info: the current logged on user does not have ownership privileges on the file (or folder): ("f:\folderername") and INFO: Access is denied. ( "f:\foldername" ) Shouldn't this tool take control? "Pegasus [MVP]" <news(a)microsoft.com> wrote in message news:uow3Ca26KHA.980(a)TK2MSFTNGP04.phx.gbl... > > > "Whiteford" <no(a)no.com> wrote in message > news:OCak0116KHA.1888(a)TK2MSFTNGP05.phx.gbl... >> Hi, >> >> I need to take ownership of a huge folder on our Windows 2008 server. I >> have restored 1TB of data but the GUI tool keeps prompting for me to skip >> etc. Can I use a command line tool to five the system account full >> ownership of all files? >> >> Thanks > > Under Win7 I would use takeown.exe. If this command does not exist under > Win2008 then you can probably copy it across from a Win7 PC.
From: Whiteford on 4 May 2010 05:45 It seemed to work on this folder if I added the "system" account via the GUI first then run the takeown tool, how can I then add the "system" account to all folders and directories first via the command line then take ownership? "Pegasus [MVP]" <news(a)microsoft.com> wrote in message news:uow3Ca26KHA.980(a)TK2MSFTNGP04.phx.gbl... > > > "Whiteford" <no(a)no.com> wrote in message > news:OCak0116KHA.1888(a)TK2MSFTNGP05.phx.gbl... >> Hi, >> >> I need to take ownership of a huge folder on our Windows 2008 server. I >> have restored 1TB of data but the GUI tool keeps prompting for me to skip >> etc. Can I use a command line tool to five the system account full >> ownership of all files? >> >> Thanks > > Under Win7 I would use takeown.exe. If this command does not exist under > Win2008 then you can probably copy it across from a Win7 PC.
From: Pegasus [MVP] on 4 May 2010 05:54 The trusty old cacls command will do it: cacls "d:\User Files" /e /t /c /g system:f On Windows 7, cacls still works but is deprecated. icacls.exe should be used instead. "Whiteford" <no(a)no.com> wrote in message news:udZcE626KHA.3184(a)TK2MSFTNGP05.phx.gbl... > It seemed to work on this folder if I added the "system" account via the > GUI first then run the takeown tool, how can I then add the "system" > account to all folders and directories first via the command line then > take ownership? > > "Pegasus [MVP]" <news(a)microsoft.com> wrote in message > news:uow3Ca26KHA.980(a)TK2MSFTNGP04.phx.gbl... >> >> >> "Whiteford" <no(a)no.com> wrote in message >> news:OCak0116KHA.1888(a)TK2MSFTNGP05.phx.gbl... >>> Hi, >>> >>> I need to take ownership of a huge folder on our Windows 2008 server. I >>> have restored 1TB of data but the GUI tool keeps prompting for me to >>> skip etc. Can I use a command line tool to five the system account full >>> ownership of all files? >>> >>> Thanks >> >> Under Win7 I would use takeown.exe. If this command does not exist under >> Win2008 then you can probably copy it across from a Win7 PC. >
|
Next
|
Last
Pages: 1 2 Prev: An rumors of an SP3 for 2008 32 bit? Next: Windows Server 2008 Installation Error |