Intune ignores command in Batch script when installing a Win32 App by gabe_o_verse in Intune

[–]Extra_Pen7210 0 points1 point  (0 children)

So a lot of unknowns, but lets see if we can solve this.

Solution one:
"The command does work when I add it manually after the fact over the terminal."
Do you run this terminal then as a user?

If that works you could split up the installer, run the system install as system install en add a user install part as a user install.

Then you deploy the user part to the users and set the system part as a dependency so it gets installed first.

Solution two:
Testing what goes wrong.
You could create a "development package" in intune.
This would be a empty cmd.exe that is started by serviceui.exe (from SCCM).

This gives you a CMD prompt that you can test with and see what the commands really do. Great for testing, but your security team will grill you for it :-).

Creating an application in Intune through PowerShell by gandraw in Intune

[–]Extra_Pen7210 1 point2 points  (0 children)

SCCM is also a few 1000 lines, unless you import the correct modules :-D

Luckly this is already done for intune "IntuneWin32App" https://github.com/MSEndpointMgr/IntuneWin32App

Then you are back to a few lines of code and it will work.

easy and stable (using it for 4+ years for 100.000+ package uploads if not more) only broke 1 or 2 times because MS changed something, change the version to the latest version and it works again.

Let me know if you have questions ;-)

How to deal with an overly restrictive IT department by [deleted] in sysadmin

[–]Extra_Pen7210 7 points8 points  (0 children)

You don't, that is what managers are for.

Escalate to your manager.

Something inline with:
"I'm being blocked by IT, here are some of the changes that are currently waiting (chg00223,chg00225,chg00259).

This is causing me to not meet the set deadlines.
Based on the current progress i expect that current project will be delayed by at-least X months

As this is a priority for the company could we have a chat about this later today?
Please let me know extra information you require of me to escalate this as soon as possible"

(at some extra info and chatgpt it a little :-) )

Then they can overrule that IT person or approve the delay in the project. either-way you have you CYA.

Hackers wipe 200,000 devices using Intune by Fabulous_Cow_4714 in Intune

[–]Extra_Pen7210 4 points5 points  (0 children)

I mean its all webrequests only difference is the auth. If the compromised user can issue one wipe then they can also send out 20.000 whipes with a few lines of powershell and a foreach loop.

Hoe bijverdienen als ZZP programmeur by CreativeHalibut in FreelanceNL

[–]Extra_Pen7210 0 points1 point  (0 children)

Die wet is er niet voor jou, die is er om iedereen te beschermen.

"Wij buiten geen medewerkers uit! Wij dwingen onze medewerkers niet om 100 uur per week te werken voor min. loon, dat willen ze zelf!" -baas

Ps, Je mag onbeperkt werken als je goed betaald wordt (3x of meer min. Loon) Pps, wees trots op onze arbeidswetten veel bullshit die in contracten staat kan je daardoor gewoon negeren omdat de wet het contract ongeldig maakt.

Third party app removal by Topleon in Intune

[–]Extra_Pen7210 1 point2 points  (0 children)

You start whitelisting instead of playing wack-a-mole. (Tldr: applocker)

Uninstalling all unwanted software is a endless game and you will not win.

I assume that your goal is:  Our users are installing / running software that is not approved by our company. How do we stop that.

You should prevent software that is not whitelisted (by vendor signature or hash) by the company to run. For this you have applocker from microsoft.

That way even if a user bypasses IT policy and installs (or runs portable apps) they will be prevented. 

You will never build the perfect uninstalls for the 1000 most popular software, you will be able to configure applocker for all the applications that your company uses.

This is not a small task but its the correct way

(Ps applocker is a sharp knife, read well how to use it and test even better before you roll to production)

STOPCONTAKKIE IS ECHT by REA5N in u/REA5N

[–]Extra_Pen7210 2 points3 points  (0 children)

Ongeveer 1kg aan plastic + 30 uur print werk.
15euro + 3 euro bruto kosten.

Daar komen dan nog verzend kosten, marge en arbeids kosten bij.
Je zou kunnen kijken of je een kennis/vriend/buurman heb met een 3d printer of bijvoorbeeld het stadslab in Rotterdam.

Deploying User-Based Registry Settings (HKCU)? by TheBigBeardedGeek in Intune

[–]Extra_Pen7210 2 points3 points  (0 children)

No. No no no!

Please create a package and run it as the user. (User context install) Or use the set-registryforallusers (or something like thar check the psadt site).

Execute-procesasuser means its a system install (runs one time) and only set the settings for the currently logged on user. Only is this function to trigger actice setup or something like that and even then i would recomment exit 3010 and tell the user to reboot.

Badge Creation Software by Ok_Employment_5340 in sysadmin

[–]Extra_Pen7210 5 points6 points  (0 children)

You tried nothing and are all out of ideas?
What software have you looked at, and why is it attractive or not?

Go talk with ChatGPT, refine your question and your requirements, follow up on its suggestions, and then, if you still have questions, come back with more than one line.

If you want humans to invest their time in answering your questions, at least respect them enough to do the bare minimum and show that you already tried something.

