HKCU registry and the start up application which one will ready first

Hello guys, here is my question. When create a new user in windows8.1, and I write a service to launch my appA to do something.
and my appA will read the registry at HKCU, but failed! Then I restart appA, read the registry again, it success!  I guess when the new user was created the appA was launched before the HKCU ready. Is it true? 

Hi Henry,
It might be a permission issue. Windows services execute under different account which compare with desktop app. They are the following.
LocalSystem,
https://msdn.microsoft.com/en-us/library/windows/desktop/ms684190(v=vs.85).aspx
NetworkService,
https://msdn.microsoft.com/en-us/library/windows/desktop/ms684272(v=vs.85).aspx
LocalSerivce,
https://msdn.microsoft.com/en-us/library/windows/desktop/ms684188(v=vs.85).aspx
Please add log handler in appA to see the failure in details.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • While executing the application which method will trigger first

    Hi all,
    while executing a webdynpro application which hooker  method will trigger first?

    Hi Naveen,
    The first method called is the WDDOINIT of the component controller.
    For more details on hook method please see the below link.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/HooksMethodsinWebdynprofor+ABAP
    http://help.sap.com/saphelp_tm70/helpdata/en/45/c87f413e70010de10000000a1550b0/frameset.htm
    Thanks
    Pradeep

  • I have both the iPad 2 and the iPad 4. Which picture will best demonstrate the difference between the Retina screen and the normal one?

    So i have both the iPad Retina and the iPad 2. I am yet to be convinced that there is a difference between the quality of the pictures on the two screens. They all look the same to me. Suggest a picture which will best demonstrate the difference that a Retina is infact a much much better screen.

    Look at the status bar, like where the word "iPad" appears in the upper left.
    Or...
    Look at the Calendar icon on the home screen.

  • 2 subscriptions at the same time. Which one will b...

    Hi there,
    Here is my question.
    I have an old 300-minute plan subcription that allows me to call brazilian lines (land lines + celphones).
    I want to keep it, but I would also like to subscribe to a new 100-minute plan so I can call worldwide (over 50 countries/regions)
    My question is , when I call a landline in Brazil, which plan will the minutes be deducted from ?
    I'm asking that because when I call brazilian landlines, I don't want the minutes to be deducted from the 100-minute worldwide plan (which I'd use to call other countries), but from the old "Brazil" 300-minute plan.
    Can someone help me out ?
    Thanks.

    Hi and welcome to the Skype Community,
    Skype will start using the minutes from your older subscription first. So you are all set since you started with the landline only subscription.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Xsd and dtd: which one will overrule

    Hi,
    if I have both DTD and XSD, and the rules in them are conflicting (say: the DTD indicates that an element is mandatory and the XSD is indicating that the element is optional): which one will overrule?
    Kind regards

    An XML document may have only either a DTD or a schema specified.

  • I am running safari 7.0.6 with IOS 10.9.4. after the mac has been asleep and I log on I cannot open safari as it appears to have crashed. the workaround to this is to reboot the IOS and log back in after which safari will open.

    I am running safari 7.0.6 with IOS 10.9.4. after the mac has been asleep and I log on I cannot open safari as it appears to have crashed. the workaround to this is to reboot the IOS and log back in after which safari will open. Any ideas on how to resolve this?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • I bought a second hand G4 iBook with iLife 09 on it.  I have copied iLife to my new Macbook Pro. The applications would not open, so I did a software update and update all three applications, but they will still not open.  Can anyone help?

    I bought a second hand G4 iBook with iLife 09 on it.  I have copied iLife to my new Macbook Pro. The applications would not open, so I did a software update and update all three applications, but they will still not open.  Can anyone help?

    The seller should have given you the original disk so that you can reinstall as needed. But it likely was a single-user license (which really means single computer) so you can only have a copy on one computer at a time. If the seller didn't give you the disk he is probably still using the software on his new Mac. Your best option to get any of the iWork apps to use in OS X 10.6.6 or later is through the Mac App Store. You can then install them on any Mac you have that has access to the Mac App Store using your Apple ID.

  • Merging the task bar and the Start Screen area

    Follow-up for:
    http://social.technet.microsoft.com/Forums/en-US/dbb2102f-00b7-47ca-88f2-4f88cd9d3409/followup-starting-launching-and-switching-?forum=WinPreview2014Feedback&prof=required
    +
    http://social.technet.microsoft.com/Forums/en-US/dd12fecb-f23d-4ed5-8dad-9a1efe264678/followup-enhancing-multitasking-in-windows-10-with-the-cloud?forum=WinPreview2014Feedback
    Can see the Start Screen more or less works as the Start Screen in Windows 8. However, the coupling features needs to be there. It's a mess.
    And there is still the ambiguity between the Taskbar (= Start) and the Start Screen (= Start). It's the same thing, pinning.
    And they should relate to desktop virtualization.
    May be you could have the icons on the current task bar flow with the start screen area? Work the coloring - and the "ease out" of the menu. So it would seem the task bar is just extending into a bigger area. Then as a user you
    could put the pins used on a daily basis at the very bottom. And the ones used weekly on the Start Screen for instance.
    Additionally,  grouping of pins is needed. That was a nice feature on the Start Screen. And it should be available on the task bar for pins as well - now that the task bar and the Start Screen should be more or less merged as in this
    proposition.

    I agree. I think the Start Menu tiles should function EXACTLY the same as the Start Screen tiles, which includes the arrangement options in groups as well as the ability to multi-select/pin/move/unpin tiles.
    I would also add that I'd like an option to hide the search and task-switcher buttons from the taskbar. Task switcher is redundant considering you can also swipe and keyboard-shortcut that feature. Search is accessible from Start Menu, although
    I understand that once Cortana is enabled via Search button that might change my opinion of its usefulness there.

  • Snipping tool used with PDF's and the start screen.

    The way the snipping tool operates in W10 is infinitely better than W8.1 (which was messy to capture a snip from a pdf for example)
    Good improvement.

    I agree. I think the Start Menu tiles should function EXACTLY the same as the Start Screen tiles, which includes the arrangement options in groups as well as the ability to multi-select/pin/move/unpin tiles.
    I would also add that I'd like an option to hide the search and task-switcher buttons from the taskbar. Task switcher is redundant considering you can also swipe and keyboard-shortcut that feature. Search is accessible from Start Menu, although
    I understand that once Cortana is enabled via Search button that might change my opinion of its usefulness there.

  • HT1665 I have the iPhone 4S and would like to purchase docking device6. I have the Otter Box Camo case and would like to know which dock will work with the case ON. Thank you.

    I have the iPhone 4S and would like to purchase a docking device.  I have the Otter Box Camo case and would like to know which dock will work with the
    case ON.   Thank you.

    it might be better to contact otterbox to find out from them what they made it compatible with. 

  • I have just purchased the new macbook pro 15" and see that it comes with 2 discs in the box, one being Mac OS X and the other being Applications Install DVD. Are these pre installed? or do I need to insert the discs and install them?

    I have just purchased the new macbook pro 15" and see that it comes with 2 discs in the box, one being Mac OS X and the other being Applications Install DVD. Are these pre installed? or do I need to insert the discs and install them?

    All has been installed. Those are there in case you need to do a reinstall. Unlike most Windows based hardware vendors these days. Apple still ships software you might need in case a drive fails. Even in the case of the new MacBook Air, Apple ships the software on a flash drive.

  • There is an inconsistency between the authentication mode of target web application and the source web application after migrating to claims

    I've had my farm upgraded from SP2010 to SP2013 for over 6 months now and all is well, however, I was refreshing my staging environment from production and I noticed that one of the databases still shows these errors when I run test-spcontentdatabase:
    Category             : Configuration
    Error             : False
    UpgradeBlocking : False
    Message           : The [SharePoint Web App] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against
    a windows classic authentication mode.
    Remedy              : There is an inconsistency between the authentication mode of target web application and the source web application. Ensure that the authentication mode setting in upgraded web application is the
    same as what you had in previous SharePoint 2010 web application. Refer to the link "http://go.microsoft.com/fwlink/?LinkId=236865" for more information.
    This doesn't make sense considering I converted the production web application to claims during the upgrade and then verified all sites were working with claims logins. I also verified that existing AD user identities were converted to claims by checking out
    the database tables. Yet test-spcontentdatabase still thinks there is a mismatch here.
    My farm is SP1 and no further CUs. The point of this particular refresh is so I can update to the November CUs in my test farm. Anyone else see this? Seems like it's a bug/safe to ignore because my stuff is working.
    Thanks,
    Aaron

    See:
    http://thesharepointfarm.com/2014/11/test-spcontentdatabase-classic-to-claims-conversion/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I have installed Lion and the Front Row application desapered!  How do I get it back

    I have installed Lion and the Front Row application desapered!  How do I get it back

    denisefromgreen valley wrote:
    I have installed Lion and the Front Row application desapered!  How do I get it back
    You don't.  Apple no longer ships Front Row... it's part of the OS... so it goes away when you upgraded.

  • My mac wont turn on. It is charging and the on light is on when the computer is shut but once I open it the light turns off and the screen is black.  I turn it off and then on again and the start up noise goes but it is still black - Help!?

    My mac wont turn on. It is charging and the on light is on when the computer is shut but once I open it the light turns off and the screen is black.  I turn it off and then on again and the start up noise goes but it is still black - Help!?

    Claire, please post your machine specs as requested. There are some variants of the MBP with specific hardware issues. Example: the older "silver key" MBPs with 2.2Ghz and faster processors can have a defective video chipset that produces a black screen or distorted video. That problem is covered under an Apple program that will fix this at no cost to you if you computer is that model.
    Do "About this Mac" from your Apple menu and, in the resulting window, click the "More Info..." button. That launches System Profiler for you. The first screen looks like this:
    The second line, "Model Identifier" (or "Machine Model" if you are running OS10.4) precisely identifies your MBP variant. Post that, and include it in your equipment info in your profile for future posts. That means people don't have to ask, and you get faster help that is targeted to your specific model. Saves everybody a bunch of keystrokes and you get better advice.

  • Is 1GB ram is enough for the installation of oracle developer suite 10g and database 11g???  And which one to install first developer suite or database????

    Hello everyone,
    I have install windows XP in my existing windows 7 64 bit system using virtualization software. I have allocated 1024 MB of RAM to XP virtual windows.
    Now, M trying to install oracle developer suite 10g and oracle database 11 in the XP windows.
    IS 1GB ram is enough for the installation of oracle developer suite 10g and database 11g???
    And which one to install first developer suite or database????
    Thanks in advance.

    you should check (before installing) requeriments from documentation.
    Oracle Developer Suite Installation Guide 10g (10.1.2.0.2) for Solaris, Windows and Linux x86
    Table 4 Memory Requirements for Oracle Developer Suite Components
    Component
    Memory
    Oracle10g JDeveloper (including Oracle Business Intelligence Beans, and UIX and Bali subcomponents)
    Minimum: 256 MB
    Recommended: 512 MB
    Oracle Reports Developer
    Minimum: 128 MB
    Recommended: 256 MB
    Oracle Forms Developer
    Minimum: 128 MB
    Recommended: 256 MB
    I usually install first database and later DS, I never tried first DS and later database.

Maybe you are looking for