regedit changes are ignored

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
yaturner
Level 1
Level 1
Posts: 7
Joined: Tue Aug 12, 2008 4:36 am

regedit changes are ignored

Post by yaturner »

This is in relation to a printer problem I am having, but when I edit the registry using

regedit

or

wine regedit /d "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows"

the changes never get saved, the key is there the next type I look in regedit, any ideas?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

regedit changes are ignored

Post by austin987 »

On Tue, Aug 12, 2008 at 10:44 AM, yaturner <[email protected]> wrote:
This is in relation to a printer problem I am having, but when I edit the registry using

regedit

or

wine regedit /d "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows"

the changes never get saved, the key is there the next type I look in regedit, any ideas?





It is automatically being restored, when wineboot is run. Why are you
deleting that key?
yaturner
Level 1
Level 1
Posts: 7
Joined: Tue Aug 12, 2008 4:36 am

Post by yaturner »

The key that I am actually trying to delete is for a bogus printer that I no longer have on my system but wine keeps trying to use as my only printer. This leads to my next question

where does wineboot restore the settings from?

I have already checked cups and there is no entry for the old printer so I am trying to manually delete it from wine's registry
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

regedit changes are ignored

Post by austin987 »

On Tue, Aug 12, 2008 at 11:59 AM, yaturner <[email protected]> wrote:
The key that I am actually trying to delete is for a bogus printer that I no longer have on my system but wine keeps trying to use as my only printer. This leads to my next question

where does wineboot restore the settings from?

I have already checked cups and there is no entry for the old printer so I am trying to manually delete it from wine's registry





From wine.inf. You might try starting with a fresh .wine, if you've
got a lot of cruft, that may be your problem.
James McKenzie

regedit changes are ignored

Post by James McKenzie »

Austin English wrote:
On Tue, Aug 12, 2008 at 11:59 AM, yaturner <[email protected]> wrote:
The key that I am actually trying to delete is for a bogus printer that I no longer have on my system but wine keeps trying to use as my only printer. This leads to my next question

where does wineboot restore the settings from?

I have already checked cups and there is no entry for the old printer so I am trying to manually delete it from wine's registry






From wine.inf. You might try starting with a fresh .wine, if you've
got a lot of cruft, that may be your problem.


Austin and yaturner:

Fresh .wine == rm -rf ~/.wine

However, you just might not want to do this. Backup your current .wine
by using the move (mv) command instead. This allows you to restore the
.wine directory if a fresh .wine does not fix the problem.

code:
mv .wine{,.backup}

restore old .wine
code:
rm -rf .wine
mv .wine.backup .wine

Stop and start wineserver:
wineserver -k
winserver (or) start any Windows program with Wine.

James McKenzie
Locked