Close Menu
    Facebook X (Twitter) Instagram
    Friday, May 16
    X (Twitter) LinkedIn
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»SCCM 2012»#SCCM / #configmgr 2012 Open Resource Explorer Without SCCM Console

    #SCCM / #configmgr 2012 Open Resource Explorer Without SCCM Console

    Eswar KonetiBy Eswar KonetiDecember 01, 9:30 pm1 Min Read SCCM 2012 2,285 Views
    Share
    Facebook Twitter LinkedIn Reddit

    In My Previous post , we get to connect Resource Explorer of Computer without Using SCCM Console in SCCM 2007.http://eskonr.com/2012/12/sccm-configmgr-2007-open-resource-explorer-without-sccm-console/

    You can use the same script for sccm 2012 but with littlie changes to the folder names and File names.

    Here is the Batch script to connect to resource Explorer of Client Computer in SCCM 2012 without Launching SCCM 2012 Console.

    Change the Values in Red Color.

    :start
    @echo off
    CLS
    Title Resource Explorer by ESKONR
    > temp.vbs ECHO WScript.Echo InputBox( "To which Computer would you like to connect?", "Resource Explorer By ESKONR", "Enter Computer Name" )
    FOR /F "tokens=*" %%A IN ('CSCRIPT.EXE //NoLogo temp.vbs') DO SET dator=%%A
    DEL temp.vbs
    F:
    cd
    \SMS\AdminConsole\bin
    SET var='%dator%'
    start resourceexplorer.exe -s -sms:ResExplrQuery="SELECT ResourceID FROM SMS_R_SYSTEM WHERE NAME = %var%" -sms:connection=\\Server\root\sms\site_%Sitecode%
    exit
    :end

    Update: Below is another way to connect to resource Explorer without creating temp script.more info http://www.linkedin.com/groups/SCCM-configmgr-2012-connect-Resource-1078397.S.260499071

    @echo off
    setlocal
    set CMConsoleDir=E:\Program Files\Microsoft Configuration Manager\AdminConsole\bin
    set SiteCode=XYZ
    set PCName=%1
    If "%PCName%=="" set /p PCName=Enter the computer name:
    echo Starting Configuration manager Resource Explorer for the computer named %PCName%
    start "" "%CMConsoleDir%\ResourceExplorer.exe" -s -sms:ResExplrQuery="SELECT ResourceID FROM SMS_R_SYSTEM WHERE NAME=""%PCName%""" -sms:connection=\\Server\root\sms\site_%Sitecode%

    Change the CMConsoleDir and Sitecode.

    Until Next!

    CM 07 Computer Resource Explorer Custom Resource Exlorer using Batch Script Resource Explorer resourceexplorer.exe SCCM 2007 SCCM 2012 Resource Explorer Script to connect Resource Explorer Script to open Resource Explore of Client
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    Identifying devices managed by Intune but not reporting to WUfB using KQL

    November 09, 10:28 am

    Monitoring Endpoint Security Applications with SCCM ConfigMgr SQL

    October 11, 8:48 pm

    2 Comments

    1. Ray on February 5, 2016 4:38 AM

      Missing a " at the end of the second % sign If "%PCName%==""

      Need to replace server name as well.

      Reply
      • Eswar Koneti on February 10, 2016 5:41 PM

        for %PCName%,there are already enough quotes but,if your corrections worked for you,glad you made it. I will test the script ,and correct if still missing.

        Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2024 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.