BlackBerry USB driver 4.5

BBM (1) question,why after downloas,I get this message, item cannot be displayed,unsupported media type.. John704

I've seen 2 items sent to my email,the USB driver and another software.my device is a 8700,I just can't find my way to download the items.another problem,no way to device option on my homescreen,not seeing the blackberry hourglass,what I am seeing, is one from iberry.can u remove it.john704

Similar Messages

  • Curve 9220 BlackBerry App World registration error MTP USB Driver is not installed

    Hi,
    Recently I have purchased Curve 9220, trying connect to BlackBerry App World setup in the first instance I get 
    1. Get the BlackBerry App World Browser Plug-in (I get tick mark) then when I get 
    2. Connect your smartphone I get the drop down of my pin no I select my PIN no here I get a error message (An error has occurred communicating with the BlackBerry App World Web plugin. Please restart your device and try again. If you have content protection enabled on your device, please disable and try again.)
    I have tried rebooting my device no of times it does not work.
    I have removed all USB driveres thats was there in PC rebooted the system it is still not working.
    I have even tried in another PC having win7 it gives error message MTP USB Driver is not installed.
    For information Content protection is not eabled the encription is not ON in my hand set
    Another problem whenever I connect my deice to USB every time it takes up the driver asks me to reboot the sytem (I have even tried the same 4-5 times) still not wokring.
    The hand set is communicating with the BlackBerry desk top software (I have downloaded the latest one and using the same).
    I need to install few apps which was there in my earlier BB so please help.
    Best regards,
    Shaibal Ghosh

    Hello shaibalghosh,
    Welcome to the Community,
    As you having difficulty in connecting to apps. world , On your Homescreen Go to Options > Security > and check 
    encryption is disable For your device and Media card and also Check Firewall it may prevent connecting Apps 
    World. 
              Please have a look at this article of KB Apps world web plug-in error appear when attempting to install applications from a computer
               Try installing OTA .
    Good Luck
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • All files in Blackberry folder on Micro SD/USB drive gone!

    how could something like this happen? the minute I plug my micro SD, which contains files in a blackberry folder (this folder works fine when transferring files back and forth between my blackberry and windows PC), into my used macbook pro that i just bought today, the folder is completely deleted. two other folders which i didn't open in the micro sd are still there. all i did was open the blackberry folder when the micro sd popped up as an icon in the background. i had some mp3 files and video files saved in a subfolder of the blackberry folder. I went to a subfolder named "video" and carefully selected just five mp3 files. with the files selected, i held the control key while tapping the trackpad to bring up the pop-up menu. i then clicked on "open file from" and selected iTunes on the right to listen to these songs. what happened next was bizarre. iTunes wouldn't play the songs. So I closed the folder and reopened it only to find that the subfolder names in the blackberry folder appear in a bunch of funny characters! i close the folder again and when i reopen the usb drive icon, the blackberry folder itself doesn't show up at all this time.
    Message was edited by: Seho Park
    Message was edited by: Seho Park

    what make me really mad is that i repeated the same exact process but with another folder called "mp3" in the same usb drive and the mp3 files i selected played in itunes without a hitch! so what is going on here? i lost some important files in my blackberry folder and when i looked at the hidden trash.bin files by plugging the micro sd/usb drive into a windows pc, the size of the trash files are 0k and 4k. there's nothing in the trash files at all.
    Message was edited by: Seho Park

  • USB drive

    Whn I connect my blackberry with d USB cord it givs d opt of USB drive , Sync Media, charge only bt d desktop manager does not recognise d cell nor d PC recognise d memory card & if u chose the opt of USB drive thn u can't access d memory card on d cell does any one knows what is the problem. my USB cord is proper

    dis maks mah hed hrt
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • IPhone 5 iOS 6.1.4 and Windows 7 x64 USB Driver Issues

    Been pulling my hair out with this one for the last week or so and haven't had any luck finding anything on the forums or the web regarding a solution short of a full reinstall of Windows 7 which I am not prepared to do at this time; so hoping someone here can shine some light on this for me
    I have a iPhone 5 that is updated to iOS 6.1.4 and a recently built Windows 7 64-bit machine. All of my other USB devices function fine (keyboard, mouse, Xbox 360 wireless receiver for Windows, and a Seagate 2TB external USB drive). I've downloaded the most recent version of iTunes, installed successfully and then attempt to plug in my phone to sync. I get the standard Windows *ding* that I've attached a device and 1 of 2 things happens (I haven't been able to determine what causes one reaction to happen versus the other): Windows will successfully install the 'Apple USB Mobile Device Driver' successfully and it will appear under my USB devices in Device Manager. However - iTunes will not recognize the phone and I cannot see it in Windows either. In the 'Devices and Printers' snap-in my iPhone will appear under 'Unspecified Devices' as the 'Apple USB Mobile Device'. The iTunes diagnostics fail to find a connected device so the tests fail. As soon as I unplug the device, the strangest thing happens: Windows will start trying to install a device driver and after a few seconds it will fail stating that the "MTP Device Driver" installation failed because the device was unplugged. iTunes also thrown an error "iTunes cannot connect to this iPhone" throwing error code 0XE8000065 (I've also seen error code 0XE8000085 as well)
    After some finagling, I've managed to get Windows to recognize the device under 'Portable Devices' in Device Manager as an "MTP USB Device" using the generic driver. At this point, I've tried updating the driver and manually specifying the Apple USB driver located in the C:\Program Files(x86)\Common Files\Apple\Mobile Device Drivers which updates successfully but then changes the device to "Apple USB Mobile Device" and moves it under the USB Devices in Device Manager; and Windows nor iTunes can see it even still.
    I've tried removing iTunes several times and ensuring that all remnants of the installation are gone (registry and folders on the installation drive) and have disconnected all my USB devices short of the keyboard and mouse and still I get the same results. At this point, I'm afraid that a re-install of Windows is going to be the solution; but it's a drastic one (I have a SSD drive where Windows is installed along with all of my games for faster load times/better performance and do not want to have to redownload\reinstall all of them) and I'm not prepared to undertake it at this time, which is why I'm posting here
    I've used a utility called USBDeview that sees my phone is connected - so I know from a functional standpoint that my USB ports are good and working. I also know the cable is good too - my daughter's PC (Windows 7 32-bit with NO iTunes) immediately sees the device when I plug it in, installs the drivers, recognizes it as an iPhone and I can then see/browse it in Windows Explorer like I would normally expect. My work PC (Windows 7 64bit, NO iTunes) sees the device just fine as well. I would immensely appreciate anyone that has seen this issue or has any additional solutions I can try.
    It's also worth mentioning that I've never used Kapersky antivirus so the UPPERFILTERS value in the registry that I've seen as a solution on some forums is not present on my machine. I'm using Microsoft Security Essentials as my antivirus (no flaming please lol - it meets my needs and is extremely lightweight, which is why I'm using it on a gaming rig) and it's not indicating any issues. I've also tried running iTunes as an administrator (even though my account is a local admin on the machine) and that does not have any effect either.
    If there is anything I left out, please let me know; and I thank you in advance!

    AphexTwin wrote:
    - no Apple input?
    Of course not.  Didn't you bother to read the TOU of this forum?  This is a USER TO USER technical support forum.  Apple doesn't post here.

  • The USB drive on my computer is no longer working. How can I transfer my iPod libarary to another computer

    The USB drive on my computer is no longer working. How can I transfer my iPod library to another computer.

    Try:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • Connected usb driver is not detected in window 8.1

    hey .....
     HP 250 G3 notebook
    connected usb driver is not detected in window 8.1 after update BIOS software ....my current BIOS software version  F.22 .... so plsss...fix this problem......

    @jeet2113 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • New Firewire 800 External Hard Drive and how to use old External USB Drive

    Hi All,
    I have a new LaCie d2 Quadra Hard Disk hard drive 500 GB - FireWire / FireWire 800 / Hi-Speed USB / eSATA-300 on the way, when it arrives I plan to use it as my Time Machine Backup drive with the FireWire 800 connection. I am currently using a Seagate Free Agent USB 2.0 320 GB external drive as my Time Machine disk. The reason for upgrading is the USB drive is slow slow slow! I am not concerned about the data on my old drive and will just wipe it clean using Disk Utility. What I would like to do is use the old drive to archive iTunes 7.7.1 and Aperture 2.0 music and photographs. Can someone give me an idea how to go about doing this?
    Thanks!

    Hi, yes that will copy the whole iTunes..including everything in iTunes..BUT, as you add to your iTunes on the Main HD, with the ext HD I think you will have to manually update anything added. Or dragNdrop the whole thing again.. You could also locate you iTunes music Library & just copy that across..With images once again find your iPhoto library & just copy that across..L

  • How do  I Install Windows 7 on Mac Book Pro via a Bootable USB Drive

    Hi Guys,
    I have a Mac Book Pro 13 inch, Early 2011 Processor  2.3 GHz Intel Core i5 (I initially had OS 10.5.8 which I upgraded to OSX 10.9.4 a few months ago).
    When purchased it, I installed Windows via Super Drive (that being the only time i ever used the super drive). My Windows got corrupted for some reason 2 months ago. Hence, I removed the windows via Bootcamp to perform a fresh install. I discovered my Super Drive was no longer working.
    Thereon I have been trying to install Windows via a bootable USB Drive but am failing to do so. After going through several forums, I have reached the following stage.
    1. Created Bootable Windows USB Drive using Windows USB (http://www.wikihow.com/Create-a-Bootable-Windows-7-or-Vista-USB-Drive). Have used this USB drive to install windows on a DELL Computer
    2. Bootcamp wasnt creating a partition for windows since no Windows Installation disc was being detected in super drive. (Solved it by downloading Toast Titanium and loading the .iso file on a virtual drive).
    3. Boot menu was initially not detecting external drive, so installed rEFIt - An EFI Boot Menu and Toolkit. Now it is detecting the USB Drive.
    Now when I boot from this device, it get a black screen with the message "No bootable device - Insert Boot Disk"
    Request someone to please help me install windows as some softwares which I work with are windows based.

    smartestidiot wrote:
    So my understanding is that my Boot Camp Assistant (BCA), since it does not allow USB installer, it sets NVRAM to boot from Optical Drive. Right?
    Yes.
    So can I change it or update it to another BCA version which supports the same??
    All BCA versions drive the logic based on the Mac Model Identifier. Unfortunately there is no real workaround. .
    Please see https://www.ifixit.com/Guide/MacBook+Pro+13-Inch+Unibody+Early+2011+Optical+Driv e+Replacement/5122
    and https://www.ifixit.com/Store/Mac/Unibody-8x-SATA-SuperDrive-Post-Early-2009/IF16 1-073-2.

  • Global reset of file / folder permissions on a USB Drive

    I just migrated to a new MB Pro. I now have an issue with file permissions on my USB drive that I use for Time Machine and some other external data. I understand (sort of) why the permissions are messed up, because you're forced to come up with a new user name when you migrate your data and applications. That being said, I just want to globally reset / update the permissions on my USB drive and it's data so that I'm the owner; and I can read and write. And I want to save all my data.
    I've started this process going from the "get information" screen, so I think I know how. But it's been running forever. Isn't there some type of universal setting for a drive or does it just need to crunch thru every single file and directory?

    Whatever you've done already it's the wrong thing to do. You cannot arbitrarily change permissions on every file on your backup using the Get Info window. The result will be a complete screwup of all the file permissions on your backup. You will manage to make a simple problem into an unsolvable one.
    Next time you should ask first before you act rather than after when you cannot go back. Since you did this to your TM backup drive about all you can do at this point is erase the drive and start your TM backups from scratch. Of course this doesn't resolve anything for whatever you tried to migrate to your new computer.
    If you migrated your old Home folder to the new computer then first be sure the account has admin status, then log into the account. You should then have full access to all your restored files. You can then delete the other user account.

  • How to stop importing from usb drive going into root ITMS directory

    First time I imported, everything was fine. I was trying to get rid of some duplicates and got rid of one of the main subdirectories (I had "Itunes Music" folder with two main subdirectories, let's call them "Laptop" and "Desktop." I noticed I had many duplicate artists from these, so I deleted the "Laptop" directory. Naturally, all these showed up with asterisks on iTunes. With no easy way to delete them all (can't sort based on asterisk, apparently), I removed EVERYTHING from my Library and attempted to copy over from the USB drive again. This time, the contents of "Laptop" went into the root "iTunes Music" folder (so there were now ~50+ folders including the "Desktop."
    This isn't working for me, since my objective is to get rid of the duplicate work (duplicate tracks I can somewhat stomach, but I also have some duplicate "Artists" which is driving me crazy). I removed everything from the library, deleting it all (~30+GB) and deleted all of the subdirectories from the iTunes Music folder.
    When I went to reimport it all again. I dragged the "Laptop" folder from Finder on the USB drive into the iTunes Music directory again (as I did the first time), recreated the and everything continues to populate the top iTunes music folder. Is there any way to stop this? I want the "Laptop" folder to stay in it's subdirectory structure distinct and separate from the "Desktop" folder so I can ensure I am not unnecessarily increasing my structure.
    One easy (though extremely tedious) alternative could be to import the folders one at a time... but I'd really like to avoid that. But for my first mistake, this wouldn't have been an issue. I haven't changed any settings on iTunes, so please advise!

    I have duplicate (different) stuff on the laptop versus desktop but some unique to each (and all kinda scrambled up). I first started importing on my old G3 ibook. It was slower and chugged harder and some are at really low bitrate, for example, and also lack album art. My XP desktop was made for gaming and is much more powerful, so I always did high bitrate and was much more careful to do all the album art, etc.
    Now I'm trying to consolidate it all on my new MBP... Mostly, though, it's a mess and I've been putting this off for years and it's mostly my fault. My biggest gripe is the large number of duplicate tracks. I can live with these when they're from different albums (compilations mostly), but not when one is a lower bit. I imagine I'm gonna be doing it the hard way, one album/artist at a time...

  • Not able to create More than 1 Partition in USB Drive using kernel32 and DeviceIoControl

    I have successfully created 2 or more partitions in USB drive using DeviceIoControl in C++. Now I am trying to convert this code into C# using kernel32 and DeviceIoControl. But I am not getting more than 1 partition. Can anybody tell me what is wrong
    with this code?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Diagnostics;
    using System.Runtime.InteropServices;
    namespace PartitionWrapper
    public class IOWrapper
    public static bool CreatePartitions(string selectedDrive)
    bool RetCode = false;
    try
    bool bSuccess = false;
    uint dwBytesReturned = 0;
    IntPtr hDisk = OpenVolume(selectedDrive);
    if (hDisk == null || hDisk == FSConstants.INVALID_HANDLE_VALUE)
    RetCode = false;
    goto FINAL;
    bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_DELETE_DRIVE_LAYOUT, IntPtr.Zero, 0, default(IntPtr), default(uint), ref dwBytesReturned);
    // Get the partition information
    uint PartitionInfomations = (uint)(Marshal.SizeOf(typeof(FSStructures.DRIVE_LAYOUT_INFORMATION_EX)) + 3 * Marshal.SizeOf(typeof(FSStructures.PARTITION_INFORMATION_EX)));
    byte[] DBuffer = new byte[PartitionInfomations];
    GCHandle handle = GCHandle.Alloc(DBuffer, GCHandleType.Pinned);
    FSStructures.DRIVE_LAYOUT_INFORMATION_EX pDriveLayout = (FSStructures.DRIVE_LAYOUT_INFORMATION_EX)Marshal.PtrToStructure(handle.AddrOfPinnedObject(), typeof(FSStructures.DRIVE_LAYOUT_INFORMATION_EX));
    IntPtr pDriveLayoutPtr = Marshal.AllocHGlobal(Marshal.SizeOf(pDriveLayout));
    Marshal.StructureToPtr(pDriveLayout, pDriveLayoutPtr, false);
    // bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_GET_DRIVE_LAYOUT_EX, default(IntPtr), default(uint), pDriveLayoutPtr, PartitionInfomations, ref dwBytesReturned);
    pDriveLayout = (FSStructures.DRIVE_LAYOUT_INFORMATION_EX)Marshal.PtrToStructure(pDriveLayoutPtr, typeof(FSStructures.DRIVE_LAYOUT_INFORMATION_EX));
    if (bSuccess || dwBytesReturned != PartitionInfomations)
    RetCode = true;
    else { RetCode = false; goto FINAL; }
    pDriveLayout.PartitionEntry = new FSStructures.PARTITION_INFORMATION_EX[0x16];
    pDriveLayout.PartitionStyle = FSStructures.PARTITION_STYLE.MasterBootRecord;
    pDriveLayout.PartitionCount = 4;
    pDriveLayout.DriveLayoutInformatiton.Mbr.Signature = 0xA4B57300;
    pDriveLayout.PartitionEntry[0] = new FSStructures.PARTITION_INFORMATION_EX();
    pDriveLayout.PartitionEntry[0].PartitionStyle = FSStructures.PARTITION_STYLE.MasterBootRecord;
    pDriveLayout.PartitionEntry[0].Mbr.BootIndicator = true;
    pDriveLayout.PartitionEntry[0].Mbr.RecognizedPartition = true;
    pDriveLayout.PartitionEntry[0].Mbr.PartitionType = 0x0B;
    pDriveLayout.PartitionEntry[0].PartitionNumber = 1;
    pDriveLayout.PartitionEntry[0].StartingOffset = 32256;
    pDriveLayout.PartitionEntry[0].PartitionLength = 3221225472;
    pDriveLayout.PartitionEntry[0].RewritePartition = true;
    pDriveLayout.PartitionEntry[0].Mbr.HiddenSectors = 32256 / 512;
    pDriveLayout.PartitionEntry[1] = new FSStructures.PARTITION_INFORMATION_EX();
    pDriveLayout.PartitionEntry[1].PartitionStyle = FSStructures.PARTITION_STYLE.MasterBootRecord;
    pDriveLayout.PartitionEntry[1].Mbr.BootIndicator = false;
    pDriveLayout.PartitionEntry[1].Mbr.RecognizedPartition = true;
    pDriveLayout.PartitionEntry[1].Mbr.PartitionType = 0x0B;
    pDriveLayout.PartitionEntry[1].PartitionNumber = 2;
    pDriveLayout.PartitionEntry[1].StartingOffset = 32256 + 3221225472;
    pDriveLayout.PartitionEntry[1].PartitionLength = 2147483648; //2147483648;//3221225472;
    pDriveLayout.PartitionEntry[1].RewritePartition = true;
    pDriveLayout.PartitionEntry[1].Mbr.HiddenSectors = 32256 / 512;
    for (int i = 0; i < pDriveLayout.PartitionEntry.Length; i++)
    pDriveLayout.PartitionEntry[i].RewritePartition = true;
    try
    bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_SET_DRIVE_LAYOUT_EX, ref pDriveLayout, PartitionInfomations, default(IntPtr), default(uint), ref dwBytesReturned);
    catch (Exception ex)
    if (bSuccess)
    RetCode = true;
    else { RetCode = false; }
    bSuccess = FSStructures.DeviceIoControl(hDisk, FSConstants.IOCTL_DISK_UPDATE_PROPERTIES, IntPtr.Zero, 0, default(IntPtr), default(uint), ref dwBytesReturned);
    if (bSuccess)
    RetCode = true;
    else { RetCode = false; }
    FINAL:
    // Close the disk handle.
    if (hDisk != null && hDisk != FSConstants.INVALID_HANDLE_VALUE)
    FSStructures.CloseHandle(hDisk);
    catch { return false; }
    return RetCode;
    private static IntPtr OpenVolume(string DeviceName)
    try
    IntPtr hDevice;
    hDevice = FSStructures.CreateFile(
    @"\\.\" + DeviceName,
    FSConstants.GENERIC_EXECUTE | FSConstants.GENERIC_READ | FSConstants.GENERIC_WRITE | FSConstants.FILE_SHARE_READ | FSConstants.FILE_SHARE_WRITE,
    FSConstants.FILE_SHARE_WRITE,
    IntPtr.Zero,
    FSConstants.OPEN_EXISTING,
    0,
    IntPtr.Zero);
    if ((int)hDevice == -1)
    throw new Exception(Marshal.GetLastWin32Error().ToString());
    return hDevice;
    catch { return FSConstants.INVALID_HANDLE_VALUE; }
    internal static class FSConstants
    public const uint FILE_SHARE_READ = 0x00000001;
    public const uint FILE_SHARE_WRITE = 0x00000002;
    public const uint OPEN_EXISTING = 3;
    public const int GENERIC_EXECUTE = 0x10000000;
    public const uint GENERIC_READ = (0x80000000);
    public const uint GENERIC_WRITE = (0x40000000);
    public static IntPtr INVALID_HANDLE_VALUE = new IntPtr(-1);
    public const uint IOCTL_DISK_GET_DRIVE_LAYOUT_EX = 0x00070050;
    public const uint IOCTL_DISK_SET_DRIVE_LAYOUT_EX = 0x7C054;
    public const int IOCTL_DISK_UPDATE_PROPERTIES = 0x70140;
    public const int IOCTL_DISK_DELETE_DRIVE_LAYOUT = 0x0007c010;
    public const int IOCTL_DISK_CREATE_DISK = 0x7C058;
    internal static class FSStructures
    [DllImport("kernel32.dll", EntryPoint = "CreateFile", SetLastError = true)]
    public static extern IntPtr CreateFile(
    string lpFileName,
    uint dwDesiredAccess,
    uint dwShareMode,
    IntPtr lpSecurityAttributes,
    uint dwCreationDisposition,
    uint dwFlagsAndAttributes,
    IntPtr hTemplateFile);
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern int CloseHandle(IntPtr hObject);
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern bool DeviceIoControl(
    IntPtr hDevice,
    uint dwIoControlCode,
    [Optional]ref DRIVE_LAYOUT_INFORMATION_EX lpInBuffer,
    uint nInBufferSize,
    [Optional] [Out] IntPtr lpOutBuffer,
    uint nOutBufferSize,
    [Optional] ref uint lpBytesReturned,
    [Optional] IntPtr lpOverlapped);
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern bool DeviceIoControl(
    IntPtr hDevice,
    uint dwIoControlCode,
    IntPtr lpInBuffer,
    uint nInBufferSize,
    [Optional] [Out] IntPtr lpOutBuffer,
    uint nOutBufferSize,
    [Optional] ref uint lpBytesReturned,
    [Optional] IntPtr lpOverlapped);
    [StructLayout(LayoutKind.Sequential)]
    public struct DRIVE_LAYOUT_INFORMATION_EX
    public PARTITION_STYLE PartitionStyle;
    public int PartitionCount;
    public DRIVE_LAYOUT_INFORMATION_UNION DriveLayoutInformatiton;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = 0x16)]
    public PARTITION_INFORMATION_EX[] PartitionEntry;
    [StructLayout(LayoutKind.Sequential)]
    public struct PARTITION_INFORMATION_EX
    [MarshalAs(UnmanagedType.U4)]
    public PARTITION_STYLE PartitionStyle;
    public long StartingOffset;
    public long PartitionLength;
    public int PartitionNumber;
    public bool RewritePartition;
    public PARTITION_INFORMATION_MBR Mbr;
    public PARTITION_INFORMATION_GPT Gpt;
    [StructLayout(LayoutKind.Sequential)]
    public struct PARTITION_INFORMATION_MBR
    public byte PartitionType;
    [MarshalAs(UnmanagedType.U1)]
    public bool BootIndicator;
    [MarshalAs(UnmanagedType.U1)]
    public bool RecognizedPartition;
    public uint HiddenSectors;
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    public struct PARTITION_INFORMATION_GPT
    public Guid PartitionType;
    public Guid PartitionId;
    [MarshalAs(UnmanagedType.U8)]
    public EFIPartitionAttributes Attributes;
    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
    public string Name;
    [Flags]
    public enum EFIPartitionAttributes : ulong
    GPT_ATTRIBUTE_PLATFORM_REQUIRED = 0x0000000000000001,
    LegacyBIOSBootable = 0x0000000000000004,
    GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER = 0x8000000000000000,
    GPT_BASIC_DATA_ATTRIBUTE_HIDDEN = 0x4000000000000000,
    GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY = 0x2000000000000000,
    GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY = 0x1000000000000000
    [StructLayout(LayoutKind.Explicit)]
    public struct DRIVE_LAYOUT_INFORMATION_UNION
    [FieldOffset(0)]
    public DRIVE_LAYOUT_INFORMATION_MBR Mbr;
    [FieldOffset(0)]
    public DRIVE_LAYOUT_INFORMATION_GPT Gpt;
    [StructLayout(LayoutKind.Sequential)]
    public struct DRIVE_LAYOUT_INFORMATION_GPT
    public Guid DiskId;
    public long StartingUsableOffset;
    public long UsableLength;
    public int MaxPartitionCount;
    [StructLayout(LayoutKind.Sequential)]
    public struct DRIVE_LAYOUT_INFORMATION_MBR
    public uint Signature;
    public enum PARTITION_STYLE : int
    MasterBootRecord = 0,
    GuidPartitionTable = 1,
    Raw = 2

    Hello,
    in the links below you can found many informations to help you:
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa365730(v=vs.85).aspx
    http://www.codeproject.com/Articles/696388/Recover-Data-From-Corrupted-Drives-File-Systems-FA
    http://www.functionx.com/vcsharp/fileprocessing/drives.htm
    http://forums.codeguru.com/showthread.php?548305-partitioning-USB-Falsh-drive
    http://forums.codeguru.com/showthread.php?548169-USB-Flash-drive-Partitioning

  • [SOLVED]Mounting usb drives "not authorized" with thunar-volman (XFCE)

    Hi,
    I'm new to Arch (even though I must be approximately at my 15th try at installing it properly) and I have a problem with thunar-volman.
    Whenever I log in as user, and try to mount a usb drive with thunar, let's say I want to plug a drive labeled Ext3_8Go, I get the same message in a pop-up window : "Failed to mount Ext3_8Go (or anything close, not in English in the text), not authorized (that part is in English)"
    My install is :
    - net install
    - partitions : 9Go for /, no swap, no separate /home
    - packages : base and base-devel. The only modifications in the package list is that I remove ppp, pcmciautils, and xfsprogs.
    - config : at the install stage I only modify rc.conf to change LOCALE and HOSTNAME, and pacman's mirrorlist to allow all French mirrors in addition to the one at the top.
    When the usb installation is over, I run this script :
    "installation_xfce.sh"  (there may be some errors left, I modify this script as I learn) :
    #!/bin/bash
    # expected environment : freshly installed archlinux, login : root.
    echo "Are you connected to internet ? If not, please Ctrl+C and reload this script when connected"
    echo "Otherwise, press ENTER to continue installation"
    read var_dummy
    echo "Creation of the user : please type in your user name :"
    read var_username
    useradd -u 1000 -g users -G audio,lp,storage,optical,video,wheel,games,power,network -d /home/$var_username/ -s /bin/bash -m $var_username
    echo "You will now be asked to create the password for this user:"
    passwd $var_username
    # Add servers for pacman to find packages
    cat >> /etc/pacman.conf << EOF
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/\$arch
    [catalyst]
    Server = http://catalyst.apocalypsus.net/repo/catalyst/\$arch
    EOF
    # Install packages
    pacman -Syyu
    pacman -S acpi acpid alsa-oss alsa-plugins alsa-utils catalyst catalyst-utils cpufrequtils cups dbus gstreamer0.10-base-plugins iptables laptop-mode-tools mesa net-tools netcfg ntp pm-utils rfkill rsync sudo ttf-dejavu vim wireless_tools xf86-input-evdev xorg-server xorg-utils xorg-xinit xorg-xinput yaourt conky gamin gnome-icon-theme gnome-keyring gvfs-afc network-manager-applet networkmanager slim slim-themes archlinux-themes-slim hicolor-icon-theme xfce4 xfce4-goodies
    # If pacman failed, better stop the script here, and wait for a network connection
    if [[ $?!=0 ]]
    then
    echo : failed to install packages - check your network connection, or review script
    exit 1
    fi
    # Fix sound issue
    cat > /home/$var_username/.asoundrc << EOF
    pcm.!default{
    type hw
    card 1
    device 0
    ctl.!default{
    type hw
    card 1
    device 0
    EOF
    chown $var_username:users /home/$var_username/.asoundrc
    # Configure video settings for X to use Catalyst
    if [[ ! -e /etc/X11/xorg.conf.d ]]
    then
    mkdir /etc/X11/xorg.conf.d
    fi
    cat > /etc/X11/xorg.conf.d/20-fglrx.conf << EOF
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    EndSection
    EOF
    sed -e 's/top_left/bottom_right/' -e '/alignment/i\double_buffer yes' -e '/CPU Usage/a\${color lightgrey}Temperatures:' -e '/CPU Usage/a\ CPU:$color ${hwmon 0 temp 1}°C' </etc/conky/conky.conf >/home/$var_username/.conkyrc
    chown $var_username:users /home/$var_username/.conkyrc
    # Install clickpad support
    yaourt -S xf86-input-synaptics-clickpad
    # Add french keyboard to X
    sed '/MatchIsKeyboard/a\\tOption "XkbLayout" "fr"' </etc/X11/xorg.conf.d/10-evdev.conf >/etc/X11/xorg.conf.d/10-evdev.conf.new
    mv -f /etc/X11/xorg.conf.d/10-evdev.conf.new /etc/X11/xorg.conf.d/10-evdev.conf
    # Add new daemons, remove old ones, disable hwclock and remove netfs since I don't use it. add it if you need it
    sed '/DAEMONS=/c\DAEMONS=(!hwclock dbus syslog-ng networkmanager laptop-mode acpid @alsa @cupsd @cpufrequtils ntpd crond)' </etc/rc.conf >/etc/rc.conf.new
    mv -f /etc/rc.conf.new /etc/rc.conf
    # Slim login manager ; change theme
    mv /usr/share/slim/themes/archlinux-darch-grey /tmp/
    mv /usr/share/slim/themes/default /tmp/
    rm -r /usr/share/slim/themes/*
    mv /tmp/archlinux-darch-grey /usr/share/slim/themes
    mv /tmp/default /usr/share/slim/themes
    sed '/^current_theme/c\current_theme archlinux-darch-grey' </etc/slim.conf >/etc/slim.conf
    # XFCE login, and thunar launched as a daemon
    sed '/^# exec/c\' </etc/skel/.xinitrc >/tmp/.xinitrc
    sed '/^# .../c\' </tmp/.xinitrc >/home/$var_username/.xinitrc
    cat >> /home/$var_username/.xinitrc << EOF
    exec ck-launch-session startxfce4
    thunar --daemon &
    EOF
    chown $var_username:users /home/$var_username/.xinitrc
    # Boot to runlevel 5 now, and run slim then
    sed -e 's/id:3/#id:3/' -e 's/#id:5/id:5/' -e 's|x:5:respawn:/usr/bin/xdm|#x:5:respawn:/usr/bin/xdm|' -e 's|#x:5:respawn:/usr/bin/slim|x:5:respawn:/usr/bin/slim|' </etc/inittab >/etc/inittab.new
    mv -f /etc/inittab.new /etc/inittab
    # Add colored prompt to user and root
    sed '/^PS1/c\' </etc/skel/.bashrc >/root/.bashrc
    cat >> /root/.bashrc << EOF
    PS1='\[\e[0;32m\]\u@\h\[\e[m\] \[\e[0;35m\]\w\[\e[m\] \[\e[m\] \[\e[0;32m\]\t -\[\e[m\] \[\e[1;31m\]\$ \[\e[m\] '
    EOF
    cp /root/.bashrc /home/$var_username/.bashrc
    chown $var_username:users /home/$var_username/.bashrc
    # How does one do that automatically ?
    # Manually add user to sudoers
    EDITOR="vim" visudo
    # Reboot, because it's quick and I'm too lazy to learn how to start all the daemons and others.
    reboot
    I can mount as a user, no password asked, with :
    udisks --mount /dev/sdb2
    but the GUI method tells me "not authorized".
    "groups user" outputs :
    lp wheel games network video audio optical storage power users
    the command "ck-list-sessions" outputs :
    Session2:
    unix-user = '1000'
    realname = ''
    seat = 'Seat1'
    session-type = ''
    active = TRUE
    x11-display = ':0.0'
    x11-display-device = '/dev/tty7'
    display-device = ''
    remote-host-name = ''
    is-local = TRUE
    on-since = '2011-08-15T08:56:03.716103Z'
    login-session-id = '1'
    Session1:
    unix-user = '1000'
    realname = ''
    seat = 'Seat2'
    session-type = ''
    active = FALSE
    x11-display = ':0.0'
    x11-display-device = ''
    display-device = ''
    remote-host-name = ''
    is-local = TRUE
    on-since = '2011-08-15T08:56:03.573029Z'
    login-session-id = '1'
    For those who don't have time to read the installation script, DBUS is in the DAEMONS list of rc.conf, and .xinitrc launches : exec ck-launch-session startxfce4
    Any idea ?
    Last edited by choubbi (2011-08-15 15:05:04)

    Thanks a lot !
    That worked !
    I stumbled across this part of the wiki several times before, but didn't really understand so I had not tried.
    If anyone's interested in the script, here's the corrected version :
    #!/bin/bash
    # expected environment : freshly installed archlinux, login : root.
    echo "Are you connected to internet ? If not, please Ctrl+C and reload this script when connected"
    echo "Otherwise, press ENTER to continue installation"
    read var_dummy
    echo "Creation of the user : please type in your user name :"
    read var_username
    useradd -u 1000 -g users -G audio,lp,storage,optical,video,wheel,games,power,network -d /home/$var_username/ -s /bin/bash -m $var_username
    echo "You will now be asked to create the password for this user:"
    passwd $var_username
    # Add servers for pacman to find packages
    cat >> /etc/pacman.conf << EOF
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/\$arch
    [catalyst]
    Server = http://catalyst.apocalypsus.net/repo/catalyst/\$arch
    EOF
    # Install packages
    pacman -Syyu
    pacman -S acpi acpid alsa-oss alsa-plugins alsa-utils catalyst catalyst-utils cpufrequtils cups dbus gstreamer0.10-base-plugins iptables laptop-mode-tools mesa net-tools netcfg ntp pm-utils rfkill rsync sudo ttf-dejavu vim wireless_tools xf86-input-evdev xorg-server xorg-utils xorg-xinit xorg-xinput yaourt conky gamin gnome-icon-theme gnome-keyring gvfs-afc network-manager-applet networkmanager slim slim-themes archlinux-themes-slim hicolor-icon-theme xfce4 xfce4-goodies
    # If pacman failed, better stop the script here, and wait for a network connection
    if [[ $?!=0 ]]
    then
    echo : failed to install packages - check your network connection, or review script
    exit 1
    fi
    # Fix sound issue
    cat > /home/$var_username/.asoundrc << EOF
    pcm.!default{
    type hw
    card 1
    device 0
    ctl.!default{
    type hw
    card 1
    device 0
    EOF
    chown $var_username:users /home/$var_username/.asoundrc
    # Configure video settings for X to use Catalyst
    if [[ ! -e /etc/X11/xorg.conf.d ]]
    then
    mkdir /etc/X11/xorg.conf.d
    fi
    cat > /etc/X11/xorg.conf.d/20-fglrx.conf << EOF
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    EndSection
    EOF
    sed -e 's/top_left/bottom_right/' -e '/alignment/i\double_buffer yes' -e '/CPU Usage/a\${color lightgrey}Temperatures:' -e '/CPU Usage/a\ CPU:$color ${hwmon 0 temp 1}°C' </etc/conky/conky.conf >/home/$var_username/.conkyrc
    chown $var_username:users /home/$var_username/.conkyrc
    # Install clickpad support
    yaourt -S xf86-input-synaptics-clickpad
    # Add french keyboard to X
    sed '/MatchIsKeyboard/a\\tOption "XkbLayout" "fr"' </etc/X11/xorg.conf.d/10-evdev.conf >/etc/X11/xorg.conf.d/10-evdev.conf.new
    mv -f /etc/X11/xorg.conf.d/10-evdev.conf.new /etc/X11/xorg.conf.d/10-evdev.conf
    # Add new daemons, remove old ones, disable hwclock and remove netfs since I don't use it. add it if you need it
    sed '/DAEMONS=/c\DAEMONS=(!hwclock dbus syslog-ng networkmanager laptop-mode acpid @alsa @cupsd @cpufrequtils ntpd crond)' </etc/rc.conf >/etc/rc.conf.new
    mv -f /etc/rc.conf.new /etc/rc.conf
    # Slim login manager ; change theme
    mv /usr/share/slim/themes/archlinux-darch-grey /tmp/
    mv /usr/share/slim/themes/default /tmp/
    rm -r /usr/share/slim/themes/*
    mv /tmp/archlinux-darch-grey /usr/share/slim/themes
    mv /tmp/default /usr/share/slim/themes
    sed '/^current_theme/c\current_theme archlinux-darch-grey' </etc/slim.conf >/etc/slim.conf
    # XFCE login, and thunar launched as a daemon (note that the part with 'if [ -d /etc/X11/xinit/xinitrc.d ]" is not present, to avoid mounting problems when logged as regular user)
    cat > /home/$var_username/.xinitrc << EOF
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    exec ck-launch-session startxfce4
    thunar --daemon &
    EOF
    chown $var_username:users /home/$var_username/.xinitrc
    # Boot to runlevel 5 now, and run slim then
    sed -e 's/id:3/#id:3/' -e 's/#id:5/id:5/' -e 's|x:5:respawn:/usr/bin/xdm|#x:5:respawn:/usr/bin/xdm|' -e 's|#x:5:respawn:/usr/bin/slim|x:5:respawn:/usr/bin/slim|' </etc/inittab >/etc/inittab.new
    mv -f /etc/inittab.new /etc/inittab
    # Add colored prompt to user and root
    sed '/^PS1/c\' </etc/skel/.bashrc >/root/.bashrc
    cat >> /root/.bashrc << EOF
    PS1='\[\e[0;32m\]\u@\h\[\e[m\] \[\e[0;35m\]\w\[\e[m\] \[\e[m\] \[\e[0;32m\]\t -\[\e[m\] \[\e[1;31m\]\$ \[\e[m\] '
    EOF
    cp /root/.bashrc /home/$var_username/.bashrc
    chown $var_username:users /home/$var_username/.bashrc
    # How does one do that automatically ?
    # Manually add user to sudoers
    EDITOR="vim" visudo
    # Reboot, because it's quick and I'm too lazy to learn how to start all the daemons and others.
    reboot
    The important part of the script to solve the problem is :
    cat > /home/$var_username/.xinitrc << EOF
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    exec ck-launch-session startxfce4
    thunar --daemon &
    EOF
    chown $var_username:users /home/$var_username/.xinitrc

  • USB Drive and iPod do not show up on desktop

    Hello,
    I put the computer to sleep when I'm going to be away for awhile and overnight. When I come back and wake it, my USB drive does not appear on the desktop. I have to restart the iMac to get it to come back.
    Also, when I plug my iPod in, iTunes updates it and then within 10 minutes, the icon does not show on the desktop but I can see the iPod in iTunes.
    Any ideas?
    Thanks,
    Brad

    I did run the hardware test and everything passed.
    For about 3 hours last night, everything was working fine. This morning the USB drive icon is there but not the iPod. I think I will try the OS reinstall but not for about a week. I will be out of town all next week and can't get to it before I leave.
    Something may have gone wacky while loading some application. A couple of the suspects would be Adobe Lightroom beta 4 or Google Earth. This issue only started within the last 5 days or so and I think those are the only applications I've loaded in that time.
    Thanks for the help in eliminating some of the culprits. I think the OS install should fix. If not, it may be time to have Apple take a look.

  • How do I get Lightroom to find photos on a USB Drive when the Drive letter changes?

    THis is probably a simple question but I keep getting stuck.  I ha
    ve my catalog and some images on my laptop hard drive, but the majority are on
    an external USB drive.  Sometoimes the drive gets assigned
    E:, F;, or G:, and when it cahnges, the catalog says the phots are missing.  How do I get
    Lightroom to find the photos again?
    Tom Barnwell

    The quick fix is to click on the folder containing the missing files and choose "update Folder Location" then find the folder on the USB drive. The longer term and fix you should apply is to set Windows to always give the USB the same drive letter. You can do this through the XP Disk Management application in Computer Management (Control Panel applet). The following screenshot is for XP, but Vista and Win 7 will something similar which can be accessed via Administrative Tools (see second screenshot).

Maybe you are looking for

  • Time Machine will not start (code -43)

    After getting a new 1TB external usb drive and changing format for use with time machine the program no longer launches producing unexpected error (code -43) instead. I had hoped to have three of four partitions on this drive for use with old windows

  • Taking too much time for saving PO with line item more than 600

    HI We are trying to save PO with line items more than 600, but it is taking too much time to save. It is taking more than 1 hour to save the PO. Kindly let me know is there any restriction for no. of line items in the PO. Pls guide regards Sanjay

  • How to identify an iBook G/3 700 MHz?

    I'm trying to get an accurate identification of the iBook white G/3 700 MHz with 12in display we just acquired. There seems to be a couple of very similar models. The Apple Support article is unclear (<http://docs.info.apple.com/article.html?artnum=8

  • Ipad 2 camera frozen

    HI, after latest iosupdate  about 3 weeks ago my camera shutter wont open when i try take a fron picture. i Have no local Apple store. it was fine before and worked perfectly. i Bought the apple device from a reputable seller on ebay about 6 months a

  • CDE in Solaris 10 8/07

    I installed the Solaris 10 8/07 dvd from Sun, all drivers appeared to load and patches are up to date. The problem is that I get the message Xserver won't start Upon examination of /var/log/Xorg.0.log I see (EE) unable to locate/open config file. Als