We value your privacy

We use cookies to analyze site traffic and improve your experience. You can accept all cookies or reject non-essential ones. See our Privacy Policy for details.

GR IT SERVICES
  • Contact
Get a quote
  1. Microsoft Intune
  2. Device query
Intune device query

Stop scheduling screen shares to read one value. Query the device and have the answer before the call ends.

Intune device query points a Kusto query at a single managed Windows device and brings back live state. The tickets that used to justify a full remote control session, a stalled service, a suspect registry entry, an outdated build, a runaway process, collapse into a one-line query your help desk runs while the caller keeps talking.

Book a device query enablementSee what it can answer
Intune device query for US organizations
  • 21 entitiesSlices of device state open to KQL
  • 15 a minuteThe hard ceiling on query volume
  • Real timeLive answers, never cached inventory
  • Corporate ownedRequired device classification
What this replaces

How many of last month's remote sessions were really just a lookup?

Service running or stopped. Registry value present or wrong. Version current or stale. CPU pegged by which process. Each of those is a read operation wearing a remote session as a costume.

  • Microsoft lists these very scenarios as candidates to pull off remote control: verifying a running service, reading a registry key behind an app configuration, confirming an installed version, and ranking processes by CPU consumption.
  • A screen share means the employee surrenders the machine and the engineer burns minutes on connection and navigation. A query lands its answer in seconds, and for a workforce spread across home offices and time zones, nobody has to coordinate calendars first.
  • Repeat investigations are where the math gets interesting. Once a diagnostic lives in the ITSM knowledge base as a saved query, the newest hire on the desk runs it identically to the veteran who wrote it.
  • Two honest boundaries: queries read state, they do not change it, and Microsoft notes a user holding local admin rights might be able to alter client-based values in the results, OS version and registry among the examples. Support calls are unaffected; investigations should care.
What device query does

Eight facts to know before you put it in front of engineers.

Few Intune features shorten an actual phone call; this is one of them. It also arrives with firm prerequisites and a list of published quirks, and a help desk that learns those on day one behaves very differently from one that discovers them mid-ticket.

A question to the device, answered live

Intune pushes the request to the selected machine and waits for the reply, so the data reflects this minute, not last night's inventory sweep. While a user is mid-complaint about a slow laptop, that freshness is the entire point of the feature.

Twenty-one queryable entities

The published set spans BIOS, certificates, CPU, disk drives, encryptable volumes, files, local groups, local user accounts, logical drives, memory, OS version, processes, system enclosure, system information, TPM, app crash events, drivers, event log, installed updates, registry, and services.

The transport is WNS, and there is no plan B

Windows Push Notification Services delivers the request and carries the result back. Microsoft states it cannot be disabled or bypassed, and a blocked or unreachable WNS means the query simply fails. Anywhere egress traffic is aggressively filtered, verify WNS reachability before promising anyone anything.

Personally owned devices are out of reach

Eligible targets are Windows devices under Intune management, classified as corporate owned, and either Microsoft Entra joined or hybrid joined. If enrollment never assigned ownership deliberately, a chunk of the fleet will refuse queries for a reason nobody remembers setting.

KQL, but a curated slice of it

Support covers a defined subset of the Kusto Query Language across table operators, scalar operators, aggregation functions, and scalar functions. Count, distinct, join, order by, project, take, top, and where are the table operators on offer: ample for a support lookup, deliberately thin for analytics.

Three numbers that bound the tool

Fifteen queries per minute before an error stops you, 2,048 characters of query input, and 128kb of result text before truncation kicks in with a count of the dropped rows. Interactive troubleshooting never notices these limits; a scripted fleet sweep hits all three.

From result to remote action in one screen

Remote device actions can be triggered directly from the query interface based on what came back, with availability varying by platform and configuration. Diagnosis and response share a pane, which quietly removes an entire context switch from the workflow.

A query library beats a query editor

Microsoft's guidance is to save queries for recurring investigations inside your ITSM knowledge base where tier 1 and tier 2 can grab them. A blank KQL prompt serves one specialist; a curated library serves the whole desk, every shift.

Read this before you trust a result

Treat query output as the device's testimony, not as forensic evidence.

