[dba-Tech] Vista Question

Mark Breen marklbreen at gmail.com
Thu Sep 3 15:23:39 CDT 2009


Hello All,

this Blocked File is an issue if you do not anticipate it, it is a bigger
issue if you are playing with Virtual machines and regularly copying whole
directories across the network.  I am happily using Streams.EXE for the last
few weeks and it works a treat.

To avoid problems read the article at

http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx


Here is a snip from MS's site
<

Introduction

The NTFS file system provides applications the ability to create alternate
data streams of information. By default, all data is stored in a file's main
unnamed data stream, but by using the syntax 'file:stream', you are able to
read and write to alternates. Not all applications are written to access
alternate streams, but you can demonstrate streams very simply. First,
change to a directory on a NTFS drive from within a command prompt. Next,
type 'echo hello > test:stream'. You've just created a stream named 'stream'
that is associated with the file 'test'. Note that when you look at the size
of test it is reported as 0, and the file looks empty when opened in any
text editor. To see your stream enter 'more < test:stream' (the type command
doesn't accept stream syntax so you have to use more).

NT does not come with any tools that let you see which NTFS files have
streams associated with them, so I've written one myself. Streams will
examine the files and directories (note that directories can also have
alternate data streams) you specify and inform you of the name and sizes of
any named streams it encounters within those files. Streams makes use of an
undocumented native function for retrieving file stream information.


Using Streams

*Usage: streams [-s] [-d] <file or directory>*
*-s*Recurse subdirectories.*-d*Delete streams.
Streams takes wildcards e.g. 'streams *.txt'.
/>


I do hope that it is useful for someone,
thanks

Mark Breen




2009/8/27 Rocky Smolin <rockysmolin at bchacc.com>

> Stuart:
>
> "At the bottom of the General tan is a section labeled "Security". and the
> wording "This file came from another computer and might be blocked to help
> protect this computer". Click the "Unblock" button beside this. "
>
> I don't have any of that.  There's a security tab but no Unblock option.
> I'm
> running Vista Ultimate.
>
> Rocky
>
> -----Original Message-----
> From: dba-tech-bounces at databaseadvisors.com
> [mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of Stuart
> McLachlan
> Sent: Thursday, August 27, 2009 8:59 AM
> To: Discussion of Hardware and Software issues
> Subject: Re: [dba-Tech] Vista Question
>
> Two ways:
>
> 1. Rught click on it and select Properties.
>
> At the bottom of the General tan is a section labelled "Security". and the
> wording "This file came from another computer and might beblocked to help
> protect this computer". Click the "Unblock" button beside this.  Then run
> the program.  The last step is essential.  If you jus unblock it but don't
> run it it stays blocked.
>
> 2. When you get the security warning, de-select the check box at the bottom
> of the dialog.
> "Always ask before opening this file".
>
>
> --
> Stuart
>
> On 27 Aug 2009 at 6:54, Rocky Smolin wrote:
>
> > How do I tell Vista that a program is safe to run so that Vista will
> > stop asking me every time I run it?
> >
> >
> >
> > TIA
> >
> >
> >
> > Rocky
> >
> >
> >
> >
>
>
> _______________________________________________
> dba-Tech mailing list
> dba-Tech at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-tech
> Website: http://www.databaseadvisors.com
>
> _______________________________________________
> dba-Tech mailing list
> dba-Tech at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-tech
> Website: http://www.databaseadvisors.com
>



More information about the dba-Tech mailing list