Re: Set temp path by Policy

From: KM (konstmor_at_nospam_yahoo.com)
Date: 08/31/04


Date: Tue, 31 Aug 2004 01:12:34 -0700

Yaron,

I don't have that system in front of me right now but reviewing your reg.
file I would aslo add these:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths]
"Directory"="Z:\\Temporary Internet Files\\Content.IE5"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths\path1]
"CachePath"="Z:\\Temporary Internet Files\\Content.IE5\\Cache1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths\path2]
"CachePath"="Z:\\Temporary Internet Files\\Content.IE5\\Cache2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths\path3]
"CachePath"="Z:\\Temporary Internet Files\\Content.IE5\\Cache3"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths\path4]
"CachePath"="Z:\\Temporary Internet Files\\Content.IE5\\Cache4"

(in case you want to move printer spooler temp directory as well)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers]
"DefaultSpoolDirectory"="Z:\\Temporary Internet Files"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers]
"DefaultSpoolDirectory"="Z:\\Temporary Internet Files"

(in case you don't want users to download files to protected partitions)
[HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer]
"Download Directory"="Z:\\"

I also recall that I could set
[HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache\Paths\pathX],"CachePath" is hex only (binary, not string).

I don't remember if I tested much creating a new account that time but I did
create and setup some accounts during FBA.

In any case, if it does not work for you, you can end up having a Runonce
item for all users (.DEFAULT hive) that will clean up itself in the registry
under HKCU key on the first run.

KM

> Hi KM,
>
> I've created all the required reg settings for moving the IE and other
Temp
> to Ram-Disk,
> but when a new user account logs in it is not effected.
> could you detail me excatly what you setup for moving all type of Temps+IE
> to Ram-Disk?
> I attached a reg file for all the settings I've made.
> I only succeded in changing the System's Temp+Tmp but not the User's
Temp's.
> also, the Admin's Temp's are ok because this account in staying unchanged.
> my intention is to make sure each new user account that is created will be
> directed to Z:\
>
> thanks,
>
> YaronM
>
>
> "KM" <konstmor@nospam_yahoo.com> wrote in message
> news:OMZ78hljEHA.1644@tk2msftngp13.phx.gbl...
> > Yaron,
> >
> > I am wondering why don't you setup all the required reg.settings in
> > .DEFAULT reg.hive?
> > This will apply to all users.
> >
> > I've done that for moving IE and other temp paths to Ram-Disk drive for
> > all
> > users in system.
> >
> > KM
> >
> >> Hi Slobodan,
> >>
> >> I tried your suggestion, but it helps me only in the first boot of the
> > Admin
> >> account.
> >> still, the limited user accounts are directed by the system to the
> >> default
> >> c: drive.
> >>
> >> is there anyone using a Ram-Disk for temporary storage out-there??
> >> I'm sure I'm dealing with a problem that has a simple solution for it.
> >> all I need is to make sure all system's Temp & IE temp files are always
> >> saved on Z: drive.
> >>
> >> hope someone could drop some info.
> >>
> >> thanks,
> >>
> >> YaronM
> >>
> >> "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
> >> news:%23nMa7o1iEHA.3972@tk2msftngp13.phx.gbl...
> >> > Hi Yaron,
> >> >
> >> > Answers to question 1:
> >> >
> >
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&c2coff=1&selm=eAPl%232qBEHA.3524%40TK2MSFTNGP10.phx.gbl
> >> >
> >> > Best regards,
> >> > Slobodan
> >> >
> >> > "Yaron Maor" <yaronmaor@012.net.il> wrote in message
> >> > news:eyJL3Z1iEHA.2524@TK2MSFTNGP11.phx.gbl...
> >> >> Hi,
> >> >>
> >> >> I would like to set the temp IE files & environment Temp paths to a
> >> >> RAM
> >> >> disk
> >> >> Z:\
> >> >> I found the registry locations to do it manually, but now I face two
> >> >> problems:
> >> >>
> >> >> 1. when componentizing the reg data, how can I make sure it will run
> > last
> >> >> in
> >> >> FBA so the system will not overwrite it?
> >> >> 2. how can I make sure it is set as the default path for future new
> >> >> accounts
> >> >> that will be created?
> >> >>
> >> >> thanks,
> >> >>
> >> >> YaronM
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
>



Relevant Pages

  • Re: Set temp path by Policy
    ... I run on startup a batch with "reg import settemp.reg". ... but some of the reg settings were HKLM and caused the whole file to get ... > I don't remember if I tested much creating a new account that time but I ... >> I've created all the required reg settings for moving the IE and other ...
    (microsoft.public.windowsxp.embedded)
  • Re: A correspondance with Cahill on 20 12 2004
    ... > Reg Cahill's result can be explained if one takes account ... > of both the refractive index and Lorentz contraction. ...
    (sci.physics.relativity)
  • Re: Money for old Rope
    ... >> reg wrote: ... >> How long do you reckon I could setup another account? ...
    (uk.people.consumers.ebay)
  • Re: Outlook 2003: remove specific account programatically?
    ... You'd have to hack the registry, which isn't easy, since an account won't be in the same reg key on every machine. ...
    (microsoft.public.outlook)
  • Re: Setup of Information Store Service fails
    ... Exchange 2000 Setup Fails and Security Vulnerability ... When you set up Microsoft Exchange 2000 Server or Exchange 2000 Enterprise ... The account name is EUSER_EXSTOREEVENT, ... When You Install Exchange 2000 on a Member Server ...
    (microsoft.public.exchange2000.information.store)