Microsoft publishes a caveat that changes how results should be weighed in HR matters, incident response, and anything an auditor or insurer might later examine.

  • The published limitation: a user with admin access to the device might be able to change client-based information the query returns, with OS version and registry named as examples. The device reports on itself, and an admin controls what the device believes.
  • On a routine support call the user wants the problem solved, so this is moot. When the user is the subject of the question, pull corroboration from telemetry outside their reach, Defender for Endpoint data or directory records, before drawing conclusions.
  • One field is unreliable even with a cooperative user: on hardware with TPM 2.0 present, the activated and enabled values always come back TRUE. Do not cite that field on a cyber insurance application or a NIST 800-171 self-assessment.
  • The registry entity has three published blind spots: the root registry key, 64-bit shared registry keys, and binary value data all return nothing. A blank answer in those categories confirms the limitation, not the key's absence.
Ask us to build your query library
How we approach it

Four choices that decide whether the desk keeps using it.

Technically, device query just works. The risk is human: two unexplained results in the first week and engineers drift back to remote sessions for good. Our approach is built around preventing that drift.

Ticket history writes the library, not guesswork

We pull the recurring lookups from your actual queue, the service checks, registry reads, version confirmations, and CPU rankings Microsoft names as prime candidates, and ship each as a saved query. Nobody on the desk needs to compose KQL to benefit.

Quirks get taught before they get encountered

The rate limit, the input cap, the truncation threshold, the single-quote rule the editor actively contradicts, the missing !like operator. Briefed up front, each is a shrug. Discovered cold, each is a strike against the tool's credibility.

Support lookups and investigations get different rules

Microsoft warns that a local admin might alter the client-based values a query returns, OS version and registry included. We codify the distinction: fine for cooperative troubleshooting, insufficient alone for HR cases, incident response, or anything with legal exposure, where corroborating telemetry is mandatory.

Role design puts the power at tier 1

A custom role carrying Managed Devices Query plus the visibility read permissions usually fits tighter than Help Desk Operator, and the least-privilege story reads well under SOC 2 review. More importantly, when tier 1 holds the permission, checks stop turning into escalations.

How an engagement runs

Four phases in roughly three weeks, fully remote.

The feature itself needs no rollout; it works the day the prerequisites hold. What takes three weeks is turning it into something a busy desk uses by reflex.
  1. 01
    Week 1

    Prove the prerequisites hold

    Advanced Analytics licensing in place, devices carrying the corporate owned flag and an Entra join state, and WNS reachable from every network segment where managed devices live. Filtered egress is where this phase finds its surprises.

    • Advanced Analytics entitlement confirmed
    • Corporate owned device count established
    • Join state verified across the estate
    • WNS reachability tested from filtered segments
  2. 02
    Weeks 1-2

    Wire up least-privilege access

    Either the Help Desk Operator role or a custom role pairing the Managed Devices Query permission with the read permissions that grant visibility into managed devices. The design goal: a tier 1 engineer answers the question personally instead of opening an escalation.

    • Role assignment decided per support tier
    • Custom role built where Help Desk Operator overshoots
    • Access validated from a genuine tier 1 account
    • Scope tags aligned where administration is delegated
  3. 03
    Week 2

    Mine tickets, write queries

    Your recent remote session history names the queries worth writing: the recurring service checks, registry reads, version confirmations, and CPU rankings that Microsoft itself flags as replaceable. Each gets validated against a live device before publication.

    • Recurring investigations pulled from ticket data
    • Queries authored and tested within the input limit
    • Library published into the ITSM knowledge base
    • Copilot query generation shown where licensed
  4. 04
    Week 3

    Brief the desk, then measure

    Training covers the library and, just as deliberately, the quirks: the rate limit, the truncation, the quoting rule, the TPM field. Then the remote actions reachable from results, and a baseline of remote session volume to measure the change against.

    • Desk trained on the query library
    • Quirks documented beside the queries
    • Remote actions from results demonstrated
    • Remote session volume baselined for comparison
Where this saves time

Six lookups that no longer need a screen share.

Several appear by name in Microsoft's guidance as tasks to migrate off remote control, and between them they account for a striking share of tier 2 volume.

Service status, on demand

