Skip to main content

All Questions

Tagged with
0 votes
2 answers
21 views

Searching all XMLs in a folder that are missing a specific tag, Windows 10?

I have a folder with hundreds of XML files. I Need to search all (*.xml) files to find files that do not contain a specific tag, and somehow present me the list of those XML files missing the tag.
Travis Elijah's user avatar
0 votes
1 answer
32 views

Getting the Display Version of the current computer with Powershell7 (I.E.: 22H2). But ReleaseId conflicts with DisplayVersion

I've read a bunch of threads on here about this and I want to get the Windows edition (22H2 for instance). This is the code: $ReleaseID = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\...
fmotion1's user avatar
  • 127
0 votes
1 answer
52 views

Cannot delete file in Windows 10 [duplicate]

On Windows 10, there is a file [%UserProfile%\Videos\Lorem.mkv] that is less thant 9KB and I cannot delete it. The file belongs to me, I have permissions to it, there are no prompts for entering a ...
TalVik99's user avatar
0 votes
1 answer
84 views

Notepad with dark background and white font

I am using windows 10 with dark theme colors. My favorite applications, notepad, when high contrast setting is on becomes black with white font. I would like my notepad to look like that, but without ...
adict's user avatar
  • 1
2 votes
0 answers
47 views

Enable BitLocker through Powershell script avoiding startup authentication

I'm working on a PowerShell script to enable BitLocker in all the endpoints of our organization, including ones which are not connected to domain(accessing private network). I don't want to use TPM ...
Nani's user avatar
  • 131
0 votes
0 answers
166 views

How to change the "Welcome Screen" - "Input language" and the "New user accounts" - "Input language" aswell in powershell ? (WIN 10)

I'm currently having an issue on Win10. The problem : I want to set up the language of the pc for all the users and even the welcome screen to be "FR-BE" using powershell. Here's what I've ...
Brouette_lover's user avatar
1 vote
0 answers
49 views

Raising a dialog window from a Windows .sys driver from the command line?

I would like to allow the user of my application to directly open the (Windows Control Panel) "Internet Protocol Version 4 (TCP/IPv4)" properties dialog (see image below), for a selected ...
sdbbs's user avatar
  • 1,402
1 vote
0 answers
385 views

How do I add a user with "Full Control" permissions to folder without changing owner of the folder (I.E.) Administrators, using the command line?

I want a command-line solution to add a local user account to the permissions table for a directory and grant the account full access... WITHOUT changing the ownership of the directory. I'm looking ...
fmotion1's user avatar
  • 127
0 votes
2 answers
349 views

PowerShell equivalent to DISM's /Cleanup-Image in Windows 10

What is the PowerShell equivalent to DISM's /Cleanup-Image in this command: DISM /Image:%mounted_image% /Cleanup-Image /StartComponentCleanup /Resetbase /ScratchDir:%scratch_dir% Within Use DISM in ...
wolfrevo's user avatar
  • 217
2 votes
1 answer
53 views

Is there a PowerShell, Batch, or VBS script that can automatically pin the recycle bin to the start menu?

The recycle bin doesn't show up when you type it into the start menu which seems incredibly moronic. I am able to create a shortcut and pin it to the start menu so it shows up, but I'd like to ...
John's user avatar
  • 201
0 votes
1 answer
296 views

Windows Registry Shows Windows 10 Pro Despite Running Windows 11 Pro

My laptop is running on Windows 11 Pro, and the system settings indeed confirm that it's running Windows 11 Pro. However, when I use PowerShell to query the registry for the Windows version powershell ...
LuckyCoder3607's user avatar
1 vote
1 answer
670 views

Windows PowerShell: Get-FileHash and long file paths

OS is Windows 10. I'm using PowerShell's "Get-FileHash" command to generate a file's MD5 checksum directly within its folder, like so: PS Z:\Test> Get-FileHash 'test.txt' -algorithm MD5 ...
user1763606's user avatar
0 votes
0 answers
177 views

Importing modules into a remote PC with powershell

I can't find an answer to this issue which I can understand so forgive me if this has already been answered. I'm trying to use self-written modules on a remote PC using Powershell. I would like to use ...
Dermot Bohan's user avatar
0 votes
1 answer
470 views

How Can I Change File Explorer's Default View to "Details" and Group by Type Using CMD/Batch or PowerShell?

I'm looking to customize the default settings of File Explorer on my Windows 10 system. Specifically, I want to set the default view mode to "Details" and have files always grouped by "...
Foad's user avatar
  • 662
0 votes
0 answers
61 views

Task Bar Unresponsive in Windows 11 after Upgrade

When I built our Windows 10 Pro SOE with MDT, I used Import-StartLayout to import a custom LayoutModification.xml file, which customised the layout and pinned items of both the Start menu and Task bar....
David Shortall's user avatar

15 30 50 per page
1
2 3 4 5
58