Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Blocking executables from certain drives/paths.

Reply
 
Old 04-17-2008   #1 (permalink)
aptgetmoo


 
 

Blocking executables from certain drives/paths.

Hello.
I've just bought a new laptop with Vista Home Premium installed. I used to
create policies on my old laptop(XP Pro) using gpedit.msc to block all *.exe
files from running except of those in C: partition(my Windows partition). I
did this to prevent me(or whoever using my laptop) from accidentally run
viruses from usb drives, well there is no need for me to run *.exe files from
there anywhere. Well since there is no gpedit.msc in Vista Home Premium, how
do I do this from the registry?

My System SpecsSystem Spec
Old 04-19-2008   #2 (permalink)
kentsyl


 
 

RE: Blocking executables from certain drives/paths.

Put a folder on your USB drive lable it "AUTORUN.INF", then put a note pad
file inside and write whatever you want on it, also save it as "AUTORUN.INF"
open properties on both check read only and hidden. This should keep most
viruses and worms from installing on the USB drive to start with, but if one
dose it won't be able to install a autorun file because one will allready be
there. Regular virus scans of the USB drives is also a good idea, and you
shouldn't ever double click a *.exe file without a virus scan first.

"aptgetmoo" wrote:
Quote:

> Hello.
> I've just bought a new laptop with Vista Home Premium installed. I used to
> create policies on my old laptop(XP Pro) using gpedit.msc to block all *.exe
> files from running except of those in C: partition(my Windows partition). I
> did this to prevent me(or whoever using my laptop) from accidentally run
> viruses from usb drives, well there is no need for me to run *.exe files from
> there anywhere. Well since there is no gpedit.msc in Vista Home Premium, how
> do I do this from the registry?
My System SpecsSystem Spec
Old 04-20-2008   #3 (permalink)
aptgetmoo


 
 

RE: Blocking executables from certain drives/paths.

Thanks for your reply. Actually I have done that before and it did not work,
a virus could over write the file even though it is read only. And what I
wanted to do is creating a policy that will block all *.exe from running from
my usb drives and cdrom drive. Virus scanning is a good tip but some viruses
are not known to the virus scanner. Anyway, like what I've said, I don't want
to run any *.exe file from my usb drives. Hope anyone can point me on
creating apolicy through the regedit

"kentsyl" wrote:
Quote:

> Put a folder on your USB drive lable it "AUTORUN.INF", then put a note pad
> file inside and write whatever you want on it, also save it as "AUTORUN.INF"
> open properties on both check read only and hidden. This should keep most
> viruses and worms from installing on the USB drive to start with, but if one
> dose it won't be able to install a autorun file because one will allready be
> there. Regular virus scans of the USB drives is also a good idea, and you
> shouldn't ever double click a *.exe file without a virus scan first.
>
> "aptgetmoo" wrote:
>
Quote:

> > Hello.
> > I've just bought a new laptop with Vista Home Premium installed. I used to
> > create policies on my old laptop(XP Pro) using gpedit.msc to block all *.exe
> > files from running except of those in C: partition(my Windows partition). I
> > did this to prevent me(or whoever using my laptop) from accidentally run
> > viruses from usb drives, well there is no need for me to run *.exe files from
> > there anywhere. Well since there is no gpedit.msc in Vista Home Premium, how
> > do I do this from the registry?
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Programs and executables vanishing General Discussion
Looking for function to resolve VirtualStore paths to physical paths Vista file management
Looking for function to resolve VirtualStore paths to physical paths Vista General
Current Directories for External Executables PowerShell
Downloading third party executables Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46