Windows 10: Intune Drive Mapping Script

Discus and support Intune Drive Mapping Script in Windows 10 Gaming to solve the problem; Hello, I have an issue that I can't find a solution for. I am writing a PowerShell script that will map on-prem network drives to Autopilot devices... Discussion in 'Windows 10 Gaming' started by Jesse Haswell Admin, Feb 7, 2025 at 11:47 AM.

  1. Intune Drive Mapping Script


    Hello, I have an issue that I can't find a solution for. I am writing a PowerShell script that will map on-prem network drives to Autopilot devices that become Entra Joined. The plan is to eventually move to strictly Cloud once we can figure out a solution for moving our on-prem shares and getting old school employees onboard. Currently, we are just planning on using Autopilot to deploy remote devices and use SSO to access on-prem resources. I have already confirmed that this is possible when the user connects to our VPN so the only setback is mapping the drives for the user. -----------------

    :)
     
    Jesse Haswell Admin, Feb 7, 2025 at 11:47 AM
    #1

  2. Powershell Script to Enroll computers into Intune

    Microsoft Azure is excellent,

    But I want a mentioned or script that forces a computer to connect to Intune on Hybrid Join. Group policies fail to enroll via VPNs. Does any one has script that forces intune to install and setup on a Windows 10 computer.
     
    NightHawk2099, Feb 7, 2025 at 11:49 AM
    #2
  3. Running a script in Intune to adjust VRAM failing

    Hello all, good day to you!

    We have an issue with a script we are running on devices via Intune. In the last 10 devices, 2 succeed, but the rest fail. And because of the way the status page works, it doesn't give any further info. So what I am hoping is I can share the script below and see if anyone has any suggestions to modify it. It used to work across the board, but recently this has been mostly failing. All it does is sets the virtual memory to 8192 MB is all.......

    $pagefileset = Get-WmiObject Win32_pagefilesetting

    $pagefileset.InitialSize = 8192

    $pagefileset.MaximumSize = 8192

    $pagefileset.Put() | Out-Null

    Any thoughts on why this isn't working anymore? Just to reiterate we run this script from Intune to all devices via an Azure security group we use when building out a new laptop. Thanks folks!
     
    Matthew Rosier, Feb 7, 2025 at 11:49 AM
    #3
  4. EOF
    EOF Win User

    Intune Drive Mapping Script

    Can't see my shared folders on the network after integrating to inTune

    Hi!
    I'we integrated to MS inTune but we have to access our LAN shared folders too.
    From the moment we migrated to MS inTune no way to see or access to any shared folders or mapped drives on the LAN.

    Why is this happening and how can I solve this "restriction", problem?

    Any suggestion would be nice.

    Thank you.
     
Thema:

Intune Drive Mapping Script

Loading...
  1. Intune Drive Mapping Script - Similar Threads - Intune Drive Mapping

  2. Intune Drive Mapping Script

    in Windows 10 Software and Apps
    Intune Drive Mapping Script: Hello, I have an issue that I can't find a solution for. I am writing a PowerShell script that will map on-prem network drives to Autopilot devices that become Entra Joined. The plan is to eventually move to strictly Cloud once we can figure out a solution for moving our...
  3. Login scripts and drive mapping vs UNC shortcuts

    in Windows 10 Gaming
    Login scripts and drive mapping vs UNC shortcuts: Hello all.I currently work in a group that supports 50k plus users and is likely to grow in the next year or so. We primarily run Windows 10 and are preparing to migrate over to Windows 11. We have Azure in the environment but haven't implemented it fully. We use the storage...
  4. Login scripts and drive mapping vs UNC shortcuts

    in Windows 10 Software and Apps
    Login scripts and drive mapping vs UNC shortcuts: Hello all.I currently work in a group that supports 50k plus users and is likely to grow in the next year or so. We primarily run Windows 10 and are preparing to migrate over to Windows 11. We have Azure in the environment but haven't implemented it fully. We use the storage...
  5. Login scripts and drive mapping vs UNC shortcuts

    in Windows 10 Network and Sharing
    Login scripts and drive mapping vs UNC shortcuts: Hello all.I currently work in a group that supports 50k plus users and is likely to grow in the next year or so. We primarily run Windows 10 and are preparing to migrate over to Windows 11. We have Azure in the environment but haven't implemented it fully. We use the storage...
  6. Powershell Script to Enroll computers into Intune

    in Windows 10 Gaming
    Powershell Script to Enroll computers into Intune: Microsoft Azure is excellent, But I want a mentioned or script that forces a computer to connect to Intune on Hybrid Join. Group policies fail to enroll via VPNs. Does any one has script that forces intune to install and setup on a Windows 10 computer....
  7. Powershell Script to Enroll computers into Intune

    in Windows 10 Software and Apps
    Powershell Script to Enroll computers into Intune: Microsoft Azure is excellent, But I want a mentioned or script that forces a computer to connect to Intune on Hybrid Join. Group policies fail to enroll via VPNs. Does any one has script that forces intune to install and setup on a Windows 10 computer....
  8. Powershell Script to Enroll computers into Intune

    in Windows 10 Network and Sharing
    Powershell Script to Enroll computers into Intune: Microsoft Azure is excellent, But I want a mentioned or script that forces a computer to connect to Intune on Hybrid Join. Group policies fail to enroll via VPNs. Does any one has script that forces intune to install and setup on a Windows 10 computer....
  9. Intune MDM scripts

    in AntiVirus, Firewalls and System Security
    Intune MDM scripts: Does anyone know if when you push a script to a Windows 10 machine from Intune MDM, will it leave a copy in a cache somewhere on the target Windows machine? My MDM script contains a password and I don't want someone to find it....
  10. Diskpart Script To Map Network Drive Not Working

    in Windows 10 Network and Sharing
    Diskpart Script To Map Network Drive Not Working: WinVer: 2004 Hey everyone! About a week ago, I managed to sysprep and capture a Windows 10 image and place it on a Network Share and successfully install the image to one of my VM's using WinPE and DISM. For a next step, I've trying to automate the process so that when...