pariswells.com Open in urlscan Pro
2a06:98c1:3121::3  Public Scan

URL: https://pariswells.com/blog/intune/copy-file-to-workstations-with-windows-intune
Submission: On January 16 via api from CZ — Scanned from NL

Form analysis 2 forms found in the DOM

https://pariswells.com/blog/

<form id="searchform" action="https://pariswells.com/blog/" role="search"><label for="s" class="screen-reader-text">Search</label>
  <div class="input-group"><input class="field form-control" name="s" id="s" placeholder="Search …">
    <span class="input-group-btn"><input type="submit" class="submit btn btn-primary" name="submit" id="searchsubmit" value="Search"></span>
  </div>
</form>

https://pariswells.com/blog/

<form id="searchform" action="https://pariswells.com/blog/" role="search"><label for="s" class="screen-reader-text">Search</label>
  <div class="input-group"><input class="field form-control" name="s" id="s" placeholder="Search …">
    <span class="input-group-btn"><input type="submit" class="submit btn btn-primary" name="submit" id="searchsubmit" value="Search"></span>
  </div><input type="hidden" name="swpmfe" value="652ea0d21b1427a1bfa685e40d9bc1de">
</form>

Text Content

Toggle navigation


WELCOME TO PARISWELLS.COM

 * The Fisherman and the Banker
 * Contact
 * Search


COPY FILE TO WORKSTATIONS WITH WINDOWS INTUNE

 * February 13, 2019
 * InTune
 * 0 Comments
 * paris

**If you want to deploy a file from an Azure Blob Location for Files that need
changing frequently see here **

Seems one of the only ways to copy files to PC’s in Intune seems to be to create
an MSI file to deploy them which requires a MSI packager ( Laboursome) .
However, this can also be done using Windows app (Win32) container

Copy.bat File

rem Copy Files
copy off.ini c:\Windows\System32\off.ini
copy BSPECIAL.DLL c:\Windows\System32\BSPECIAL.DLL
copy BSPECIAL.DLL c:\Windows\SysWOW64\BSPECIAL.DLL
rem Set Permissions
icacls "c:\Windows\System32\BSPECIAL.DLL" /grant Everyone:M
icacls "c:\Windows\SysWOW64\BSPECIAL.DLL" /grant Everyone:



You will need to make sure the folder exists before you copy files to it such as
below , or you can use the XCOPY function instead of copy

if not exist C:\Temp\Test 
mkdir if not exist C:\Temp\Test 

Copy Multiple Files - Ansible looku...


Please enable JavaScript




Video Player is loading.
Play Video
PlaySkip Backward
Unmute

Current Time 0:00
/
Duration 8:53
Loaded: 1.13%


0:00

Stream Type LIVE
Seek to live, currently behind liveLIVE
Remaining Time -8:53
 
1x
Playback Rate

Chapters
 * Chapters

Descriptions
 * descriptions off, selected

Captions
 * captions settings, opens captions settings dialog
 * captions off, selected

Audio Track
 * main, selected

Auto(360pLQ)
 * 1080pFHD
 * 720pHD
 * Auto(360pLQ)

ShareFullscreen

This is a modal window.



Beginning of dialog window. Escape will cancel and close the window.

TextColorWhiteBlackRedGreenBlueYellowMagentaCyanOpacityOpaqueSemi-TransparentText
BackgroundColorBlackWhiteRedGreenBlueYellowMagentaCyanOpacityOpaqueSemi-TransparentTransparentCaption
Area
BackgroundColorBlackWhiteRedGreenBlueYellowMagentaCyanOpacityTransparentSemi-TransparentOpaque
Font Size50%75%100%125%150%175%200%300%400%Text Edge
StyleNoneRaisedDepressedUniformDropshadowFont FamilyProportional
Sans-SerifMonospace Sans-SerifProportional SerifMonospace SerifCasualScriptSmall
Caps
Reset restore all settings to the default valuesDone
Close Modal Dialog

End of dialog window.





Copy Multiple Files - Ansible lookup plugin fileglob


del.bat file

del c:\Windows\System32\off.ini
del c:\Windows\System32\BSPECIAL.DLL
del c:\Windows\SysWOW64\BSPECIAL.DLL



Next run the IntuneWinAppUtil.exe File

c:\TempPath\Intune-Win32-App-Packaging-Tool-master>IntuneWinAppUtil.exe
Please specify the source folder: F:\Config Files
Please specify the setup file: copy.bat
Please specify the output folder: C:\TempPath\BuildsoftAppps

Create a new Windows app (Win32) App in Intune , upload the copy.intunewin and
use the commands below

Detection Rules


(9 votes, average: 4.78 out of 5)



Loading...




SEARCH

Search




CATEGORIES

 * Azure
 * Code
 * Fixes
 * InTune
 * Links
 * Networking
 * Notes
 * Random
 * Recipes
 * Research
 * Training
 * Updates
 * Vmware
 * Wordpress


LATEST COMMENTS

 * Andrea Rochira Well, this solution still works in 2023 and better than
   PowerShell! Thank you.
   
   Copy file to workstations with Windows Intune ·  September 19, 2023

 * Emre Temel Thank you for this information. You save my life. 🙂
   
   Exchange Setup – A required audit event could not be generated for the
   operation ·  September 18, 2023

 * Ilya L Missing \ before *, other than that, 👍. Schedule it to run monthly
   via Task Scheduler... 👍👍
   
   Script to Delete ServiceWorker Cache on Google Chrome and Microsoft Edge · 
   August 20, 2023

 * jack Thank you paris, one server got stuck on the SSPI failed and the
   solutution fixed it!!
   
   Using Powershell to Send Emails via Mimecast ·  August 2, 2023

 * Maurece The information I needed when I needed it, Thanks Pariswells.com
   
   Mimecast – Relaying from External to External using a forward ( External
   Relay ) ·  April 13, 2023


LINKS

 * Maker's Schedule, Manager's Schedule
 * Privacy Policy
 * Uptime

Powered by WordPress | Made with ❤ by Themely


Search



x
x



🌎
✕


🍪 PRIVACY & TRANSPARENCY

We and our partners use cookies to Store and/or access information on a device.
We and our partners use data for Personalised advertising and content,
advertising and content measurement, audience research and services development
. An example of data being processed may be a unique identifier stored in a
cookie. Some of our partners may process your data as a part of their legitimate
business interest without asking for consent. To view the purposes they believe
they have legitimate interest for, or to object to this data processing use the
vendor list link below. The consent submitted will only be used for data
processing originating from this website. If you would like to change your
settings or withdraw consent at any time, the link to do so is in our privacy
policy accessible from our home page..



Manage Settings Continue with Recommended Cookies

Vendor List | Privacy Policy