Why does Vista,7,8 require ownership of external drive, but not bartPE


Recommended Posts

I brought this question up in a previous support thread that was just locked by request of the OP.

So I guess i'll move the question to a new thread.

When transferring data from a previous machine to a new machine, you open the old drive on the new machine and attempt to navigate to the previous user account in the documents and settings folder or users folder and the new Vista, 7 or 8 machine says that before you can access this folder it the OS must take ownership.

But if you boot into a bartpe environment and try to load that exact same folder, it will open up first try and the files are visible and copyable clear as day without taking any sort of ownership.

Charisma said

This happened with me when I recently set up a new build--set up the OS on a SSD and used the old drive with all my files on it as a secondary/storage drive. I'm just going through doing that as needed, but it's quite normal, since the files were created/owned by a different SID on a different system.

Because BartPE doesn't have to take ownership we know it's not a security measure of the file system on the previous drive. So we know it is possible to read files without taking ownership, is it the case that Vista, 7 and 8 cares to much? Or does it have something to do with UAC?

It is a security system of NTFS.

Unfortunately, the kernel implements (or in this case doesn't) the security based on the folder settings. Windows 7 and 8 are correctly implementing security. Bartpe isn't >.>

SOOOOOO.. Physical access to the disk beats all else.

  • Like 2

It is a security system of NTFS.

Unfortunately, the kernel implements (or in this case doesn't) the security based on the folder settings. Windows 7 and 8 are correctly implementing security. Bartpe isn't >.>

SOOOOOO.. Physical access to the disk beats all else.

Exactly Windows Vista 7, 8 is correctly implementing security. But what good is that, if you can just boot bartpe which isn't correctly implementing it and get access.

I haven't used BartPE, but my assumption would be the following...

BartPE runs in the context of Administrator which already has access to all the folders. When you run Windows Vista or later you're running under the context of a less privileged user and you need to be given access to that folder, as a less privileged user, before you can access it. If you fired up Explorer as Admin (you can do this) then I suspect you wouldn't encounter the take ownership prompts on Windows Vista or later just as you don't in BartPE.

The ACL rules are still the same in all cases.

Physical access > All.

Lets say your server dies? How do you recover the file system?

The reason this is important is because you can transfer the FS to a new server, and all of the permissions will persist.

If you can take the disk out of the server and plug it into something stupid (bartpe/XP for instance :p) you can bypass the security settings.

Hell, Vista, 7 and 8 can all bypass it if you have physical access and Admin permission on the kernel.

The point is that people ought not be able to take drives off your servers without your permission :p But you want your permissions (when moved with your.. permission.. >.>) to persist :)

EDIT::

I figured Bartpe wasn't implementing NTFS permissions correctly, might well be that you're always running as Admin on the system thus you're taking advantage of established permissions. No idea >.<

Exactly Windows Vista 7, 8 is correctly implementing security. But what good is that, if you can just boot bartpe which isn't correctly implementing it and get access.

It's why bootable images (either DVD-based or USB-based) of WinPE (which bartPE is based on) are useful in forensic analysis of Windows PCs (such as that of the unlamented Adam Larranza) - it's also part of how drive-migration tools (such as Drive Magician and TrueImage, and Partition Magic before that) have ALWAYS worked.

The $0.64USD question is did bartPE need updating to work with Windows 8's NTFS.

With everything including PE you can read the contents of an external drive. It's just that Vista, 7 and 8 make it more of a pain in the ass to accomplish the same thing.

Nope, NTFS is entirely backwards compatible. If it encounters a flag it doesn't understand, it steps over it. There's a KB on ReFS that explains NTFS implementation of this area >.<

Bartpe is running XP's kernel, thus XP's NTFS implementation without proper security permissions.

@ Warwagon - Physical access yes?

Even thought NTFS details the permissions, the Kernel implements them. Thus you can do whatever you want if you have control of the Kernel.

EDIT::

For your edit >.>

If you consider moving your file permissions with the file system a pain in the arse, sure. I think most admins prefer it this way, makes life a ****ton easier.

BartPE is just a homegrown version of WinPE

http://msdn.microsof...dded.51%29.aspx

When you boot your device by using Windows PE, you have complete access to the NTFS file system on the target device, regardless of administrator privileges, access control lists, or NTFS permissions placed on the file system.

http://download.micr...dowsPE_tech.doc

Windows PE allows you to access the NTFS file system without regard to the access control lists placed on the file system.

This is no different than booting say as mentioned already a linux CD, as also stated if you have physical access does not matter what sort of ACLs you have set on the filesystem, be windows NTFS, or other OS file systems EXT3, ReiserFS, HFS+, etc.

Unless the filesystem/file is encrypted - if you have physical access then you can gain access. Is what your asking why does a full blown OS like XP, Vista, 7 or 8 adhere to NTFS permissions when an OS like winPE does not?

I would of like for that other thread to remain open for a place of discussion as well. Would of been a good place to go over NTFS basics - and the details of why users run into problems when they move disks or try and share externals between systems. If your going to use an OS, its a good idea to understand the basics of how its filesystems permissions system works ;)