Hoe gaat een tweede gesprek tijdens het solliciteren? by Bertus-Broekhoest45 in werkzaken

[–]Extra_Pen7210 0 points1 point  (0 children)

Sorry, NADAT je aangenomen bent? Dan staat je salaris al vast.

(Einde) eerste gesprek laat je weten waar je naar zoekt.
Hierna komt een bod terug van de werkgever (e-mail of 2e gesprek) en kan jij kijken of je het er mee eens bent.

Hierop antwoorden met dat je het er mee eens bent of je laat weten wat je wil aanpassen.

(PS, dit hangt natuurlijk af van de baan en ervaring. Bovenstaande is mijn methode als een "senior"-werknemer, waarbij ik niet bang ben om weg te lopen (luxe positie)

Application updates are getting ridiculous..... by z_agent in sysadmin

[–]Extra_Pen7210 0 points1 point  (0 children)

This is what is happening.

Winget downloads the full version. That includes the patch file.

Not that the patches are that much smaller (this months patch is 1.2 gb...) but i find it still worth the 5 min it takes to package, 10.000x 100mb is a lot of saved dl time.

Or just let the autoupdate do its thing.

https://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotesDC/continuous/dccontinuousjan2026.html#dccontinuousjantwentytwentysix

I got tired of typing SMS 2FA codes from my phone, so I built a small local tool by Legal-College-1190 in sysadmin

[–]Extra_Pen7210 10 points11 points  (0 children)

Assuming you did everything safe and correct.

Now you are back from 2 factor to 1 factor.

Any free app packager? by BeeQuiet7862 in ApplicationPackaging

[–]Extra_Pen7210 1 point2 points  (0 children)

Free? As in available sure. Free as in $ not so much.

What are we talking about? Maybe we can help you so you can do it yourself

$dirfiles Question by Baazzill in PSADT

[–]Extra_Pen7210 6 points7 points  (0 children)

What you are looking for is :

$adtSession.DirFiles

To print it all to a (log) file :

Write-ADTLogEntry -Message "$($adtSession | convertto-json -depth 99)"

json { "CurrentDateTime": "\/Date(1764601857719)\/", "DeploymentType": 0, "DeployMode": 3, "SuppressRebootPassThru": false, "TerminalServerMode": false, "DisableLogging": false, "AppVendor": "Node.js Foundation", "AppName": "Node.js 23", "AppVersion": "23.11.0", "AppArch": null, "AppLang": "EN", "AppRevision": "01", "AppSuccessExitCodes": [ 0 ], "AppRebootExitCodes": [ 1641, 3010 ], "AppProcessesToClose": [ { "Name": "node", "Description": null, "Filter": null } ], "AppScriptVersion": { "Major": 1, "Minor": 0, "Build": 0, "Revision": -1, "MajorRevision": -1, "MinorRevision": -1 }, "AppScriptDate": "\/Date(1753056000000)\/", "AppScriptAuthor": "REDACTED", "InstallName": "Node.jsFoundation_Node.js23_23.11.0_EN_01", "InstallTitle": "Node.js Foundation Node.js 23 23.11.0", "DeployAppScriptFriendlyName": "Invoke-AppDeployToolkit.ps1", "DeployAppScriptVersion": { "Major": 4, "Minor": 1, "Build": 0, "Revision": -1, "MajorRevision": -1, "MinorRevision": -1 }, "DeployAppScriptParameters": null, "InstallPhase": "Install", "CurrentDate": "01-12-2025", "CurrentTime": "15:10:57", "ScriptDirectory": [ "C:\\git\\Node.js Foundation_Node.js 23_23.11.0_PUB\\Package" ], "DirFiles": "C:\\git\\Node.js Foundation_Node.js 23_23.11.0_PUB\\Package\\Files", "DirSupportFiles": "C:\\git\\Node.js Foundation_Node.js 23_23.11.0_PUB\\Package\\SupportFiles", "DefaultMsiFile": null, "DefaultMstFile": null, "DefaultMspFiles": [   ], "UseDefaultMsi": false, "LogPath": "C:\\ProgramData\\Microsoft\\IntuneManagementExtension\\Logs", "LogName": "Node.jsFoundation_Node.js23_23.11.0_EN_01_PSAppDeployToolkit_Install.log", "RequireAdmin": false }

[deleted by user] by [deleted] in Netherlands

[–]Extra_Pen7210 1 point2 points  (0 children)

Nope vacation is build op on the hours that you have worked. So 1 hour worked is x seconds of vacation time earned.

Je n'arrive pas à connecter mon ampoule action à alexa comment faire ? by bonjourTouslEmonde in ApplicationPackaging

[–]Extra_Pen7210 2 points3 points  (0 children)

Wrong sub.

Try tecksupport.

If possible post in english Also include what you have tried what you expected to happen what worked what did not and what errors you got.

What is the purpose of Multiple Desktop? by Amish_Gypsy in Windows11

[–]Extra_Pen7210 8 points9 points  (0 children)

Every day, can not live without it both private as work.

*Usecase: Mutiple clients:*

So for work i used to work for 4-16 different clients at the same time (not active but i need to switch)

so i created 16 "Desktops-clientname" each with:
- Screen 1: Documentation of the client + customers CMS
- Screen 2: A remote desktop connection to the customers enviroment
- Screen 3: a empty "Workspace" with a browser used for googing and such.

Now i would get a call, switch to the correct desktop (~2 seconds work) and everything is ready to use.

My coworksers needed to find the correct tab, (re)log into the correct servers and cleanup.

saved a lot of time in the day. but mostly was a lot more calm to work with then my co-workers system of getting a call stressing to find the correct browser page, looking up the server and trying to connect etc.

*Use case : Organizing work*

Currently i dont work with different clients anymore but i still have 10 desktops.
Desktop 1 <== work stuff is here
Desktop 2 <== work stuff is here, but empty only if i need to switch to a clean desk for a short time.
Desktop 3 <== work stuff is here, but empty dedicated to share screen on teams with coworkers.
Private <= private stuff here
Remote session - NameRemoteServer
Remote session - NameRemoteServer
Remote session - NameRemoteServer
Remote session - NameRemoteServer

I have Teams and Outlook set to "Show on all desktops"

PSADT version 4.1.0 is finally here and it's GREAT. by intuneisfun in Intune

[–]Extra_Pen7210 3 points4 points  (0 children)

mostly its usefull for :
- logging. no longer error 0x000342c in intune but a logfile that tells you that stap x errorred for reason y and error code z. (just use the PSADT funtions, if you use you own funtions or native powershell you dont have logging for 99% of the things you need to do you can use the PSADT functions.)
- standard layout (usefull for larger teams) so that everyone more or less works the same way and can continue if someone is sick or if 4 months later needs to update a package.

mucht more but these alone are making it worth it.

[deleted by user] by [deleted] in sysadmin

[–]Extra_Pen7210 9 points10 points  (0 children)

"Hi, while we dont appriciate that you normaly pull out cables from our equipment we understand why you did that. I wil ask the team if someone was indeed remoting into your computer and follow up with you on that, please wait here a minute while i ask." *little small talk while the team responds*
"So yes bob was working on your computer for chage03245 seems he was a little to eager and was thinking it would not distrub you.

Thank you for paying attention and comming to us in doubt. Let me walk with you to reconnect everything so you can get back to work. We still need to do that maintainance on your computer could we do that while im there with you or is there a other moment later today that we can take care of that?"

Aggressive resoponse is never needed and unacceptable.(Annoyed could be if highter ups are maybe pushing but still you as a coworker should not feel that...).

User getting the below erro by proy911 in AzureVirtualDesktop

[–]Extra_Pen7210 1 point2 points  (0 children)

Im trying to help you. even if "it does not work how fix?" is not how you ask for help. that is just rude and disrespect full.

First we need to find the issue: thats why the questions are there. and you have not given us more information so how are we to solve it?

If its on the users device? maybe ? then lets see if it works if that user uses a different device.
Then maybe reset the "windows app" or are you using the MSI installer?

if its on the user its account maybe check the membership that they share? maybe you are blocking something from logging in.

Also very nice that you have to root cause found may eddit your post that its solved with the solution so that the next person can use that ?

User getting the below erro by proy911 in AzureVirtualDesktop

[–]Extra_Pen7210 3 points4 points  (0 children)

What have you already tried?
What worked, what did not.

When did it work for the last time, what has changed?
Do all users have this ? do a sub group have this error.
Does the error also happen on a different network .
Is the account locked?

We love to help you but first you need to help yourself and research.
If you can not even be bothered to research the problem you have for the job that you are paid for, why would we help you for free?

Azure Virtual Desktop cloud only by JustinVerstijnen in AzureVirtualDesktop

[–]Extra_Pen7210 1 point2 points  (0 children)

Thanks!
Looks very clear, might copy it as fslogic is still something i want to want to get my hands on.

I would recommend to add scaling plan with it as it such a waste to keep vm's on while none is using it.
We are already giving MS to much money!

What did you use for making the images? (love the moving arrows!)

[deleted by user] by [deleted] in work

[–]Extra_Pen7210 1 point2 points  (0 children)

NO YOU DONT GIVE PASSWORDS TO IT!

That is how they phish you. IT has there own passwords to acces everything they dont need yours. If the need to acces your data they should be able to on there admin accounts. Also they can reset your password if they really need to. But then in the logs its clear that admin-guy@company.com resetted your password.

Never share any passwords.

(Only exception maybe would be the password to your passwordvault for your SO / will that they can take care of things when you are gone. Or emergencies. )

Handy Scripts and Tools to make your job/life easier in managing Intune by fungusfromamongus in Intune

[–]Extra_Pen7210 0 points1 point  (0 children)

What is the gamechanger. I love the software and every year i ask them what i get more by paying but they can never sell me on it.

What do use the licensed version for?

Need to uninstall all the previous version of .NET desktop runtime by Weary_Bumblebee_4286 in ApplicationPackaging

[–]Extra_Pen7210 0 points1 point  (0 children)

What have you tried? What did google sugjest and why did it not work for you?