PC Review


Reply
 
 
djc
Guest
Posts: n/a
 
      23rd Jun 2004
I want to put together a batch script that will output a list of all
directories/files (with path info) that a certian user owns. A list of 'what
and where'.

I would think something like dir /q /s | find /i "username" would work for
me fine, no need to even make it a batch file... however when I run dir /q
on my server the column where the owner should be displayed only shows 3
dots, like this: ...

Why is this? When I use dir /q on my own desktop it displays the owner just
fine? My desktop is windows 2000 sp4 and the server is windows 2000 server
sp4.

any info is greatly appreciated.Thanks.


 
Reply With Quote
 
 
 
 
Michael Bednarek
Guest
Posts: n/a
 
      24th Jun 2004
On Wed, 23 Jun 2004 08:32:19 -0400, "djc" <(E-Mail Removed)> wrote in
microsoft.public.win2000.cmdprompt.admin:

[snip]
>I would think something like dir /q /s | find /i "username" would work for
>me fine, no need to even make it a batch file... however when I run dir /q
>on my server the column where the owner should be displayed only shows 3
>dots, like this: ...
>
>Why is this? When I use dir /q on my own desktop it displays the owner just
>fine? My desktop is windows 2000 sp4 and the server is windows 2000 server
>sp4.


A comparison of those findings (DIR /Q) with results from
Explorer/Properties/Security/Advanced/Owner would have revealed to you
that those dots represent an untranslatable SID, probably a former user.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
 
Reply With Quote
 
djc
Guest
Posts: n/a
 
      24th Jun 2004
nope. The Gui lists owners just fine. Any other ideas?

"Michael Bednarek" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Wed, 23 Jun 2004 08:32:19 -0400, "djc" <(E-Mail Removed)> wrote in
> microsoft.public.win2000.cmdprompt.admin:
>
> [snip]
> >I would think something like dir /q /s | find /i "username" would work

for
> >me fine, no need to even make it a batch file... however when I run dir

/q
> >on my server the column where the owner should be displayed only shows 3
> >dots, like this: ...
> >
> >Why is this? When I use dir /q on my own desktop it displays the owner

just
> >fine? My desktop is windows 2000 sp4 and the server is windows 2000

server
> >sp4.

>
> A comparison of those findings (DIR /Q) with results from
> Explorer/Properties/Security/Advanced/Owner would have revealed to you
> that those dots represent an untranslatable SID, probably a former user.
>
> --
> Michael Bednarek http://mbednarek.com/ "POST NO BILLS"



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.