The WindowsService entity settles the most frequent screen-share pretext in seconds. No interruption, and no hunting for a slot when a remote employee and an engineer are both free, which for distributed teams is often the longest part of the ticket.

Registry values behind app behavior

Reading a configuration key is a documented use case, with three published exceptions to remember: root keys, 64-bit shared keys, and binary data all come back empty by design. Knowing that keeps a blank result from being misread as a missing key.

Installed version, settled instantly

Whether a fix applies, whether an upgrade landed, whether the vendor's advisory is relevant: version is the fact everything else hangs on. Having it during the first call instead of after a scheduled session is what first-contact resolution actually looks like.

The slow-machine complaint, diagnosed live

Ranking processes by CPU consumption is one of Microsoft's named scenarios, and because the query executes now, it captures the process misbehaving during the complaint rather than whatever an overnight inventory happened to record.

Encryption and certificate spot checks

EncryptableVolume and Certificate answer the triage questions HIPAA risk analyses and insurance questionnaires generate. One warning: the TPM entity's activated and enabled fields read TRUE whenever TPM 2.0 is present, so formal evidence needs a different source.

Event history without a site visit

WindowsEvent and WindowsAppCrashEvent expose the log entries and crash records from last night directly. For branch machines and home offices where a session is impractical, that visibility often decides between fixing remotely and shipping spare hardware.

Three positions

Three ways a US help desk learns what a device is doing.

Most desks live in the middle column by habit, paying ten minutes of user downtime for every single-value lookup and never itemizing that cost.
User interrupted
Device query with a saved libraryNo
Remote control sessionYes
Ask the user to lookYes
Answer is current
Device query with a saved libraryReal time
Remote control sessionReal time
Ask the user to lookDepends on the user
Repeatable across engineers
Device query with a saved librarySaved queries
Remote control sessionBy skill level
Ask the user to lookNo
Works for services and registry
Device query with a saved libraryYes
Remote control sessionYes
Ask the user to lookWith difficulty
Top processes by CPU
Device query with a saved libraryYes
Remote control sessionYes
Ask the user to lookUnlikely
Action from the result
Device query with a saved libraryRemote actions available
Remote control sessionIn session
Ask the user to lookNo
Time per check
Device query with a saved librarySeconds
Remote control sessionMinutes
Ask the user to lookVariable
Requires user availability
Device query with a saved libraryNo
Remote control sessionUsually
Ask the user to lookYes
Auditable
Device query with a saved libraryYes
Remote control sessionPartly
Ask the user to lookNo
Scales across many devices
Device query with a saved libraryRate limited, but yes
Remote control sessionNo
Ask the user to lookNo
Feature
Device query with a saved library
Remote control session
Ask the user to look
User interrupted
NoYesYes
Answer is current
Real timeReal timeDepends on the user
Repeatable across engineers
Saved queriesBy skill levelNo
Works for services and registry
YesYesWith difficulty
Top processes by CPU
YesYesUnlikely
Action from the result
Remote actions availableIn sessionNo
Time per check
SecondsMinutesVariable
Requires user availability
NoUsuallyYes
Auditable
YesPartlyNo
Scales across many devices
Rate limited, but yesNoNo
The documented limits

Ten published constraints, collected in one place.

Each row below comes from Microsoft's own documentation. An engineer briefed on this table reads odd results as expected behavior; one who never saw it files the tool under broken.

Constraint

Query rate

The rule
15 queries a minute, then a query limit exceeded error

Constraint

Query input length

The rule
2,048 characters maximum

Constraint

Result size

The rule
128kb of characters, truncated beyond that with a row count

Constraint

Device ownership

The rule
Must be marked as corporate owned

Constraint

Join state

The rule
Microsoft Entra joined or Entra hybrid joined

Constraint

Transport

The rule
Windows Push Notification Services, mandatory, cannot be bypassed

Constraint

Unsupported operator

The rule
!like is not supported

Constraint

Quoting

The rule
Single quotes only on contains, startswith and endswith, though the editor suggests double

Constraint

TPM 2.0 reporting

The rule
Activated and enabled always return TRUE where TPM 2.0 is present

Constraint

Files in use

