Forum Discussion

AB21805's avatar
AB21805
Bronze Contributor
Mar 08, 2023

A win32 app that deploys an image installs successfully but then deletes itself randomly

Hi all.

 

I have a win32 app which deploys a imagine using a powershell script

 

 

This has worked in the past and never had issues but this time the image disappears. 

 

Wallpaper is a folder which contains the image. 

 

Any ideas why the image is disappearing? 

 

 

 

 

2 Replies

  • rahuljindal's avatar
    rahuljindal
    Bronze Contributor
    Are you trying to configure a desktop wallpaper? Why not use the built-in device restriction policy? Unless you are using Pro SKU and trying to configure using Win32 app?
  • Huh.. you are creating a folder c:\wallpaper and afterwards you copy the contents of the intune wrapped package that's inside the wallpaper folder to a folder c:\mdm
    Doesnt that folder needs to be there in the first place?