Windows 7 update and TEMP- folder

FAQ, getting help, user experience about Primo Ramdisk
Post Reply
disker
Posts: 12
Joined: Sun Sep 02, 2012 5:56 pm

Windows 7 update and TEMP- folder

Post by disker » Fri Nov 16, 2012 7:26 am

Hello,
if system TEMP/TMP variables are set to ramdisk (for example X:\temp), some Windows online updates are not finishing its installation. In third step (after rebooting) from 30% on recovery to former state is started...

If system TEMP/TMP variables are set to a fixed disk, windows online update are running/finishing without any problems.

System TEMP folder on ramdisk is created at logon with a batch file because of configuring user rights:

Code: Select all

robocopy c:\daten\RAMdisk\ x:\ /E /COPYALL
'Create "TEMP" folder automatically' is NOT set in Primo ramdisk configuration.

(Win7prof 64bit, Primo Ramdisk prof 5.6.0)

How to solve this issue? Setting user rights to system TEMP folder is necessary...

Thx...

disker
Posts: 12
Joined: Sun Sep 02, 2012 5:56 pm

Re: Windows 7 update and TEMP- folder

Post by disker » Sat Nov 17, 2012 6:45 pm

Maybe calcs.exe is a workaround for setting user rights to system TEMP folder on ramdisk X: ?

Code: Select all

robocopy c:\daten\RAMdisk\ x:\ /E /COPYALL
cacls x:\temp /e /g user:C
http://support.microsoft.com/kb/135268

User avatar
support
Posts: 2270
Joined: Sun Dec 21, 2008 2:42 am

Re: Windows 7 update and TEMP- folder

Post by support » Tue Nov 20, 2012 6:29 am

I am not sure if I correctly understand your problem.
disker wrote:if system TEMP/TMP variables are set to ramdisk (for example X:\temp), some Windows online updates are not finishing its installation. In third step (after rebooting) from 30% on recovery to former state is started...
Well, this is a well-known problem. If you haven't enabled the image file feature, the data on ramdisk will be lost accross reboots. So some installation cannot continue after rebooting.
disker wrote:Setting user rights to system TEMP folder is necessary...
How about to set access rights for the whole ramdisk? If it is ok, you may try the option "Set permissions for account "Everyone"" while you create/edit a ramdisk.

disker
Posts: 12
Joined: Sun Sep 02, 2012 5:56 pm

Re: Windows 7 update and TEMP- folder

Post by disker » Tue Nov 20, 2012 3:49 pm

support wrote:
disker wrote:if system TEMP/TMP variables are set to ramdisk (for example X:\temp), some Windows online updates are not finishing its installation. In third step (after rebooting) from 30% on recovery to former state is started...
Well, this is a well-known problem. If you haven't enabled the image file feature, the data on ramdisk will be lost accross reboots. So some installation cannot continue after rebooting.
Ramdisk is containing only temp files (system/users) and pagefile, so it shall be cleaned up while rebooting. If using image file feature, older stuff is conserved while rebooting...
support wrote:
disker wrote:Setting user rights to system TEMP folder is necessary...
How about to set access rights for the whole ramdisk? If it is ok, you may try the option "Set permissions for account "Everyone"" while you create/edit a ramdisk.
Setting access right to whole ramdisk is NOT possible because of containing the user TEMP folders too.

At which state of booting is TEMP folder intialized if configured in Primo ramdisk?

User avatar
support
Posts: 2270
Joined: Sun Dec 21, 2008 2:42 am

Re: Windows 7 update and TEMP- folder

Post by support » Tue Nov 20, 2012 9:55 pm

disker wrote:At which state of booting is TEMP folder intialized if configured in Primo ramdisk?
TEMP folder is created at the same time when the ramdisk is created. So it is created at very early stage.

Post Reply