1

So I am attempting to copy a User Profile to the default profile. I am using WinSpy++ to enable the disabled "Copy To" button - this process works on a stock laptop I have here.

However, this does not work in a customised image I have with a fair amount of registry settings changed and policies applied. Additionally, I should be able to copy the default profile over another profile regardless, but I cannot.

The Application Event log lists this:

Error Instrument: ProcessName: systempropertiesadvanced.exe 
WindowTitle: Copy To  MsgCaption: Confirm Copy  MsgText:
C:\Users\username\Desktop\test already exists. The current contents of this
directory or this file will be deleted during this operation.  Are you
sure you want to continue? 
CallerModuleName: unknown  
BaseAddr: 0XFFFFFFFF        ImageSize: 0XFFFFFFFF         ReturnAddr: 0X00000001

It is the contents of the popup that should show up when I click OK on the copy to dialog... before the profile copy is actually performed.

I intend to diff the registry settings between a known working system and this system... but it is a lot to wade through.

Additionally... The image it does not work on is a Windows Standard Embedded 7 install and after testing it doesn't work even with a mostly clean install so it could be something missing from the installation. I also noticed there are other pop up type messages not displaying (I noticed them in the event logs)

The Event ID is 1072

1

EnableDefaultReply for MessageBoxes was set in the registry.

Details here (Just search for EnableDefaultReply if the link goes dead): http://msdn.microsoft.com/en-us/library/ms940850(v=WinEmbedded.5).aspx

  1. In the HKLM\System\CurrentControlSet\Control registry key, create a new key named Error Message Instrument.

  2. Under the Error Message Instrument key, add the values of type REG_DWORD from the following table.

EnableDefaultReply 0x00000001 Enables the Enable Default Reply feature.

This cuases windows to auto reply to messageboxes... and meaning it was auto canceling my profile copy.

  • To accomplish this from a command line you can use this: reg add "HKLM\SYSTEM\CurrentControlSet\Control\Error Message Instrument" /v EnableDefaultReply /t REG_DWORD /d 0 /f – trindflo Mar 11 '17 at 7:10
  • Sure but anyone that should be mucking about the registry would already know that... – cb88 Mar 14 '17 at 17:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.