WNetOpenEnum returns extended error code 2107 : The device is not connected

Hi All
Can you do me a favor please, thanks.
I developed a program to enumerate all domain and computers at the local network. This program works normally except
one Windows 2012 R2 windows, and  WNetOpenEnum always return 1208, the corresponding extended error information
is :
Extended error id : 2107;
description : The device is not connected;
Provider : Microsoft Windows Network;
Can you please give me some suggestion , thanks.
Thanks
Regards

Hi,
Please refer to the thread below to check if the issue is caused by the Windows Firewall which blocks WNetOpenEnum function.
WNetOpenEnum wrongly blocked by Windows Firewall
https://social.msdn.microsoft.com/Forums/en-US/bb68e580-7913-40d9-86ab-5890f78113e2/wnetopenenum-wrongly-blocked-by-windows-firewall?forum=windowscompatibility
If the issue still exists, I have confired that you could ask for help from
Windows Desktop Development forum:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowscompatibility
Thanks for your understanding.
Best Regards,
Mandy 
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.

Similar Messages

  • Touchscreen not working: error message code 45, says "device is not connected to the computer"

    My subject message basically says it all.  My touchschreen is not working at all.  I went into device manager and found error message code 45, which states that the "device is not connected to the computer."
    I have tried updating drivers, uninstalling and reinstalling the device, and other things, but nothing working.
    All advice appreciated.

    Hi @Jim9 ,
    Welcome to the HP Forums!
    I saw your post regarding the error code 45. From what you have described this sounds like it is a hardware issue. The only real troubleshooting I can recommend (that you haven't already done), is going a full System Recovery to restore it back to factory defaults. If the issue still occurs then we know it is a hardware problem.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • C4440 scan error Operation could not be completed (error 0x00000015​). The device is not ready.

    I have updated, restarted, etc. Sometimes when scanning I do not get this message, but more often I do.
    When scanning I receive the following message:
    Error message when scanning "Operation could not be completed (error 0x00000015). The device is not ready.
    Please help!!

    Hello, nylamama:
    Follow the steps in this document, and you should find the help you need to resolve the error.
    Let me know if this helps, and thank you for contacting HP!
    Cheers,
    SN_63 (Saint Nana): I work on behalf of HP.
    Click the thumbs up icon if you want to say "Thank you." To help others on the forum, select "Accepted Solution" on the post that solves your problem.

  • Scanner Operation could not be completed (error 0x00000015). The device is not ready.

    When trying to scan I keep receiving an error message.  Operation could not be completed (error 0x00000015).  The device is not ready.
    What does this mean?  I have been able to scan without problems in the pas, with Windows 7 Fax and Scan.
    Printer : HP PhotoSmart 2710
    Computer: HP Pavilion zd8000 (originally XP)

    Welcome to the Forum, losblanco,
    I checked on this for you and I think your answer is here:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/operation-could-not-be-completed...
    If you don't find the solution there,
    or if you need help for any other reason,
    please come back and we'll take another shot at it!
    Good Luck!
    I hope this helps.
    Click The Kudos Star to say Thanks!       
    Set in Reply “Accept as Solution” if it’s fixed! 
    Kudos are Earned!
    Kind Regards,
    Dragon-Fur

  • I restored my ipod, when I went to put everything back on it, I got a message that said, "an error writing to the device, can not sinc.  Then it said the required disc can not be found.  Now what do I do, I have all of this music and apps that I can't get

    Before I restored my ipod, I backed it up then I updated and restored.  The problem is when I went to put everything back on it, I got a message saying that an error writing to the device, can not sync.  Then another message appeared saying that "the required disc can not be found.  Now what do I do?

    Try resetting the iPOd. Nothing will be lost.
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Also, delet the iPod Phot Cache folder for the second error. For its loation see:
    iTunes: Photo sync creates iPod Photo Cache folder

  • After trying to sync my ipad to a new pc, i get this error message "Attempting to copy to the disk "windows" failed.  the device is not connected."  but it is connected.

    I have been trying sync my ipad to a new pc and I get this message after the sync fails:
    "Attempting to copy to the disk "windows" failed.  The device is not connected."
    The device is connected, what is wrong here?

    This is a common problem that is most likely caused by files that are not marked to have proper read/write permissions.
    To solve this problem, follow these steps.
    1. Close iTunes.
    2. Using the finder, Ctrl-click the folder that contains your music files, then select Get Info.
    3. Ensure that the Owner is set to have Read & Write privileges. Choose to Apple to enclosed items…
    Once you have modified permissions, fire up iTunes and try to sync your music again. If it throws the same error message and still doesn’t work, research more about permissions in Mac OS X, as there could be something else not right with the permissions of your music files.

  • Trying to Sync my iPhone4 to my desktop with Windows XP, I get a message saying cannot sync because the device is not connected.

    I need help with an error message I receive when trying to Sync my iPhone4 to my desktop using Windows XP.
    It says unable to sync, as the device is not connected. I've changed the usb ports, and tried again to no avail. Anybody have any suggestions?

    This support community is focused on iTunes U. Please post your question to the iTunes for Mac or iTunes for Windows communities or iTunes Support.
    -Thanks

  • I am trying to move a pdf file onto my iPad2, and it says that the device is not connected or has stopped working.  But Windows 7 recognizes the device and I can see my pictures.  Same thing happens when I try to put music onto the iPad.

    I am trying to move a pdf file onto my iPad2, and it says that the device is not connected or has stopped working.  But Windows 7 recognizes the device and I can see my pictures.  Same thing happens when I try to put music onto the iPad.

    When in iTunes on the computer,my our ipadmshould show under devices.
    Click on your ipadmunder devices then go to music at top center of the iTunes window, check what you want to sync for music. You need to set it to a folder if I remember which would have your music in it you want synced.
    Same with PDF files.....there should be an option for data or even PDF files at the top center area of iTunes when the iPad is clicked under devices.
    If your iPad does not show or you cannot click on it under devices which is in the leftane of iTunes, the iPad is not being seen by the computer.
    Try unplugging the USB cord from the laptop then give it a few and see if the computer picks it up.

  • My iphone was stolen so I decided to delete my device in find my iphone,  but the it has not yet been deleted bec the device is not connected to the internet yet. Can I undo my changes before it will be deleted from icloud? Thank you

    Hi Suport,
    My iphone was stolen yesterday so I decided to delete my device in find my iphone,  but the it has not yet been deleted bec the device is not connected to the internet yet. Can I undo my changes before it will be deleted from icloud? I want to undo the changes because I may find my phone when it connects to the internet. Thank you
    See image below:
    email is [email protected] for questions thank you Apple. I hope you could help me.

    Sorry, you can't undo your action remotely.

  • While sync my Ipad 1 I got the following message:The ipad "untitled playlist" cannot be synced.The device is not connected. What could I do besides restoring?

    While sync my Ipad 1 I got the following message:The ipad "untitled playlist" cannot be synced.The device is not connected. What could I do besides restoring?

    " I get told that my ipad cannot be synced because there is not enough free space to hold all the items in the itunes library! "
    Ok.  Choose less to sync to your ipad.
    "Also very puzzled about icloud! "
    What is the confusion?

  • Firmware update: "The device is not connected to the USB por

    Hi, I have a MuVo TX SE GB and I tried to load the new .22.03e firmware on it with a Windows XP SP2 PC. But when I connected the device, and started the firmware updater, it searched for a minute or so, and then the reset question appeared. I clicked OK and then I heard the USB sounds and the new hardware wizard appeared. I followed the wizard, but when it was installing the drivers, a message: "The device is not connected to the USB port" appeared, and the firmware updater closed. The hardware installed fine. But when I try to load the firmware again, the reset question doesn't appear, but I hear the USB sounds, and i get the same message again. I also tried connecting the player in recovery mode but that doesn't help. The player won't turn on. When I connect it, the player is listed in My computer, but I can't open it. What should I do, and how can I load new firmware properly?

    PCkid23 wrote:
    Hi, I have a MuVo TX SE GB and I tried to load the new .22.03e firmware on it with a Windows XP SP2 PC. But when I connected the device, and started the firmware updater, it searched for a minute or so, and then the reset question appeared. I clicked OK and then I heard the USB sounds and the new hardware wizard appeared. I followed the wizard, but when it was installing the drivers, a message: "The device is not connected to the USB port" appeared, and the firmware updater closed. The hardware installed fine. But when I try to load the firmware again, the reset question doesn't appear, but I hear the USB sounds, and i get the same message again. I also tried connecting the player in recovery mode but that doesn't help. The player won't turn on. When I connect it, the player is listed in My computer, but I can't open it. What should I do, and how can I load new firmware properly?
    I am having the same type of problem trying to upgrade some firmware on my microphoto. I would love to get input from some of the guru's out there , Have you tried emailing customer support and asking them? I am waiting for their repy but just bouncing ideas off the forum in the meantime.

  • HT1386 HELP -- "The ipod cannot be synced. The device is not connected"

    Just got a 1st gen ipod & trying to Sync it, it just keeps saying "The ipod cannot be synced. The device is not connected" -- the device IS connected, it even says the ipod is there on iTunes, but won't Sync. Also, iTunes is up-to-date (just checked) so not that. Been trying since last night, so I know turning the PC off & back on or restarting doesn't work either.
    It's also saying the HDD isn't connected -- which it is because I can access it & iTunes can play songs from it.
    Not sure if this detail is of use, but I'm running Windows 7.... My iPod is running iOS 4.2.1
    Please help, im stuck! :-/
    PS.
    This is my first ipod, so please don't assume I already know anything about Apple products -- I won't be offended if you go into ipod basics lol.

    Appears to be fixed.
    Moved all music recorded at 128bit or less to different location.
    Moved video files to different location.
    Synced sections of iTunes collection individually: Only Music, then Podcasts, etc.
    Seems to be working fine.  Apps also came over without changes.
    ????  Only thing missing is my PLAYLISTS.
    ????    Someone know where they reside on my old HD list and why they did not come over?

  • I cannot get email and the message says the device is not connected to the server

    I cannot get email and the message says the device is not connected to the server. How can I resolve this issue?

    Hey there Chen_erping,
    Thank you for asking your question! It sounds like you are unable to send or recieve email from the account you setup in the Mail app on your iPad. I want to recommend the troubleshooting steps outlined in the following article:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Log in to your email provider's website to ensure that the account is active and the password is correct.
    Restart your iOS device.
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Choose the affected email account, then tap Delete Account.
    Add your account again.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • What does it mean when I have my iphone plugged in trying to sync it and just when it gets to step 7,  something pops up that says "attempting to copy the disk 'TI10653500D'  failed. The device is not connected"

    what does it mean when I have my iphone plugged in trying to sync it and just when it gets to step 7,  something pops up that says "attempting to copy the disk 'TI10653500D'  failed. The device is not connected"

    Have you tried a different cable?

  • Zen Micro Connection "the device is not connect

    When I connect my Zen Micro in my computer the Zen Micro Media Explorer says that "the device is not connected. Please connect your Zen Micro to the computer" My battery is full. I read the instruction book and It said when you connect the Zen Micro in, Creative MediaSource or Windows Media Player starts up automatically... but nothing happens when I connect my Zen Micro. Please help.

    <FONT face="Comic Sans MS" color=#ff0000 size=2>Hey, i have this same problem...well i did...im not sure :smileyindifferent:
    <FONT face="Comic Sans MS" color=#ff0000 size=2>At first i followed the instructions on how to install the mp3 (micro) etc etc, i followed it to perfection. When it came to using the software on the disc, i found alot of problems, mainly that my Micro "apparently" was not connected, according to my Creative Media Source/Organiser etc.
    <FONT face="Comic Sans MS" color=#ff0000 size=2>Anyway, after i downloaded loads of different updates etc, and basically fiddled about, i got WMP to recognise it!! BREAK THROUGH!!
    <FONT face="Comic Sans MS" color=#ff0000 size=2>Alot of other ppl i know have had this same trouble as i and as loads of you are, so i would recommend using WMP, works fine, only downfall is I DON'T KNOW HOW TO MAKE PLAYLISTS :angry:
    <FONT face="Comic Sans MS" color=#ff0000 size=2>As fussy as i am, this isn't good enough for me, i want the software to recognise it so i can take full advantage of my new Micro.
    <FONT face="Comic Sans MS" color=#ff0000 size=2>So, i need advice, shall i quit while im ahead, or will someone gve me some help to resolve this problem?
    <FONT face="Comic Sans MS" color=#ff0000 size=2>And if the later, what the hell shall i do?
    <FONT face="Comic Sans MS" color=#ff0000 size=2>
    <FONT face="Comic Sans MS" color=#ff0000 size=2>~Shaun~

Maybe you are looking for

  • Groupon App

    After loading the Groupon App to my Storm 9550,  I keep getting the message "No network connections is available.  Please turn on the mobile or wifi connections."  I have checked the connections...they're on.  Uninstalled and reinstalled...no help. 

  • Can't get Crop Tool to stay in Custom LR4

    I can't get the crop tool to crop in Custom mode. I unlock the lock and set to Custom and relock the lock. As soon as I begin the crop it reverts to Original. I've restarted. Any suggestions? Thanks!!

  • Changing Assignment Details for multiple user

    Hi everyone, In the RelationShips tab of a bundle, how can we change the "Assignment Details" for multiple user at once? Per exemple, I have a bundle that have about 100 user assignments. The bundle show on Start Menu but no on the Nal. If we want al

  • Performance effects of writing code in Application Package

    Hi all, I just have this strange doubt about the performance of the system if we write the code in "Application Package". Writing code in application package is a good practice as it is good in trems of readability but I am wondering whether performa

  • SLA caluculation problem in solman servicedesk

    Hi Guru's    SLA is not caluculating, when ticket is created the start customer requirement and end customer requirement must be caluculated and display as per the  priority of the ticket, but it is giving the default dates. Regards S.Manu