The rule
FileInfo queries return an error
ConstraintThe rule
Query rate15 queries a minute, then a query limit exceeded error
Query input length2,048 characters maximum
Result size128kb of characters, truncated beyond that with a row count
Device ownershipMust be marked as corporate owned
Join stateMicrosoft Entra joined or Entra hybrid joined
TransportWindows Push Notification Services, mandatory, cannot be bypassed
Unsupported operator!like is not supported
QuotingSingle quotes only on contains, startswith and endswith, though the editor suggests double
TPM 2.0 reportingActivated and enabled always return TRUE where TPM 2.0 is present
Files in useFileInfo queries return an error
How an engagement runs

Five steps, weighted heavily toward the library.

Switching the feature on is trivial. The engagement earns its keep by ensuring no engineer ever faces an empty query editor during a live call.
  1. 1

    Verify licensing, classification, and transport

    Advanced Analytics entitlement, corporate owned classification with Entra join state across the fleet, and WNS reachability everywhere managed devices sit, because the transport has no fallback and a blocked path means failed queries with no workaround.

  2. 2

    Build the access model

    Help Desk Operator where it fits, otherwise a custom role combining Managed Devices Query with the managed-device read permissions. Validation happens from a real tier 1 login, since permissions that only work for admins defeat the purpose.

  3. 3

    Author queries against real recurring tickets

    The documented starting set: service status, registry values, installed versions, CPU consumers. Each query stays inside the 2,048 character ceiling and gets proven against a live device before anyone on the desk sees it.

  4. 4

    Ship the library with its warning labels attached

    Saved queries land in the ITSM knowledge base with the published limits written beside them, so a rate-limit error or a truncated result reads as documented behavior instead of a malfunction worth abandoning the tool over.

  5. 5

    Close the loop with actions and metrics

    Engineers learn the remote actions reachable from query results, then remote session volume gets tracked against the pre-rollout baseline, because fewer sessions is the outcome this entire capability exists to produce.

Straight answers

What US organizations ask about device query.

An entitlement that includes Microsoft Intune Advanced Analytics, which the base Intune plan does not carry. It arrives via the Intune Suite or as a standalone add-on. Confirming this comes first in any rollout conversation, alongside the device-side requirements of Intune management and corporate owned classification.

Windows devices that Intune manages, that carry the corporate owned classification, and that are Microsoft Entra joined or hybrid joined. Devices classified as personally owned refuse queries, a detail that surfaces painfully in fleets where ownership was left to enrollment defaults.

Start with the transport. Windows Push Notification Services carries both the request and the response, Microsoft states it cannot be disabled or bypassed, and a blocked WNS produces outright query failure. Regulated networks with strict egress filtering trip over this more than anything else.

Fifteen per minute, after which a query limit exceeded error appears until the window resets. Interactive troubleshooting rarely brushes against that number; attempts to script bulk sweeps across a fleet hit it immediately, and bulk inventory is not what this feature is designed for anyway.

Results cap at 128kb of characters. Past that, truncation occurs and the error reports how many rows were lost. Add a where clause or a take operator to shrink the result set; rerunning the identical query returns the identical truncation.

Check the quotes. Contains, !contains, startswith, !startswith, and endswith accept single quotes only, while the input window actively recommends double quotes as you type. That contradiction between the editor's suggestion and the parser's rule trips up almost everyone exactly once.

No. Device query implements a defined subset: the table operators count, distinct, join, order by, project, take, top, and where, plus a limited roster of scalar operators, aggregation functions, and scalar functions. Among the documented gaps, !like is unsupported and now() rejects the offset parameter.

With eyes open. Microsoft documents that a user holding admin rights on the device might be able to alter client-based information in the results, citing OS version and registry. Cooperative support scenarios are unaffected. For HR matters, incident response, or anything a lawyer may later read, pair the query with telemetry the user cannot touch.

By documented behavior: on any device where TPM 2.0 is present, the activated and enabled fields return TRUE unconditionally. The practical consequence is that this field cannot substantiate TPM state on an insurance application, a NIST 800-171 self-assessment, or any other compliance artifact.

Possibly because of a published gap rather than an absent key. The registry entity returns nothing for the root registry key, nothing for 64-bit shared registry keys, and nothing for binary value data. Empty output in those three situations is the entity working as documented.

