Blocking system keys

I'm develpoing with NetBens4.1 / Windows CE 3.0 / JeodeJVM 1.2.
I'd solved the Runtime.exec() lack in that JVM implementation by JNI calls to DLL's developed with Microsoft EVC++3.
Somebody have's an C++ example on how to block system keys like CTRL+ESC, ALT+TAB in Windows CE ?
Registry settings would help to...

Found out.
The taskbar get's the ALT+TAB and the CTRL+ESC events, so just disabling it locks these keys. Heres the JNI code:
SysLib.cpp
JNIEXPORT jint JNICALL Java_sys_SysLib_HideTaskBar
(JNIEnv *env, jclass obj) {
HWND hTaskBarWnd;
HWND hDeskTopWnd;
int rc=1;
// find the window and hide
hTaskBarWnd=FindWindow(_T("HHTaskBar"),NULL);
if (hTaskBarWnd)
EnableWindow(hTaskBarWnd,FALSE);
ShowWindow(hTaskBarWnd,SW_HIDE);
else
rc= -1;
// find the desktop window and resize it
hDeskTopWnd=FindWindow(_T("DesktopExplorerWindow"),NULL);
if (hDeskTopWnd)
SetWindowPos(hDeskTopWnd,NULL,0,0,GetSystemMetrics(SM_CXSCREEN),
GetSystemMetrics(SM_CYSCREEN), SWP_NOACTIVATE | SWP_NOZORDER |
SWP_NOMOVE);
else
rc= -2;
return rc;
JNIEXPORT jint JNICALL Java_sys_SysLib_ShowTaskBar
(JNIEnv *env, jclass obj) {
HWND hTaskBarWnd;
HWND hDeskTopWnd;
int rc=1;
// find the window and show it
hTaskBarWnd=FindWindow(_T("HHTaskBar"),NULL);
if (hTaskBarWnd)
EnableWindow(hTaskBarWnd,TRUE);
ShowWindow(hTaskBarWnd,SW_SHOW );
else
rc=-1;
// find the desktop window and resize it
hDeskTopWnd=FindWindow(_T("DesktopExplorerWindow"),NULL);
if (hDeskTopWnd)
SetWindowPos(hDeskTopWnd,NULL,0,0,GetSystemMetrics(SM_CXSCREEN),
GetSystemMetrics(SM_CYSCREEN)-26, SWP_NOACTIVATE | SWP_NOZORDER |
SWP_NOMOVE);
// Note: 26 is the taskbar height it should be computed.
else
rc=-2;
return rc;
}

Similar Messages

  • Clean Install W7 Starter on Mini 210 - Microsoft says Manufacturer is Blocking Install Key

    I recently did a clean W7 Starter install on my HP Mini 210-2145DX. I used a Belarc key finder to retrieve the operating system key before doing the clean install with a W7 disc that I own. But the W7 Starter will not verify with Microsoft and gives an error code. I called Microsoft and read them the error code and the W7 Key. The woman asked me to find the certificate of authenticity that is attached to the computer. I told her that there was none. She said the manufacturer was blocking my W7 key. She would not help me any further.
    Does anyone know a way around this?
    Thanks,
    Mike
    This question was solved.
    View Solution.

    Also, I installed W7 Starter version. When I initially tried to install using my W7 Home Premium Disc, the key from the Belarc key finder program did not work, because it said "wrong version" of windows 7. So i had to delete the ei.cfg file from the W7 installation disc and when I did this, and burned a new iso onto a dvd, the installation asked me to select what version I wanted to install. During the install process for W7 Starter, the key that I previously retrieved from my Mini 210 using the Belarc program worked. But Microsoft told me that Microsoft won't verify the operating system as authentic because the manufacture has the key "blocked."

  • Syndicating based on Addition of a Remote System Key

    Hi
    We have a distributed system syndication scenario where we need to syndicate a record automatically when a remote system key is added to an existing harmonized record in MDM. By adding the Remote System Key, it essentially means the remote system is 'subscribing' to the new harmonized record.
    Is there any way to fire off a syndication event when a new remote system key is added to a record? It seems that MDM currently only flags a record as ready to be syndicated when a value changes in one of the fields of that record - it doesn't seem to identify the addition of a new system key to the record as a change to the record.
    Thanks for your assistance in advance.

    Hi Ravi
    Thanks for the reply. The current view is that we were going to add it manually as a remote system key mapping, as the material record would already exist and would have been harmonized in mdm - so no need to add it through an import map. The scenario is that the master record already exists and another system wishes to also receive this record. Any thoughts on what options do we have if we go this approach?
    Also, is their anyway to indicate if a remote system key is added for a new system to an existing mdm material, to indicate when syndicating that the record being sent is a 'Create' record - and hence only to syndicate it to the new remote system added and not to the other systems which also have remote key's against that record?
    Thanks
    Costa

  • Client Security Solution And System Key Recovery

    Hey,
    I have an IBM ThinkPad T40 2373-82M Laptop. Everytime Windows starts up Client Security Solution displays a box which is prompting me to enter a password of some sort for authentication. It indicates at the top of the window that the reason for authentication is 'System Key Recovery'. If I click the 'OK' button it brings up another window indicating that authentication has failed and that the security key could not be recovered. I do not recall ever entering a password in the Client Security Soultion programme or anywhere else on my laptop. I am not the first owner of this laptop and I am wondering if the previous owner may still have his/her password in the system? Is there any methid for which I could reset/restore these key's?
    Any help is appreciated.
    Cheers
    Ash

    Thanks for the reply.
    I must say I have read various issues on the web regarding this particular software buddled with Lenovo T series and although I will be uninstalling it I do not believe there is any support on this whatsoever. Too bad cause I did want to use it ...

  • Client Security Solution - System Key Recovery - After Lenovo Service

    I have a T61p running Windows 7, which I recently had to send to Lenovo for service after the video failed. According to my repair summary, the motherboard on the computer was replaced.
    I received the laptop back today, and now when I log on, the system comes up with a window from Client Security Solution asking me to "verify my identity" with "reason: system key recovery."
    Unfortunately, the program will not recognize my password, and I get an error message that authentication has failed.
    I tried calling Lenovo's support number, since the problem seems to be directly related to their replacement of the motherboard, but I received the response that "that's a software issue, we can't help you."
    Any help on this is much appreciated!

    hey shannonw,
    could you try uninstalling the Client Security Solution software and then reinstall.
    once done report back on what happen after.
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Block from key in business area for company do not have business area

    Dear experts,
    How can I do a validation rule to block from key in business area for company do not have business area?
    Kindly advice.
    tks!

    Hi,
    One option, you can create role via Tcode PFCG for each user/company which do not have business area. You can disable the business area in authorization tab.
    One more option you can greyed or freezed the business area field for the company which do not have the business area by using Tcode OBC4. You can suppress the business area field for each GL that been used by the company code. In other words, you create special field status group for the company and suppress the business area.
    Hope this will help you.
    TQ
    Regards,
    Nazrul

  • Blocked system not working

    Hello! My apologies as this is the first time I have had a real issue with Skype...
    I've had a few messages in the past, claiming to be a single 23-year-old female who is interested in video chatting on a site where you have to give credit card information and yadda yadda... Usually I block the programs right away, not after I make sure they're not human. Meet, confirm, block. Done.
    The other day, after confirming an account was automated, I blocked it. Later that day, the account messaged me. Their icon was the white "no" sign on a black background, as a blocked account would have, but regardless they could "talk" to me and I could "talk" to them. The account is definitely a fishing for credit cards one. It's not a real person- EVERYTHING is automated. They've messaged me roughly five times after I blocked them, starting with a simple preset message like "hey there!" and "happy friday! ". 
    If they're blocked and I've deleted them from my contacts, why can we still message each other? Doesn't that ruin the blocking system? 

    I just want to add that the 1$ charge is generally for:
    Adobe Store | Online order and payment FAQ
    These transactions help Adobe confirm that the credit card used is valid and not reported as lost or stolen. The transaction isn't charged to your account, and once your credit card company verifies it, Adobe removes the charge.
    How ever there has been issue being reported for your account .
    The last two transaction on April 9th & May 3rd have been successful.

  • How to get the system key in PL/SQL?

    Hi All,
    Is there a way to get master system key from PL/SQL?
    Thanks

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • Security setup operations failed: creating system keys

    I have just downgraded my T60 laptop from Vista to windows xp using the lenovo CD's.
    Everything seems to be working well, except that each time I boot up the computer, the lenovo security setup software runs.  If I follow the menus all the way through, I get to the following error on the last screen:
    "your security settings have been configured however, one or more setup operations failed: creating system keys"
    There was also a message that previously briefly flashed during the bootup (on the "bios" screen?) which stated that the system was designed to use fingerprints to protect something or other, but this was not enabled.  However:  I then ran all updates for windows xp and for lenovo drivers etc.  This message has now gone away (and unfortunately I didn't write it down).
    I'm guessing the failure to "create system keys" results in the software running each time I boot up.
    Another possibility:  I have not yet enabled the symantec security, as I intend to uninstall it and use other virus protection software.  Could this be causing the"failure to create system keys"?
    (The fingerprint reader works fine, and reads my fingerprint at the windows logon screen.)
    **UPDATE**:  uninstalled symantec security software, and this had no effect.
    Message Edited by orson_m on 12-29-2008 02:47 PM

    I have just downgraded my T60 laptop from Vista to windows xp using the lenovo CD's.
    Everything seems to be working well, except that each time I boot up the computer, the lenovo security setup software runs.  If I follow the menus all the way through, I get to the following error on the last screen:
    "your security settings have been configured however, one or more setup operations failed: creating system keys"
    There was also a message that previously briefly flashed during the bootup (on the "bios" screen?) which stated that the system was designed to use fingerprints to protect something or other, but this was not enabled.  However:  I then ran all updates for windows xp and for lenovo drivers etc.  This message has now gone away (and unfortunately I didn't write it down).
    I'm guessing the failure to "create system keys" results in the software running each time I boot up.
    Another possibility:  I have not yet enabled the symantec security, as I intend to uninstall it and use other virus protection software.  Could this be causing the"failure to create system keys"?
    (The fingerprint reader works fine, and reads my fingerprint at the windows logon screen.)
    **UPDATE**:  uninstalled symantec security software, and this had no effect.
    Message Edited by orson_m on 12-29-2008 02:47 PM

  • Able to make changes without system Key

    I have been trying to set a authorization group for a SAP defined program. SAPMSUU0 is the program which runs in the background when SU01 is run. I go to SE38 and type in this program name and click on attributes and then Change. Here it asks me to enter the system key however when I run the report RSCSAUTH, I can set the authorization group for this program. Is this how it is supposed to work?
    ravi

    > Is this how it is supposed to work?
    Yes. The report does not check the developer key, but it makes some other fierce checks...
    Cheers,
    Julius

  • How to disable system keys like alt+ctrl+delete...

    Hi,
    I was wondering if there is any way to disable system keys like alt+ctrl+delete and windows logo key etc... I would like it to get disabled when ever my java application is visible and I want it in pure java.
    Thanks,
    regards,
    Jay

    Thanks for all your replies but hey I've seensome
    program ( downloaded from google ) do suchthing.
    What they do is some kinda image thing appearsin
    the
    full screen mode and do all the tasks what I'veopt
    for. So, I'm confused what is being done in
    those
    programs.
    Even if it is doable (Ctrl, Alt Delete I don't
    think
    will be, Windows Key should be) It will not via
    Java,
    but JNI. So you would be better off hunting overthe
    MSDN.137256 speaks the truth. Ctrl-Alt-Delete is a
    HARDWARE interrupt caught by the OS. In modern
    Windows it launches a widget that can be used to
    shutdown, logoff or run task manager. I have many
    doubts about what the OP is saying.
    All hail Sun.Indeed 3021. CAD is active even when Windows isn't. I experienced this recently, and never want to again.
    All hail Sun. We love you ...

  • Help, please fix the blocking system Q.Q

    When I block people, they can talk to me by adding my name into a group chats and they can talk to me, even if its a one person ( the blocked person ) so its like there is no point of blocking button, so please i really need help, he wont leave me alone, so please I want to block him once and for all and i dont want him to contact me ever again, so please please please do something about the block system.

    You can't add a user to a group chat that hasn't accepted your contact request yet. Are you sure that it's the user who blocked you who is adding you to that group chat?
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • System key for Ciphering / Cryptography Checksum

    Hi,
    I want to send a proactive command send SM with specific 0348 security(SPI, Kic, and Kid). Is there any generic Javacard API to get the system key from OS for Ciphering and/or Cryptography Checksum process?
    Thanks

    You can use thew GPSystem.getSecureChannel() method to access the underlying GlobalPlatform secure channel (SCP01 and SCP02). This will allow you to encrypt/decrypt (GP) secure messages and will take care of MACing as well. There is also a way of encrypting sensetive data inside the secure message. This actually uses a separate key from the ENC and MAC keys to help increase security.
    One thing to remember with GP secure messaging (in GP 2.1.1) is that it uses 2TDEA (2 key Triple DES) and may not be as secure as you would like (NIST do not recommend using this encryption method from 2010 if I recall correctly). GP 2.2 will have SCP03 which uses AES and is more secure.
    It is not possible for your applet to access the keys directly but you can get the GP sub-system to do the work for you :)
    Cheers,
    Shane

  • Invoice Block - Tolerance Key - Can currency can be changed??

    Hi Gurus,
    We can set the below in SPRO,
    Material Management->Logistic Invoice verification->Invoice Block->Set Tolerance Limit-> Here we can maintain for company code / Tolerance Key and details.
    While we maintaining the tolerance key, depending upon the company code, the currency is defaulted. (Currency field is display status).
    1. We have a request to change this currency to different currency? is it possible?
    2. I find about 14 Tolerance Keys. Are these tolerance keys provided by SAP. Can we define or redefine tolerance key? if so, where?
    Kindly inform me the above details.
    Thanks and Best Regards,
    Mohan

    hi,
    Example:
    Suppose if you have set the del. cost in the PO as A...
    After this you do MIGO...
    And then you come to MIRO, and in between suppose if the delivery cost increases or decreases(may be due govt. rules),
    then in that case you try to save amount/pay more to the vendor.. or
    In case if any or your employee is not entering the del. cost properly, then in that case, system shd check internally and throw a message for you and if req. block the invoice...
    So, in that case just for precautions you use the this tolerance key...
    if in case this happens assuming with my first example then you may need to release this IR manually..
    Formula i have provided above by which system calculates this all..
    Regards
    Priyanka.P

  • Laptop wireless hard blocked - hardware key does not toggle state

    hello,
    this is my 3d arch install. i kept notes, and followed them exactly and this time i've ran into an issue i just cannot seem to debug myself.
    this laptop is the hp envy 4 1130us. i also have the hp envy 6t-1000 with arch installed and this is not a problem at all for that version of the computer (one is my personal the other is my work machine).
    after installing the base system i installed the wifi related packages:
    pacman -S wpa_supplicant iw wireless_tools networkmanager network_manager_applet gnome_keyring
    i enabled the network manager
    systemctl enable NetworkManager.service
    disabled dhcp (enabled from install)
    systemctl stop dhcpcd.service
    systemctl disable dhcpcd.service
    enabled the wpa toolkit
    systemctl enable wpa_supplication
    add my user to the network group
    gpasswd -a xero network
    turn off the network interface controllers
    ip link set down eno1
    ip link set down wlo1
    start the supplicant
    systemctl start wpa_supplicant
    start the network manager
    systemctl start NetworkManager.service
    reboot
    after that the wired internet work perfect fine. the network manager applet detects the network and does it's thing. i configured and tested vpn as well, and it is also working as expected.
    but then i pressed the hardware wifi switch (F12 key) and nothing happened. i pressed it a few more times, rebooted, tried again, tried during the bios/post test, etc. i simply cannot disable the hardware lock on the wireless.
    so i went hunting on the wiki and here in the forums. nothing has worked. since, this was a fresh install last night i actually wiped the drive and tried the install again hoping i did something wrong, but with no avail. here's the debug messages:
    [~]── - lspci -k (edited for brevity)
    01:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
    Subsystem: Hewlett-Packard Company Device 1894
    Kernel driver in use: r8169
    Kernel modules: r8169
    02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
    Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
    [~]── - ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 28:92:4a:1c:0c:af brd ff:ff:ff:ff:ff:ff
    3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 68:5d:43:b1:d3:89 brd ff:ff:ff:ff:ff:ff
    [~]── - ip link set wlo1 up
    RTNETLINK answers: Operation not possible due to RF-kill
    [~]── - dmesg | grep firmware
    [ 7.166700] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
    [~]── - dmesg | grep iwlwifi
    [ 7.133763] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
    [ 7.141638] iwlwifi 0000:02:00.0: irq 46 for MSI/MSI-X
    [ 7.166700] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
    [ 7.245928] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
    [ 7.245934] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
    [ 7.245937] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
    [ 7.245941] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
    [ 7.246078] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
    [ 7.253731] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
    [~]── - rfkill list
    0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    so based on some of the output it looks like RFKILL is blocking it during the boot process. i tried to unblock it via the unblock all command, but that's only soft blocks. i'm really not sure what to try next, so i'm asking for help (before i throw my laptop out the window).
    thank you in advance for any advice

    yeah,
    i was thinking that recompiling each kernel would be a huge hassle as well.
    so i just booted 2 live usb disks.
    the 1st, the arch installer - the wifi was still hard blocked.
    the 2nd, debian / crunchbang. what's odd, is that in debian the wifi key light is while (enabled) but it's still blocked. if the press the button it turns amber (disabled), if i press it again it turns white again and is actually enabled.
    it almost seems like arch is not "catching" the action keypress. the keyboard backlight key works out of the box, and so does the screen brightness keys. but i run xfce4-volumed to control the volume related keys. is there anyway to emulate the hardware keypress to even see if that's the issue?
    -----------------[update]-----------------
    so i decided to try and enable the rfkill unblock all service:
    systemctl enable [email protected]
    that alone didn't work, but...  i booted into another os, enabled wifi, then hard powered off the laptop. when i rebooted into arch it seems to work now. it's a really hacky work-around. but i'll take it. i'd really like a proper solution, but it works for now i guess.
    Last edited by xero (2014-07-24 19:34:53)

Maybe you are looking for

  • Acrobat Reader 11 only prints the first page of a multipage document.

    When printing a commercially created document with printing permissions enabled, only the first page prints when printing all or a selected range of pages on HP LaserJet 4000 and 8000 printers.  Access is denied is displayed on ocassion.

  • Mail sync doesn't work.

    Hi there, if i read email on my iPhone or iPad then i can't find the email in the Mail-App on my desktop, i'm using Yosemite 10.10.3. I have already looked up for the email in the webmailer and in an other email client there i can find the email. Tha

  • How to go about Cross Component Navigation

    Hi Experts , I have Component C1 In which i have view V1. I have Component C2 in which i have view V2, V3 V4  . On one of the action in V1 it should call  Component C2 and Views and Navigation should happen between V2 V3 V4 (As if it happens when the

  • Best Way to Update MacOSX10.5.8

    I gave my little sister my old Macbook. It needs to be wiped because it is so outdated she can't access school sites and it is really slow. So, what is the best way to do it? Wipe it with the original disks? Or do I use a completely different OS? And

  • FP installer crashes during download after system authentication. Mac OS 10.8.3

    FP installer does not finish the instalation. Crashes during download process.