Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Set Tempfolder (c:\Temp) for all users?

Featured Replies

Hello together,

is it possible to define a tempfolder for all users (like c:\temp)?

The reason is, that I wish to have a C:\Temp folder for all users and not x Tempfolders in the profile from the users.

I´m sure there was a reg. entry. But I´m unable to find the posting...

Edit (found my old posting):

http://www.msfn.org/board/Move-Tempfolder-...ded-t42854.html

Edited by Bastian_W

Make a batch file which sets the %TEMP% and %TMP% environment variables, and add it to HKLM\Software\Microsoft\Windows\CurrentVersion\Run.

Here is a method you can use as part of your unattended procedure; It uses reg.exe from an NT command script to set the locations for all the PC Users to the same location as the default System Temp.

@Echo off&Setlocal
Set "LK_=HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
(Set VD_=/t REG_EXPAND_SZ /d "%%%%SystemRoot%%%%\Temp" /f^>Nul)
For %%? In (T TE) Do Reg add "%LK_%" /v %%?MP %VD_%
Pushd %UserProfile%\..\Default User
Reg load HKU\TempHiv NTUSER.DAT>Nul 2>&1||Goto :Eof
For %%? In (T TE) Do Reg add HKU\TempHiv\Environment /v %%?MP %VD_%
:Un_
Reg unload HKU\TempHiv>Nul 2>&1||Goto Un_

Just change SystemRoot for SystemDrive if you prefer the location to be in the root of the drive instead!

  • 2 months later...
  • Author

Hello Yzöwl

Hello RubySoftware

sorry for the delay... I didn´t get a notification about this topic :-(.

Wouldn´t it possible to put a settemp.cmd into:

C:\Documents and Settings\All Users\Start Menu\Programs\Startup

which set and overwrite the temp variables in the reg.?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.