I recently shrunk(shrinked) a "30 GB portion" of my 148GB primary partition, but the thing is the shrink process ran but ended with a message saying access denied and that 30GB portion is nowhere to be found. How can I get that 30GB portion back?
Shrinking volume will result in a block of unallocated space, where you can create a new volume.
Well that's the thing, I used diskmgmt.exe to perform the shrink on my primary partition. The shrink operation ran then it just stopped and a message window appeared saying "Access Denied" ( the message window's title was: Virtual Disk Manager")
Have you logged in as the administrator? It is always the administrator that is allowed to shrink or change a partition.
As to the 30 GB portion, it often will become unallocated space and also can be seen in Disk Management.
Administrator: Yes I am
Seen in Disk Management: Nope, no unallocated space in sight.
Your problem is unclear. You say that the shrink volume attempt failed, correct?
You said that your initial volume size was 148GB but since the failed volume shrink, you have lost 30GB, correct?
In "My Computer" what is the current size of your C:? Is it 148GB or 118GB?
You say that there is no unallocated space when you view your drive in "Disk Management" but the title of this thread clearly states that that you have 30GB of RAW partition space. Where have you got that notion from, if not from Disk Management?
RAW usually means that your filesystem has become corrupt. If that is the case, or if you have genuinely lost a volume on your hard drive, then you need to use TestDisk to recover the volume or rebuild your filesytem. Here is the how-to: http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step