Question Locked

How can I change the location of the TEMP=C:\Windows\Temp folder?

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi! We're having problems in our organization. It seems that the screensaver that is to be deployed can only be ran by users who has Modify access to Temp folder (C:\Windows\Temp). We've tried scripting/GP to add the Users Modify to the folder but it just didn't work. Here is what happened:

Reset computer.
UserA logs in. Users has modify in temp
UserA logs off.
UserB logs in. User doesn't have modify in temp.

Now my other solution is just to change the location of the temp folder and just put it in the directory of the user logged on. That way, he'll have full control over the folder. Is this possible? Can this be done via script? Thanks!

8 replies

by hal 9000

[b]Move[/b] option and see if that will work. As I've never tried to remove anything from the main Windows Folder ever previously I have no idea of what you can do in this case but I do know that writing a GP isn't the answer to this problem.

Actually I would be looking at those responsible for the Screen Saver and asking then to do their job properly. Moving parts of the Core Windows Kernel around is never the answer to any problem that is introduced by some second rate software that you may wish to use.

Col

by lowlands

On XP the temp folder already is under c:\documents and settings\username. So that should work I'd assume. On Windows 2000 you should be able to change it. Do a search in the registry, it gets stored in there somewhere.

I'd have to agree with JD though, seems an awfull lot of trouble for a screensaver

by shadowofthedarkgod

First of all. Thanks!

Yes, I know. It is a lot of trouble. I actually wanted to return the stupid screensaver to them and tell them its flawed but those IT guys in India kept insisting that we have to implement it. Really annoying since the previous screensavers worked withouth needing any Modify permission from the Users at the temp folder.

HOWEVER, until they say so, I have to make it work :-(. I've actually given up on the permission change on C:\Windows\Temp since no matter what I do, the permission just gets reset. My other approach now is just to move it to the local users folder where they have full control access for the screen saver to be ran.

Any ideas? Thanks again for your time!

by tyrellfdo

Have you identified a Screen Saver which works without having access to Windows/Temp folder?

by cale

Why wouldn't a change in the acl on the C:\Windows\Temp directory to the tune of add full control for 'Everyone' group work? I don't think that would change back on a restart.

by douglashindle

If the user opens a command prompt and type set you will see TEMP= and TMP=. Normally they point to the users profile. They are now pointing to c:\windows\temp. I just found the same thing. We locked down the Windows folders. You will need to see how to correct this but I hope I could hear from you first as this happened so far back inthe past.

This discussion is closed to new replies.