Threads in Win XP

Hi i have a program in which i have more than one thread, the problem is, threads are responsible to listen to some socket connections. However at somewhere i need to read data from other thread's sockets, to do this i suspend the thread which is listening that socket and after i read the data, i resume that thread, the problem is the program works fine in Win 98 but does not work in Win xp, probably it is because of i try to suspend the thread but i couldn't find any solution, can anyone help me ?
regards,
Yesildal,

Instead of suspending and resuming , maybe i can
pass a message from clienthandler2 to clienthandler1
but that will mess the things up since i use this
suspending and resuming in so many places... I need
an easier solution...Migrate your use of suspend/resume to use wait/notify instead. Hasn't suspend been deprecated since Java 1.1?! Why are you still using it in a Java 1.4 app?
Basic steps to move from suspend/resume to wait/notify...
* Define or locate a shared object, which will be the lock. If you have a static member in the ClientHandler class, or even the ClientHandler.class will work for this.
* When you call suspend (On the current thread only!), replace this with a synchronized call to waitsynchronized (lock) {
    while (lockInvariantIsTrue) {
        try {
            lock.wait();
        } catch (InterruptedException ie) {
            ie.printStackTrace();
            // break?
} // end synchronized block* When you call resume (For a particular thread), replace this with a synchronized call to notifyAllsynchronized (lock) {
    makeLockInvariantFalse();
    lock.notifyAll();
}To debugging your switchover, there are command-line options to display thread activity with regards to monitors and locks (java -Xrunhprof:monitor=y in Java 1.3.0 Win32)
More information on correct use of wait/notify can be found in various articles in www.javaworld.com and elsewhere. Concurrent Programming in Java (Doug Lea) is apparently an excellent resource (which I haven't found the time to read yet), and Effective Java (Joshua Bloch) also makes some very useful points with regards to multithreaded programming.
Hope this help,
-Troy

Similar Messages

  • API services for multiprocessing with Win 8.1

    Which new API services are available for multiprocessing with Windows 8.1 ?
    1. Creating a process ?
    why ? Win 7.1 allocated all available cores for multiprocessing automatically whereas Win 8.1 allocates less
    2. Creating a thread ?
    why ? Win 7.1 allocated cores for thread wheras Win 8.1 lets too many cores to sit idle !

    Hi Noel,
    You are right, seeing is believing.
    However, even if I showed screen snap shots it would prove nothing because the software using Win 8.1 could be wrong / badly designed.
    In this case the latest Linux version utilizes all CPU cores as does the Windows 7.1 professional whereas
    Windows 8.1 performs the same processes and their threads using only part of CPU cores.
    The number of processes created > the number of CPU cores.
    The amount of threads started by a process >  the number of CPU cores.
    Because each process activates threads instead of performing tasks sequentially, several processes/threads should run concurrently and OS should utilize CPU cores efficiently.
    Monitoring tools used: trace proving interprocess communication and application activities,
    Task manager, Logitech (Linux) performance monitor and with Linux its performace tools.
    We'll plan to implement 3D visual trace to complete the current 2D textual and XML trace.
    Seeing the Windows 8.1 program code for process creation and being able to compare that to the corresponding one of Windows 7.1 would show if there are any differences - or could it be the energy saving options ...

  • Adobe InDesign CS4 Debug WIN Installation

    I need to port an InDesign CS3 plugin to InDesign CS4. In order to do that I've installed the Adobe InDesign CS4 Debug WIN but when I'm trying to start the application I receive the following error message in German: "Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu installieren.". In english this should mean something like "This application has failed to start because the application configuration is incorrect. Try to reinstall the application.".
    The box I've tried installing on has visual studio C++ 2005 SP1 and InDesign CS3 Debug already installed (which works fine). I've looked through the requirements in the "InDesign® CS4 Read Me" and couldn't find anything that I'm missing.
    Any ideas?
    Thanks in advance.

    Hi Folks,
    ID CS4 Debug and ID CS3 Debug can be installed on the same system. The likely reason that the CS4 version is giving that error is because the CS4 version needs some Visual Studio 2005 SP1 DLLs that aren't installed on the computer.
    I believe that there are a couple of ways to fix this. One is to install Visual Studio 2005 SP1 (the recommended setup for CS4 plug-in development). When you install SP1 the DLLs needed by ID CS4 Debug will be installed. The other way, I think, is to not SP1, but install the release version of ID CS4 on your system. I understand that the ID CS4 Release version installer will install the DLLs needed by the debug version.
    However, if you use VS2005 (no SP1 installed) for CS4 plug-in development you will not be using the recommended development environment for CS4. But if you install SP1, and you want to develop plug-ins for CS3, you will not be using the recommended development environment for CS3 plug-in development. Go figure.
    Please note that once you install VS2005 SP1, any plug-ins that you compile will be looking for the SP1 version of the C/C++ Runtime DLLs when the plug-in is launched. The needed DLLs will be on your development system, so everything will seem fine when you test your CS3 plug-ins on your development computer. But when the plug-in is launched on a machine without the SP1 DLLs installed, the plug-in will not run.
    I'm not sure of the best way to deal with this (I'm mainly a Mac guy), but there was a thread here entitled
    Visual Studio 2005 SP1 about this issue a while back. This thread was partially deleted due to a forum software problem, and one of the ideas that was mentioned was lost from the message thread. Below are the useful (IMHO) missing messages (sent to me by Dirk Becker), who follows the forum using email.
    [Ugh! I told Dirk I would write up a Wiki entry for this, but work happened and I haven't gotten to this yet. :-( ]
    =========
    MISSING MESSAGES FROM THE THREAD: "[IDCS3 WIN] Visual Studio 2005 SP1"
    =========
    FROM: Eugenio Andres
    Hi Jim,
    From your original error message, the problem is most likely with the installation of the C/C++ SP1 runtime DLL on the machine that does not have the compiler. It's not so simple nowadays as copying over the DLLs, because Microsoft invented the side-by-side system, that allows having several versions of the same file on one machine.
    Your options are installing the runtime on each machine (a package for that is available from Microsoft Download) or changing your project to the static runtime ("Multithreaded" instead of "Multithreaded DLL"). I always use static linking in plugins with no problems, although Adobe specifies dynamic in their instructions, but you avoid these "DLL hell" problems.
    Regards,
    Eugenio Andres - www.ExpertosInformaticos.com
    =====
    =====
    FROM: Jim Birkenseer
    Hi Eugenio,
    Thanks for the information.
    So, are you saying that I simply have to go into my Plug-In's property page in VS2005 SP1 and change the C/C++ Code Generation from Multi-threaded DLL (/MD) to Multi-threaded (/MT) and rebuild the project? What are the downsides of doing this--or are there any?
    <...SNIP...>
    -- Jim
    =========
    =========
    FROM: Eugenio Andres
    Hi Jim,
    You're welcome.
    Yes, that project change should do it. The difference is that with the "DLL" version, your plugin loads the C/C++ runtime shared library (DLL) at runtime and calls it for any needed functions (like strcpy, malloc, etc.). Without the "DLL", the linker puts the C/C++ runtime code directly into your plugin and you don't need the C/C++ runtime SP1 DLL (the error you're getting is because your plugin required the DLL and it's not found on that machine).
    The C++ SP1 runtime shared library is different from the C++ non-SP1 library InDesign uses. In this new Windows "side-by-side" scheme, both can live together.
    If you use the exact same C/C++ runtime that Adobe uses, then that library is physically shared and it allows to do some "risky" things as e.g. allocating memory in one module (e.g. InDesign) and freeing it in another (e.g. your plugin). But this is usually not recommended and I don't think Adobe is doing it (but then it's only my impression from the code structure).
    Anyhow, from the moment you use the SP1 compiler, you're not sharing the runtime any more with InDesign, so it doesn't matter if you compile "MultiThreaded" instead of "MultiThreaded DLL". The difference between these is the size of the plugin and the easyness of distribution, and without DLL you miss possible "automatic" updates of the C++ runtime DLL (because the C/C++ runtime code is embedded in your plugin), but lately new versions of the C/C++ runtime become "different" DLLs, as you can see, so that's not so relevant any more - or if it's critical, you can always recompile your plugin and redistribute if needed.
    You can find a brief description of SP1 in
    http://msdn2.microsoft.com/en-us/vstudio/aa718695.aspx
    It looks like minor non-breaking changes to me, but one never knows...
    Cheers,
    Eugenio Andres - www.ExpertosInformaticos.com

  • I cant get gta iv to install through wine!

    hi,
    im trying to get gta iv to install under wine. Has anyone managed this yet? if so how!
    I can install the social club part, but the game starts up the install shield, but then gives me the following error;
    Your system is incompatible with %P.
    Please follow the link below for more information.
    thanks
    Last edited by ninjaprawn (2008-12-22 16:14:30)

    kSx wrote:
    ninjaprawn wrote:sorry, i just updated wine, all good now!
    So, did you start GTA IV under wine and it's working?
    This is a year and half old thread. Wine has gone through many changes since this time. If you're having problems starting the game, please open a new thread and provide any relevant information.

  • [SOLVED]Wow in bin32-wine-wow-hardware-cursor need help with patching

    Hi all.
    I have installed bin32-wine-wow-hardware-cursor from AUR and it's working pretty fine I must say. I still have one important issue. That is, that the cursor acts strange when holding the button pressed down, as you do when turning etc. The cursor then moves to the middle of the screen and shakes, until you release the button.
    There is a fix for this posted on the Ubuntuforums, but I don't know how to implement this in Arch. Trust me, I have tried in so many ways possible, but I don't have the knowledge to do this. Please help me, or point me in the right direction.
    http://ubuntuforums.org/showpost.php?p= … tcount=172
    I have managed to fix this problem myself. If any of you are wanting the same functionality as what i mentioned above, navigate to your mouse.c find the function update_mouse_state, and then make the changes below...
    static void update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned int state, POINT *pt )
    struct x11drv_thread_data *data = x11drv_thread_data();
    char *hwgl;
    get_coords( hwnd, window, x, y, pt );
    hwgl = getenv("WINE_CURSOR");
    /* update the cursor */
    if (hwgl == NULL){
    if (data->cursor_window != window)
    data->cursor_window = window;
    wine_tsx11_lock();
    if (data->cursor) XDefineCursor( data->display, window, data->cursor );
    wine_tsx11_unlock();
    Thank you in advance.
    EDIT: To clear things out a bit. I am using 64-bit Arch.
    Last edited by n4h0j (2010-05-03 20:55:26)

    n4h0j wrote:
    itsbrad212 wrote:
    n4h0j wrote:
    Thx for the reply.
    However, I don't think that one includes the right patch either. That just looks like the 32-bit version of the bin32-wine-wow-hardware-cursor. And I cannot install that on my system.
    When talking about cursor issues there are 2.
    1. Getting hardware cursor in OpenGL.
    2. Irritating cursor-behavior when pressing down the buttons to turn etc.
    The package you refer to solves problem #1, so does the bin32-wine-wow-hardware-cursor. It's problem #2 that need fixing. I would assume, since it is just a cosmetic defect, no one else has bothered before me.
    But still, it's solvable in Ubuntu, and I am kind of a perfectionist.
    EDIT: Yes, I can see now that the mouse.c is in the archive. I would be able to edit myself. But (silly question) I won't be able to run the PKGBUILD with that source, right?
    Well, you could always edit the file then re-tar/bzip it.
    The PKGBUILD wiki article states:
    Note: If you need to supply files which are not downloadable on the fly, e.g. self-made patches, you simply put those into the same directory where your PKGBUILD file is in and add the filename to this array. Any paths you add here are resolved relative to the directory where the PKGBUILD lies. Before the actual build process is started, all of the files referenced in this array will be downloaded or checked for existence, and makepkg will not proceed if any are missing.
    So basically, edit the PKGBUILD and set the source to the location of the newly bziped file you have after applying the patch. Then it should use that one instead
    But, that won't be possible on a 64-bit system, right? I can't use the 32-bit source.
    Or am I missing some piece of the puzzle here?
    I think I'm missing part of the puzzle....
    Ok, title of thread: "bin32-wine-wow-hardware-cursor"
    That makes me assume 32-bit
    Next, source file you downloaded:
    wine-wow-hardware-cursor-1.1.43-1-i686.pkg.tar.gz
    Again, 32-bit...
    I'm confused with what you want now
    Last edited by itsbrad212 (2010-05-03 07:17:47)

  • Can't see calander group's or add a new group in ical 5.0 (lion)

    Help.
    Can't add a new group or see my groups when i click on calander in Lion version of ical. Any idea's why?
    Thanks

    Info taken from other discussion threads on Win not recognizing iPhone:
    NOT SEEN IN ITUNES:
    Windows 7 uses a MTP driver instead of the USBAAPL by default, and what you need is an 'Apple Mobile Device USB Driver' which you might not have in 'Universal Serial Bus Controllers' (check it and see).
    Update the driver by expanding 'Portable Devices' from the list, right click Apple iPhone/iPhone and select 'Update Driver Software'. Then select 'Browse My computer...'
    C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers - then hit 'Next'.
    NOT SEEN AS CAMERA:
    Open Device Manager: Right click on My Computer and select Properties from the drop down menu. This will open System Properties as shown below. System Properties opens on the General tab so you will need to click on the Hardware tab.
    Remove iPhone USB Driver: called Apple Mobile Device USB Driver. We want to remove this driver by expanding the list of USB drivers which can be done by clicking the + next to Universal Serial Bus controllers. Now right click on Apple Mobile Device USB Driver and select Uninstall from the drop down menu. A confirmation will require you confirm you want to remove the iPhone USB driver.Click the OK button on the pop up confirmation window which will remove the driver.
    Reinstall iPhone Driver: Once the driver has been removed you should unplug the iPhone from the USB cable. To reinstall the iPhone USB driver plug it back into the USB cable and the reinstalling of the driver will start automatically. There will be numerous pop up messages displayed near the system clock in the lower right corner of your Windows desktop. Once you see the pop up message confirming that your new device is ready to use everything should be working properly again.
    Verify iPhone Camera Detected: Open My Computer now to verify that the iPhone is displayed and you can click on it as you previously were able to do.

  • System recovery failed new hard drive

    I have an HP Pavilion g-6 1d26dx laptop.  I just replaced the hard drive with one ordered directly from HP.  When I went through the System Recovery, using the disks from HP, I got the following message:
    There might be unexpected reboot during specialize to BBV1
    The process will cause CTO panic because the image might not be normal
    I got this message after trying the system recovery with and without the supplement disc for Application and Driver Recovery DVD that came with my other disks.
    I have no idea what that message means, but I would appreciate any help getting this resolved.  I was operating on Windows 7.
    Thank you!

    Hi:
    I hate recovery disks. Too many times they don't work and you are left high and dry.
    It has happened to me twice on different PC's.
    Try the cyberlink patch for the recovery disks you purchased which may fix the issue.
    Description
    CyberLink Recovery Discs utility resolves an issue where Recovery Discs sent from HP do not work on a new hard drive.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=pv-80183-1&cc=us&dlc=en&lc=en
    If that fails to work, then the only other suggestion I have for you to get the operating system installed is the following and it is only good if you can still read all 25 characters of the W7 product key on the bottom of your notebook.
    If you can read the 25 character Microsoft Windows 7 product key and can live with the bare operating system and software/drivers found on your PC's support page, you can make a plain W7 installation media by reading the info below.
    Use the Windows 7 USB/DVD installation tool to compile the ISO file you download from Digital River. Link  below. You need a DVD or a 4 GB flash drive to use the USB method of compilation.
    Use the 25 character windows 7 product key to activate your installation.
    http://download.cnet.com/Windows-7-USB-DVD-Downloa​d-Tool/3000-18513_4-10972600.html
    Then go to the PC's support and driver page to install the drivers you need.
    Link to the W7 ISO file downloads is below. Download the applicable version of Windows 7 that is on your product key (Home Premium, Pro, or Ultimate).
    http://forums.mydigitallife.info/threads/14709-Win​dows-7-Digital-River-direct-links-Multiple-Languag​...

  • BA7500G + Sound Blaster Live! 24-bit + Windows 2k = no sound

    Similar to the thread for Win XP, I have inherited a BA7500g speaker system, and purchased a new Sound Blaster Live! 24-bit card for my Win2k system. Cannot get the speakers to work, although the speaker test works from the BA control unit. Noticed the digital audio input cable is color coded, and I don't have the original card that matches this scheme. Could this be the problem?

    I have installed a new (not used) Soundblaster Audigy SE and BA7500G speakers and I'm running XP Pro. I'm getting no sound even when I change to Digital Out only? Not sure what to do? Is this sound card not compatible with my speakers? Do I need to purchase the Digital I/O Module that Creative is currently not in stock? I can find the Digital I/O module on Ebay if need be but not sure that's the solution. Please help!
    Thanks,
    Kevin

  • Enterprise CA option not enabled in Windows 2008 R2

    I am making new installs of Win2008 R2 for Domain Controller and for separate CA.  On the CA-Computer I cannot get "Enterprise CA" option during Install.  Greyed out.  I have seen the error in c:\windows\certocm log stating "Enumerate_..._no_install_Rights". 
    I performed "whoami /user /group" and included in the list are Enterprise Admin, Domain Admins, and schema admin.  I logged in as domain administrator, to no success; as local CA-computer, to no success; and as created user (ca-admin) making him
    member of domain admin, enterprise admin still no success.  I saw the thread where WINS was mentioned, and I entered the DC as WINS, still no success.  Any other suggestion?  This is a new lab forest, with one DC and one other win2008R2 for
    CA and one win-7 as client.  If I logon the DC and perform add-Role  AD-CS on the domain controller, Enterprise CA option is enable, but not from the separated CA-Computer we want to use.  Any suggestion will be appreciated.

    Just a guess but are you installing the CA on a w2k8R2 Standard edition?
    Enterprise CA needs to be installed on a w2k8R2 Enterprise edition, also you have to be enterprise admin as changes on the configuration (forest wide) part of AD are done.  
    Enterprise CAs (vs Standalone) can be installed on any edition of Windows, the difference between editions is the number of ADCS features and components that can be enabled!
    http://technet.microsoft.com/en-us/library/cc755071.aspx
    http://technet.microsoft.com/en-us/library/cc732368.aspx
    /Hasain 
    I stand corrected.
    The only time I had this is when I was not a member of the enterprise admin group (mind this was not a single forest). 
    If you do try remember to log out of the server and in again before you start the install.
    Also just check that you can do nslookup for the domain you have choosen...nslookup <domainname>
    This should return the DC IP you have set up 

  • How static and nonstatic method synchronizes if both of them are using same

    class ThreadA
         public static void main(String args[])
              ThreadB b=new ThreadB();
              b.setName("MyThread");
              b.start();
         synchronized(b){
              try{
                   System.out.println(" wating for b to complete...");
                   b.wait();     
              catch(InterruptedException e)
              System.out.println(b.total);
    class ThreadB extends Thread
         int total;     
         public void run()
         System.out.println(Thread.currentThread().getName());
         synchronized (this)
              for(int i=0;i<10;i++)
                   total+=i;
         notify();
    in this example both the threads : ThreadB and main thread are trying to use sameobject i.e b
    then when ThreadB will get started and immediately synchronize b i.e get a lock on b then how main will get
    the lock and again synchronize b. How the main thread and ThreadB will run simultaneously ...please clear this .
    the output of this program is :-
    waiting for b to complete
    45

    I reckon the main thread is getting the lock first. If it weren't it would never finish. The println at the start of the ThreadB probably delays the thread enough to enable the main thread to win the race mostly. So the main thread gets the lock and then it goes into wait(), which releases the lock and b does it's loop, calls notify() and finishes, releasing the lock. Now the main thread, having been released from wait takes the lock back, then winds up.
    What's wrong with this code is that if b got the lock first it would call notify() before the main thread called wait(), which would do nothing and and main thread would stick on wait indefinitely.
    Wait and notify should always be used in conjuction with some kind of flag which says whether the thread needs to wait or is the condition to continue already met.

  • Slow mutex performance in windows xp guest on ESX 5 host

    I did some casual producer consumer benchmarks written in C with visual studio 2005 on dual core 2 ghz cpu, with identical o.s. win xp professional and cpu type it seems to me on ESX the performance of mutex, events and corresponding waitforsingleobject is from 1/10th to 1/2 the speed on the physical machine, on windows 7 instead the performance is about half of the corresponding physical machine, I was wondering if anyone else noticed, might this be due to how mutex/critical sections/events/semaphores are emulated in ESX binary translation, are there any settings for windows xp 32 bit guest under ESX 5 to enable boosting inter process/thread synchronisation speed to make it similar to physical machine perhaps ?
    I enclose a small test project for vs 2005 in case anyone could take the trouble to try and compare raw speed of synchronisation primitives on physical and ESX especially if in win xp there is a macroscopic speed penalty or maybe I did something wrong like I ran the test on an overloaded ESX perhaps.

    I tried this MS condition variables example in a "what the heck" style not expecting much difference :
    http://msdn.microsoft.com/en-us/library/ms686903%28v=vs.85%29.aspx
    I enclose a vs 2010 project that on 64 bit win7 it seems to run at about 20 million wake consumer/producer per second on 2 ghz 2 core cpu BOTH physical and ESX 5 (I don't have system level access to verify logs to tell whether binary or VT translation)
    Notice in this test I am not trying to measure memory bandwidth, i.e. how fast I can transfer data bidirectionally from/to processes, but, rather how fast I can wake the consumer, which in my case is a real time database which carries out a field read/write transaction at each wake in the db process, from my tests the cpu utilization in terms of transactions (i.e. client producer W, db consumer R, consumer W, producer R) is much higher doing controlled wake up of the consumer db engine rather than have it haphazardly polling the producer because the o.s. scheduler misinterprets the consumer polling as useful "work" whereas it's just wasting memory bandwidth with unnecessary read cycles polling a data ready variable set by the client.
    If this was true (?) and I haven't done any clumsy mistakes it would really be too good to be true imho, it would seem it's actually doing like 1 wake / 100 cycles ? possibly it may be running with VT and FlexPriority because it's very close to the 400 cycles mentioned, I am aware modern cpus don't work in terms of opcodes/cycles but actually the other way around i.e. many opcodes per cycle where possible with pipelining, so it would seem at first glance to "blow your socks off", so definitely the way to go seems win7 which was probably developed virtualisation aware from the word "go" it's about 300 x faster than win xp 32 bit, unfortunately WakeConditionVariable / SleepConditionVariableCS seem only inter thread not inter process, I could create a remote thread in the db process but it would have to be signaled from another process, I wonder if perhaps using vmware VMCI socket api it's possible to get low latency inter process ipc ?
    I also looked at using WM_COPYDATA but it's really slow just like normal sockets about 50k/s signals.
    Also there is UMS user mode scheduling but again only inter thread in win 7  User-Mode Scheduling (Windows) but I am in need of inter process scheduling ?
    I also attempted with this MS example to call into a kernel device driver :
    http://code.msdn.microsoft.com/windowshardware/Event-d245ecb4
    with these results on win 7 64 bit :
    event 180 k/s both physical and ESX
    irp 180 k/s physical 110 k/s ESX
    but I would need to make 2 blocking DeviceIoControl calls from both producer and consumer thus halving the rate making it not any faster than inter process event/waitforsingleobject 100 k/s  ... ?
    I enclose visual studio 2013 example HardwareEventSample.rar if anyone is interested to benchmark ? you need to sign event.sys on win7 or you won't be able to load the driver, use "event 0 0" for irp and "event 0 1" for events methods respectively.
    Another method is APC asynchronous procedure calls with QueueUserAPC, I enclose a visual studio 2005 project that does :
    on win 7 64 bit 500 k/s both physical and ESX which is the highest rate of one directional consumer wakes so far I could get on ESX (I have the producer polling for the reply in order not to incur inter process waiting with APC)
    on xp 32 bits it's only 80 k/s wakes though wrt to xp physical 500 k/s (I also tried putting consumer/consumer affinity:
    DWORD res1= SetThreadAffinityMask( GetCurrentThread(), 1 );// consumer core 1
    DWORD res1= SetThreadAffinityMask( GetCurrentThread(), 2 );// producer core 2
    but it didn't change thread switching rate appreciably possibly because windows is not really real time oriented)

  • Cannot Restore Windows 7

    A relative came to me, asking for help. The notebook is a HP Pavillon dm4-2040ez.
    I found out that HP warranty was just over and the harddisk was broken. So we ordered a new SSD and I installed a clean version of Windows 7 from my DVD, but did not activate it (30 days time to do so). I recommended to either buy Windows 8 or order the recovery DVDs. Windows worked fine so far. Owner decided to order the recovery disks.
    After they arrived, I noticed that the optical drive was broken too. But the owner doesn't really need it, so I copied the first recovery DVD to an USB stick (on my PC) and made it bootable and then booted the HP machine from the USB stick. That worked fine but after booting I just get the progress bar ("Windows is loading files" or something like that) then some scripts start. Then the machine boots again - and everything repeats.
    So I cannot restore Windows that way. What's the problem? Obviously not the hardware, as it worked with my installation before. Do the recovery DVDs require to start them from an optical drive or what? Or was the disk maybe broken somehow? Any other ideas?
    This question was solved.
    View Solution.

    Hi:
    The OEM key works on the retail Vista and W7 downloads, not like XP where you need the OEM disk to match the OEM key.
    Follow the steps below and you will be all set.
    Use the Windows 7 USB/DVD installation tool to compile the ISO file you download from Digital River. Link  below. You need a DVD or a 4 GB flash drive to use the USB method of compilation.
    Use the 25 character windows 7 product key to activate your installation.
    http://download.cnet.com/Windows-7-USB-DVD-Downloa​d-Tool/3000-18513_4-10972600.html
    Then go to the PC's support and driver page to install the drivers you need.
    Link to the W7 ISO file downloads is below. Download the applicable version of Windows 7 that is on your product key (Home Premium, Pro, or Ultimate).
    http://forums.mydigitallife.info/threads/14709-Win​dows-7-Digital-River-direct-links-Multiple-Languag​...
    You can't make a bootable usb flash drive from one disk.
    What will you do when the system asks you to insert another disk?
    The recovery disks are image files and they are looking for the same size hard drive to install on.

  • "Recovery Partition has been Removed" Message in Recovery Media Creation

    HP Pavilion G4 2205tx - C5j09PA#UUF
    Windows 8 64-bit
    "Recovery Partition has been Removed" Message in Recovery Media Creation.
    i bought My new HP pavilion G4 laptop just two days ago and didnt change any thing in two Drives named Drive C: for windows  and D: for HP Recovery.
    now i want to Make a Recovery Disk with HP Recovery Manager Software.
    but it show a Massage: "Recovery Partition has been Removed" in Recovery Media Creation Section.
    in My Computer Recovery Partition is Almost Full (3.26G of 25.5G is Free) . so i think Recovery files present there .
    i haven't any Access to HP for Buy recovery disk or Call Support.
    Thanks
    This question was solved.
    View Solution.

    I don't know why your PC is saying your partition is gone - you're right, it doesn't look gone. I do know that if you use the Support Assistant to make backup copies of your Recovery Disks and Then instruct it to remove the recovery partition to give you more space on the hard drive, it will delete the HP factory image of Windows 8 from the recovery partition and leave the normal Windows repair tools behind.
    There are tools however that allow you to create your own recovery partition complete with these Windows repair tools and a new image of your instalation so you can restore from that. You could use this tool: Windows 7/8 - OEM Recovery Partition Creator found here: http://forums.mydigitallife.info/threads/21978-Win​dows-7-8-OEM-Recovery-Partition-Creator but thats a lot of work and it would be faster and easier just to backup your data and restore from your HP recovery disks you made from Support Assistant. If you didn't make the disks, HP may opt to send you a copy.. they do not normally do this but I have read that some people have good luck getting a free copy of the media from HP.. otherwise they want you to buy the recovery disks ($40.00) . I suppose it depends on the exact circunstances of your situation.
    Another solution is to use Macrium Reflect Free Edition to ghost or clone your system. You can then restore your whole system even with your custom programs installed, to the exact state it was in when you made the backup image. ( this may take several dvd's) I suggest you go this route because restoring your system with Macrium Reflect is Much faster than restoring from the HP Recovery Disks. Even if you do obtain another copy of the Recovery Disks, you should use this tool to make another backup that you can customize to your liking. Your re-installs will be faster, they will already have your chosen software installed, and you will save wear and tear on your HP Recovery Disks.  You can then safely delete the recovery partition to gain back that space on your hard drive (since you cannot access it anyway, you won't need that space being taken up).  BUT.. you cannot restore from UEFI Mode which is what HP ships with. You have to go into your Bios settings, and switch to Legacy Bios mode, (which disables Secure Boot) FIRST or else the Macruim recovery boot disk will not load to install the recovery image. After the system re-installs you can go back into bios settings and disable Legacy bios and re-enable secure Boot if you like. ( Windows 8 will load in both UEFI mode with secure boot enabled or Legacy bios mode.. it's your choice. UEFI mode will load faster but it will cause problems if you want to dual boot the system with another OS)  Hope this helps.

  • HIDEOUS HP SUPPORT BEHAVIOUR - 4x40s SWITCHABLE graphics wake up problem UNFIXED SINCE SEPT 2013!

    HP silently closed the last topic by making it "read-only" without any notice and fix.
    http://h30434.www3.hp.com/t5/Notebook-Display-and-​Video/HP-IGNORANCE-4x40s-windows-8-1-AMD-driver-UN​...
    Really ??????
    We are fighting to get some solution since September 2013...
    still NOTHING from HP. only closed threads.
    every win 8.1 user of this laptop is suffering from this "restart on wake up" issue! No one can use this pc's normal way and HP doesn't care!

    Agreed. It's behaviour that is hardly admissible.
    HP Support is cowardly hiding closing threads instead of doing their jobs. No wonder they were fired in numerous recently.
    Just reply - "We are incompetent in our products and can't resolve your issue", and we'll try other brands respecting their own customers.

  • HP PRO DESK 400 GE MT

    HI,
    By this Hp Pro Desk 400G2MT, I got Windows 7 professional  64 bit Os,
    but i need to Downgrade to Windows 7 Professional 32 bit ..
    even the recovery disk what i received that one also with 64 bit software, is any other link which have 32 bit?
    is this possible to get 32 bit software ??

    Hi:
    You will have to contact HP technical support to see if you can order a 32 bit recovery disk.
    If you have a W7 product key sticker on the PC with the 25 character code, you may be able to download the version of W7 Pro 32 bit you need directly from the Microsoft Digital River links.
    http://forums.mydigitallife.info/threads/14709-Win​dows-7-Digital-River-direct-links-Multiple-Languag​...
    Then you can use this tool to transfer the ISO file to a DVD or 4 GB USB Flash drive.  The tool will also make the media bootable.
    http://www.microsoft.com/en-us/download/windows-us​b-dvd-download-tool
    Use the Windows product key on the PC's case to activate the installation.
    HP does offer driver support for W7 32 bit.
    http://h20564.www2.hp.com/hpsc/swd/public/readInde​x?sp4ts.oid=6893667&lang=en&cc=us

Maybe you are looking for

  • Office 2013 and RMS restrict permission

    Hi, I want to restrict Access/modify/view access to documents for some users, and I'm able to do this with Word 2010, but not with Word 2013. When I try to restrict access using "restrict Editing" under file information I got the this error: "We were

  • Object name that already exists on the local directory service

    Hi, We have 3 domain controllers with Windows 2008 R2 all GC, and the forrest and domain level 2008 R2. We replaced one domain controller with a windows server 2012 r2, and kept the name and ip. Every thing seems ok with dcdiag and repadmin, but I ca

  • Scroll Bar in forms 6i

    I have the following requirement- to create a form based on table columns of a customized table as per bissuness requirement and register it onto oracle apps 11i. the table has around 80 columns. so horizontal scroll bar is required to scroll thru al

  • Wifi connection

    hi all, i am not sure if this is just me being a fool or something with phone. i can connect to my home wifi network ok and also the free wifi services in mcdonlads with out any problem but if i find a wifi network with out the little lock symbol nex

  • LE-TRM: Two-step confirmation

    Dear all, Could you please provide a link to a SAP documentation which stipulates that Two-step confirmation settings (SPRO > Logistics Execution > Warehouse Management > Activities > Confirmation > Confirmation control for Warehouse number / Storage