I agree we see quite a few threads with the same flavor - why can I not access my files when I reinstall my OS, or when I put the disk in different machine, etc. If you have physical access, and not encrypted and you are admin on the OS your using to access - then does not matter what permissions were set on the other OS, you can always take ownership and set the permissions to your liking.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • If Valve refused to let them make the case, I wonder if they've already partnered with someone else to do it? The fact that they didn't seek permission/licence before diving straight in is incredible though
    • OpenClaw now has native mobile apps on iOS and Android by Karthik Mudaliar OpenClaw, the viral open-source personal AI agent, now has its own mobile app, available on both Android and iOS. Users can pair the app with an existing OpenClaw gateway and can start using new mobile-native features that are now available on the app. The app supports all the existing features you'd already have seen on OpenClaw's TUI, as well as some more, such as real-time and background Talk mode, action approvals, sharing from iOS, and optional access to device capabilities such as camera, screen, location, photos, contacts, calendar, and reminders. These features are available on both the Android and iOS versions of the app. What's important with these apps is that they don't run OpenClaw on your phone, but are actually just companion apps that require a running OpenClaw Gateway on an existing device, on macOS, Linux, or Windows via WSL2. To pair the app with your existing OpenClaw gateway, users need to run the command "/pair qr" on the TUI or existing chat interface, which brings up a QR code. Users can then scan this QR code to pair it up with the mobile app. There's also an option to manually pair the app by entering the host and a port. Previously, OpenClaw had been available on phones via WhatsApp, Telegram, Slack, Discord, Microsoft Teams, Matrix, and others. Now, with a native mobile app, the interface is much cleaner and more focused on just the OpenClaw, of course, with the added support for camera, screen, location, and more. It's important to note that OpenClaw comes with its own security warnings. There's always a chance of prompt injection with these tools, so users are recommended to double-check authentication, tool policy, sandboxing, and execution approvals rather than prompts alone. For users well-versed with the AI harness, a native mobile app makes it easier to approve an automation, share a link, use voice, or let an agent react to phone-side context.
    • Google pitches Spanner as one database for all AI agents with these new featues by Karthik Mudaliar Google Cloud is introducing new features within Spanner, its distributed database, as a place where enterprises should keep their data, using which AI agents could make smarter and better decisions. In a detailed blog post, Google highlighted quite a few features coming to Spanner, including relational data, graph relationships, vector search, key-value access, full-text search, and operational analytics together in one database architecture. Google says that today's systems aren't well-made for AI agents. There could be data that is present in one system, search indexes in another, embeddings in a vector database, and relationship data in a graph database. This fragmentation isn't great for AI agents to do their jobs because they don't have access to all of this data in one place. This is where Google is positioning Spanner as a solution. Spanner is already a globally distributed relational database with strong consistency, and Google wants its customers to see it as a broader data layer for AI applications. The company introduced something called Spanner Graph, along with integrated vector search, full-text search, a Cassandra-compatible key-value endpoint, and a columnar engine for analytical queries on operational data. Google also added that its ScaNN-powered vector search can support indexes with more than 10 billion vectors, while the columnar engine can make some analytical scans up to 200 times faster. All of this isn't just exclusive to the Google Cloud Platform, and there's support for multi-cloud as well. This comes via Spanner Omni, which Google says is a downloadable, containerized version of Spanner that can run on Kubernetes and in environments outside Google Cloud, including Microsoft Azure and AWS, and even on-premises infrastructure as well as edge deployments. Google says that customers who are interested in the full-featured edition should contact the company, and there's no word on commercial availability or separate pricing. Those interested can read the full blog by Google Cloud, which details these features individually.
    • Kalmuri 4.2.5 by Razvan Serea Kalmuri is your all-in-one, portable screen capture and recording solution designed for speed, simplicity, and flexibility. Whether you need a full-screen snapshot, a custom area, a scrolling webpage, or smooth video recording, Kalmuri delivers with ease. Capture text instantly from images with built-in OCR, keep floating images on top for quick reference, and use the precise color picker for perfect design matching. Customize hotkeys to work your way and share results instantly with built-in upload options. Kalmuri runs without installation, making it ideal for USB use, and offers an intuitive interface that’s easy to learn. Kalmuri key features: Video recording support (designation of whole screen and area) Whole screen, active program, window control, area application Extract text from images using optical character recognition (OCR). Support for PNG, JPG, WEBP, BMP, GIF file formats MP4 video recording powered by FFmpeg for high-quality results Full web page capture Share the captured image on the web Color extraction function Printer output Hotkey settings Adjustable via keyboard for area capture (Arrow key, Ctrl+Arrow key, Shift+Arrow key) File name format (sequential, datetime) Free to use it at work, at home, in government offices, at school, etc. Using Kalmuri portable for video recording Kalmuri’s portable version doesn’t include FFmpeg, which is required for video recording. Without it, you’ll get an “error FFmpeg.exe not found” message. To fix this, download FFmpeg from the provided link, extract it, and place FFmpeg.exe in Kalmuri’s folder. Kalmuri will then recognize it automatically, allowing you to start recording in high quality instantly. Kalmuri 4.2.5 changelog: Fixed an intermittent crash when using Area Capture Improved stability for Area Capture and screen recording Resolved a capture issue that could occur right after startup Download: Kalmuri 4.2.5 | 24.2 MB (Freeware) Download: Kalmuri Portable 4.2.5 | 2.1 MB View: Kalmuri Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • First Post
      rosiecharles earned a badge
      First Post
    • Reacting Well
      Juan Dela earned a badge
      Reacting Well
    • Week One Done
      Collagen Project earned a badge
      Week One Done
    • Reacting Well
      Wakeen1966 earned a badge
      Reacting Well
    • Rookie
      Almohandis went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      +Edouard
      273
    3. 3
      PsYcHoKiLLa
      143
    4. 4
      Steven P.
      99
    5. 5
      macoman
      54
  • Tell a friend

    Love Neowin? Tell a friend!