Skip to main content

64 Gb usb stick showing only 32gb to re-format to 64Gb


I had issue with my 64Gb USB stick showing only 32 GB and not allow me to format to 64Gb with disk management or file explorer. so I got to Diskpart to get this done.

What is Diskpart(Disk Partition Utility)?

Diskpart is a command-line utility used to manipulate disk partitions in windows Vistar, XP and windows server 2003 family. This tool enables you to manage objects (disks, partitions, or volumes) by using scripts or direct input at a command prompt.

DiskPart Command-Line Options


Formatting USB drive 

we will wiped up all in the usb drive including partition and re-initialized with full capacity of the usb.

1. Start  CMD with run as administrator.
2. type in diskpart


3. list disk
4. select disk 2


 make sure you selected correct one with asterisk mark(*) in front of disk before proceed to below steps.
5. clean
6. create partition primary
7. active
8. format fs=ntfs label="MyUSB" quick
9. assign
10. exit

Done.

Comments

Popular posts from this blog

Solution to Windows Virtual Machine in VMWARE which has set up with 8 vCPU only showing only 2 core.

[Problem] Windows Virtual Machine in  VMWARE   which has set up with 8 vCPU only shows 2 core.  [Instruction] Power off the virtual machine. In Virtual Hardware, Enter the number of CPUs. (ex. 8) Click the VM  Options  tab. in the Advanced options section,  Click Edit Configuration in Configuration Parameters. Add  cpuid.coresPerSocket  in the  Name  column. Enter a value (try 2, 4, or 8) in the  Value  column. (ex. 4) Note : Ensure that the number of vCPUs is divisible by the number of    cpuid.coresPerSocket  in the virtual machine. That is, when you divide the number of vCPUs by the number of  cpuid.coresPerSocket , it must return an integer value. For example,  if your virtual machine is created with 8 vCPUs, coresPerSocket   can only be 1, 2, 4, or 8.

How to configure LDAPS, LDAP over SSL, using CA Certificate Service on Domain Controller in Windows Server 2016

This post is to provide an instruction on how to set up LDAPS (LDAP over SSL) on Domain Controller using single-tier CA hierachy. Reasons for Enabling LDAPS By default, LDAP communications between client and server applications are not encrypted. This means that it would be possible to use a network monitoring device or software and view the communications traveling between LDAP client and server computers. This is especially problematic when an LDAP simple bind is used because credentials (username and password) is passed over the network unencrypted. This could quickly lead to the compromise of credentials.  Reasons for enabling Lightweight Directory Access Protocol (LDAP) over Secure Sockets Layer (SSL) / Transport Layer Security (TLS) also known as LDAPS include: Some applications authenticate with Active Directory Domain Services (AD DS) through simple BIND. As simple BIND exposes the users’ credentials in clear text, use of Kerberos is preferred. If simp...

[VirtualBox 6][Centos 8] Troubleshoot - unbale to enable second network adaptor on Centos 8 in VirtualBox

[Problem] After installing Centos 8 on VirtualBox 6.x version, I realised that second network adpator never actually up and running which makes only use first network adaptor. [Issue Check] - When First log in to Centos, it is showing only First network adapter regardless of network type(NAT, Host only or Bridge). - Tried to activate second network using NetworkManager but it doesn't even show the Network interface but ip list is showing second network. nmtui [Solution] The solution to this is simply create scripts for second network interface in /etc/sysconfig/network-scripts. 1. cd /etc/sysconfig/network-scripts 2. sudo cp enp0s3 enp0s8 3. sudo vi enp0s8 4. reboot Once it reboots, second network is up and running with ip address assigned as expected. [Troubleshooting Clip]