Usually tier 1 and tier 2. The permission path is either the built-in Help Desk Operator role or a custom role granting Managed Devices Query together with the read permissions that surface managed devices. Confining query rights to administrators keeps every lookup an escalation, which forfeits the tool's main benefit, and a scoped custom role doubles as clean least-privilege evidence.

Not always. Where available, Copilot in Intune generates device query KQL from a plain-language request, and remote device actions fire straight from query results. For day-to-day consistency the saved library still does the heavy lifting; Copilot covers the odd question nobody wrote a query for.
Readiness check

Fifteen questions to settle before the desk gets access.

Group one decides whether queries run at all. Group three decides whether engineers still trust the tool a month from now.

Prerequisites

  • Is Advanced Analytics in our licensing?
    Base Intune does not include it.
  • Do devices carry the corporate owned flag?
    Non-negotiable for eligibility.
  • Entra joined or hybrid joined?
    Either satisfies the requirement.
  • Is WNS reachable from every segment?
    No alternative transport exists.
  • Is this a DoD environment?
    Device query is excluded there.

Access

  • Which tiers should hold query rights?
    Tier 1 and 2 in most designs.
  • Help Desk Operator or custom role?
    Custom is often the tighter fit.
  • Custom role carries Managed Devices Query?
    The load-bearing permission.
  • And the accompanying read permissions?
    Visibility comes separately.
  • Tested from an actual tier 1 login?
    Admin accounts prove nothing.

Expectations

  • Briefed on 15 queries a minute?
    A distinct error announces it.
  • Briefed on 128kb truncation?
    The error counts dropped rows.
  • Briefed on single-quote syntax?
    The editor misleads toward double.
  • Briefed on the TPM 2.0 field?
    It reads TRUE regardless.
  • Briefed on admin-user tampering?
    Central to investigation use.
Related reading

The pages around this one.

Intune endpoint analytics

The same Advanced Analytics family, pointed at trends: startup scores, reliability, and device health over time.

Learn more

Intune remediations

When one device's finding turns out to be everyone's problem: detect and remediate script pairs at fleet scale.

Learn more

Intune Remote Help

The sanctioned screen-share tool, for the minority of calls where reading state is not enough.

Learn more
Next step

Audit a month of screen shares and see how many were single-value lookups.

Service status, registry keys, version numbers, process lists: each one is a query candidate, and each conversion hands an employee back ten uninterrupted minutes. Engagements are scoped per service desk, and the first conversation costs nothing.

Book a device query enablementSee Microsoft Intune services

Related Services

Explore more solutions that work great with this service

Microsoft Intune

Device management and endpoint security

Learn more

IT Support USA

24/7 on-site and remote IT support

Learn more
GR IT SERVICES

IT services for US businesses,
delivering enterprise-grade solutions
remotely, coast to coast.

Microsoft CSP PartnerApple Jamf PartnerCISGuard

Microsoft 365

  • Microsoft 365 Administration
  • M365 Reporting & Auditing
  • Microsoft 365 Licensing
  • Microsoft Copilot
  • Microsoft 365 Apps
  • Windows 365 Cloud PC
  • Microsoft SharePoint
  • Outlook & Exchange

Security

  • Microsoft Defender
  • Microsoft Purview
  • Microsoft Intune
  • Microsoft Entra
  • Compliance Manager
  • Cybersecurity Audits
  • Copilot for Security
  • Microsoft Sentinel
  • Microsoft Priva

Infrastructure

  • Google Workspace
  • Cloud Migration Services
  • Data Analytics & BI
  • Active Directory
  • Server Management
  • Apple Business
  • Apple Jamf Pro
  • IP Telephone
  • Data Backup
  • Website Development

IT Services

  • Managed IT Services
  • IT Support USA
  • IT AMC USA
  • New Office IT Setup
  • IT Relocation
  • Remote IT Support
  • On-Call IT Support
  • Startup IT Business Kit
  • Disaster Recovery & BC

Company

  • About Us
  • Careers
  • Contact
  • Blog

Contact

  • hello@gritservices.io
  • gritservices.io

© 2026 GR IT Services. All rights reserved.

Privacy PolicyTerms of UseCookie PolicyCCPA/CPRA