This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

regedit don't memorize changes

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander Pocket Printable version
View previous topic :: View next topic  
Author Message
boostpt
Junior Member
Junior Member


Joined: 11 Sep 2009
Posts: 4

PostPosted: Fri Sep 11, 2009 5:20 pm    Post subject: regedit don't memorize changes Reply with quote

hello.

I have a problem. my devide ir becker 7827 with wince 5.0

after I make some changes in my data with regedit, all goes well until I shut down the devide.

when it starts again, all data seems to undo all changes that I made earlier.
It seems that in the startup it runs a reset comand that puts all the data as it came as new.

do you have any ideia how to make the device to memorize the changes?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Sun Sep 13, 2009 3:03 am    Post subject: Reply with quote

Did you make a soft reset or hard reset? On a hard reset, all user data is reset, including the registry.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
boostpt
Junior Member
Junior Member


Joined: 11 Sep 2009
Posts: 4

PostPosted: Sun Sep 13, 2009 5:14 am    Post subject: Reply with quote

ghisler(Author) wrote:
Did you make a soft reset or hard reset? On a hard reset, all user data is reset, including the registry.


No. I don't make neither one.

this is strange.
If a put a file in the windows directory, that file is erased when I shut down the device.
I think that every time that the gps is turned on, it seems like the windows is reinstalled again and again.

is possible that the installation windows is hidden in a folder or in the device memory and the changed files are replaced every time that the windows restarts?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Sun Sep 13, 2009 9:49 am    Post subject: Reply with quote

That would be rather unusual. How about the program directory (program files)?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
boostpt
Junior Member
Junior Member


Joined: 11 Sep 2009
Posts: 4

PostPosted: Sun Sep 13, 2009 2:18 pm    Post subject: Reply with quote

all folders are reseted every time that gps starts:
my documents; program files; windows.. all these are replaced in startup.


the folder "my flash disk" is not replaced. it keeps all changes that I make
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Mon Sep 14, 2009 9:05 am    Post subject: Reply with quote

I see - is there an Autostart/Startup folder which would allow to launch a program automatically? This could be used to add the changes to the registry automatically.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
boostpt
Junior Member
Junior Member


Joined: 11 Sep 2009
Posts: 4

PostPosted: Mon Sep 14, 2009 6:04 pm    Post subject: Reply with quote

ghisler(Author) wrote:
I see - is there an Autostart/Startup folder which would allow to launch a program automatically? This could be used to add the changes to the registry automatically.


yes there is.

the gps autostart a application named shell.exe.
That application is stored in "\my flash disk\....", so I can change that aplication to what ever I want (with the same name of course).
At this moment it runs the explorer.exe. I rename it to shell.exe and so it runs automatically when it starts.

I thought in an applications named MortScript.exe. I rename it to shell.exe and it would run automatically a script.

It runs a script stored in a file. But i'm not a expert in that commands.

I've already tried to run some script that imports some lines with changes to registry. but it does't work:

Run ( "\My Flash Disk\programas\TRE.exe -s \My Flash Disk\programas\exports_1.reg" )

Run ( "\windows\explorer.exe" )

the second line works ok, but the first does not.

TRE.EXE is a regedit program, version 0.82
exports_1.reg contains the lines that I want to import to registry.

I dont know if the command is ok or not. I cannot find a help file for TRE.EXE

can you help me in these commands?

thanks
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Tue Sep 15, 2009 2:58 am    Post subject: Reply with quote

The first fails because of the spaces in the name. I just checked the syntax of your scripting tool MortScript.exe, and it seems that you need to write it like this:
Run( Applikation [, Parameter ] )

so in your case it would be

Run ( "\My Flash Disk\programas\TRE.exe", "-s \My Flash Disk\programas\exports_1.reg" )
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
siealex
Senior Member
Senior Member


Joined: 22 Mar 2009
Posts: 212

PostPosted: Tue Oct 06, 2009 4:55 am    Post subject: Reply with quote

After applying the registry changes, WAIT about 3..5 minutes before pressing reset. The changes are cached in RAM and are not written immediately to FLASH memory.
_________________
We are not so S.M.A.R.T. as we imagine...
Back to top
View user's profile Send private message Send e-mail
Cheetah
New Member
New Member


Joined: 27 Jan 2011
Posts: 1

PostPosted: Thu Jan 27, 2011 10:59 pm    Post subject: Reply with quote

Hi,..
Using XP Pro SP2. I deleted the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run MSMSGS to
eliminate the pop up messages. But after windows restart (or shut down) the
key is back in the registry. Why are my changes saved?

thanks,..
_________________
tiffany jewellery store
tiffany and co
tiffany and co
tiffany jewellery uk
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Fri Jan 28, 2011 10:05 am    Post subject: Reply with quote

The registry is cached in memory by the system, and only written to flash after some time - sorry, I don't know the exact amount of time. I have been looking for a function to flush the registry to disk, but didn't find anything yet...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander Pocket All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group