net use z: \\mycomputer\myshare /user:mydomian\myuser Test123 -> Dummy user recommended, cause you must add the password over remoteshell
or
rescan
List disk
List volume
Exit
DISKPART /S c:\list
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 74 GB 0 B
Disk 1 Offline 74 GB 0 B
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 System Rese NTFS Partition 100 MB Healthy System
Volume 2 C NTFS Partition 74 GB Healthy Boot
list disk
select disk 2
online disk
attr disk clear readonly
create partition primary
list volume
select volume 3
format
select volume 3
ASSIGN
exit
list disk
select disk 2
online disk
attr disk clear readonly
create partition primary
list volume
select volume 2
format
select volume 2
ASSIGN
exit
list disk
select disk 3
online disk
attr disk clear readonly
list volume
select volume 4
format
select volume 4
ASSIGN
exit
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (0)