Comments (4)
Thanks for the command.
The account I'm logged into the machine is not a local admin but the account (same for both, app and cli command) I'm using to launch Arsenal Image Mounter and run the cli command is a local admin.
I'm pretty sure that I've used Arsenal Image Mounter in the same way before, but when I have an opportunity I'm going to login with the account that has local admin permissions and see if Windows is getting in the way some how.
This is from an administrator Terminal/PowerShell v7.2.5 session.
PS C:\Software\Arsenal-Image-Mounter-v3.9.223> dotnet aim_cli.dll --filename=C:\Images\TestCase.E01 --provider=libewf --readonly --trace --mount
Opening image file 'C:\Images\TestCase.E01' with format provider 'libewf'...
Registering DiscUtils assembly 'DiscUtils.Vmdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Registering DiscUtils assembly 'DiscUtils.Vhdx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Registering DiscUtils assembly 'DiscUtils.Vhd, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Registering DiscUtils assembly 'DiscUtils.Vdi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Registering DiscUtils assembly 'DiscUtils.Dmg, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Registering DiscUtils assembly 'DiscUtils.Xva, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Registering DiscUtils assembly 'DiscUtils.OpticalDisk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Registering DiscUtils assembly 'DiscUtils.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5fa5b410cc9c6289'...
Image virtual size is 3.809 GB
Mounting as virtual disk...
Successfully opened SCSI adapter 'ROOT\SCSIADAPTER\0000'.
Creating objects for shared memory communication 'devio-df2ceadc-9802-17e5-6f45-1d4ba0863374'.
Service thread initialization failed: System.Exception: This operation requires administrative privileges.
---> System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateCore(FileStream fileStream, String mapName, HandleInheritability inheritability, MemoryMappedFileAccess access, MemoryMappedFileOptions options, Int64 capacity)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateNew(String mapName, Int64 capacity, MemoryMappedFileAccess access, MemoryMappedFileOptions options, HandleInheritability inheritability)
at Arsenal.ImageMounter.Devio.Server.Services.DevioShmService.RunService()
--- End of inner exception stack trace ---.
System.Exception: Service initialization failed
---> System.Exception: This operation requires administrative privileges.
---> System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateCore(FileStream fileStream, String mapName, HandleInheritability inheritability, MemoryMappedFileAccess access, MemoryMappedFileOptions options, Int64 capacity)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateNew(String mapName, Int64 capacity, MemoryMappedFileAccess access, MemoryMappedFileOptions options, HandleInheritability inheritability)
at Arsenal.ImageMounter.Devio.Server.Services.DevioShmService.RunService()
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Arsenal.ImageMounter.Devio.Server.Services.DevioServiceBase.StartServiceThreadAndMount(ScsiAdapter ScsiAdapter, DeviceFlags Flags)
at Arsenal.ImageMounter.ServerModule.UnsafeMain(IDictionary`2 commands)
at Arsenal.ImageMounter.ServerModule.Main(String[] args)
Service initialization failed
This operation requires administrative privileges.
Access to the path is denied.
PS C:\Software\Arsenal-Image-Mounter-v3.9.223>
Clearly something doesn't have the necessary permissions or there is a flag that isn't getting set with how I'm launching/running the application. Wonder if this could be related to UAC settings?
-Salty
from arsenal-image-mounter.
I did some additional testing with my accounts and on another machine. This appears to be a me issue (our build/group policy). I'm going to keep digging to see if I can narrow down the setting that is preventing AIM from working. I'll report back if I do find it just in case somebody else runs into the same issue.
Thanks for your help today.
-Salty
from arsenal-image-mounter.
That looks strange. I would have expected more information in that error message, but there could be cases where it cannot start aim_cli.dll at all. Could you try at command line in the directory with your AIM files and run:
dotnet aim_cli.dll --filename=C:\Images\TestCase.E01 --provider=libewf --readonly --trace
and see if you get any more messages that could give us more clues!
from arsenal-image-mounter.
Sorry, forgot to mention that. Yes, you need to run the command with administrative privileges. Command prompt with normal user privileges will not work.
from arsenal-image-mounter.
Related Issues (20)
- Request: CSO/ZSO Support HOT 1
- I encountered a problem HOT 12
- Using AIM in WinPE HOT 3
- Dynamic Ramdisk with aim_ll HOT 6
- VHDX Dynamic Memory Management HOT 2
- vhd work in awe and not as file HOT 8
- No volumes attached if move vhd from other pc HOT 16
- Contextual menu absent HOT 1
- BitLocker password prompting HOT 5
- ChatGPT not working examples HOT 22
- Force ImScsiRemoveDeviceByMountPoint HOT 1
- Cannot access Arsenal Image Mounter driver HOT 6
- RAMDisk - only half of the allocated memory can be used HOT 1
- aim_ll & the format prompt HOT 2
- Some dependencies seem to be missing for the driver installers. HOT 2
- Is it possible to log the mounter driver operation? (aim_ll -a -P not leading to automount) HOT 1
- VMDK Mount and write makes computer totally unusable at all sometimes HOT 10
- Unable to mount multiple VMDK disks sequentially with aim_cli.exe on Windows Server2022 HOT 4
- Write cache Major problem on Arsenal HOT 13
- Support "Disk device, write temporary" mode for iso disc images HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arsenal-image-mounter.