TechSpot

Need to block a program from saving file to temp directory.

By MaXtor
Jan 28, 2006
  1. I need block a program from saving to temp directory. Its a little project of mine and I need a program or something that is capable of blocking a program from using with temp directory located here:
    C:\Documents and Settings\---Account---\Local Settings\Temp

    When the program is ran it saves a temperary file in that directory, I need a way to stop it this. Sorry I can't really explain why. Can anyone help me?

    I don't care if the Temp folder is disabled or anything, I just need to stop the program from saving that temp file. Also the file changes names, so its like "randomname".tmp...

    I need help ASAP...
    Thank you so much!
     
  2. xero

    xero TS Rookie Posts: 94

    Are you running xp home edition? too bad. no fix.

    Running professional? on ntfs partition?
    Good.

    Create a backup administrator in user management
    Find out the process which writes the file (use process explorer from sysinternals.com) and its user.
    (continue only when it is not localsystem)
    Block the user from the process by setting read only rights (list execute and read) on the security tab of the folder. Apply settings and propagate to children.

    Make sure you dont deny the groups!!! only the user the process runs with.
     
  3. Samstoned

    Samstoned TechSpot Paladin Posts: 1,018

    you can find how to adjust under mycomputer properties advanced environment variables
    can delete and move to another drive and rename
     
  4. MaXtor

    MaXtor TS Booster Topic Starter Posts: 100

    Thank you guys. Okay I think I got it. Thanks again for the help.
     
  5. xero

    xero TS Rookie Posts: 94

    no problemo
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...