8,352 questions with Windows for business | Windows Server | User experience | PowerShell tags

Sort by: Updated
3 answers

Set-LocalUser : An unspecified error occurred: status = 3221226252

I am trying to change user password based on below script but getting the error "Set-LocalUser : An unspecified error occurred: status = 3221226252". $pks=Get-Date foreach($pk in…

Windows for business | Windows Server | User experience | PowerShell
asked 2025-01-15T16:09:03.5766667+00:00
Pradeep Mishra 46 Reputation points
commented 2026-02-21T03:01:24.85+00:00
Rohit Ramchandra Shinde 20 Reputation points
2 answers One of the answers was accepted by the question author.

Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2012 (Access denied)

Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2019 (Access denied) after in-place upgrade the windows server from 2012 R2 to 2016 then 2019

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
asked 2024-04-30T04:38:39.93+00:00
Sambhaji Khairnar 20 Reputation points
accepted 2026-02-20T07:24:12.1466667+00:00
Sambhaji Khairnar 20 Reputation points
3 answers

Get-Partition & Win32_Volume does not return all volumes and partitions on a disk

Problem I am using Get-Partition command & Win32_Volume class to get the list of partition and volumes in the disk. However, these commands are not returning all the volumes and partitions even though the disk management show the disks and volumes…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-04T09:53:09.5233333+00:00
SaravanaKumar Dhamodaran 0 Reputation points
answered 2026-02-20T01:22:54.93+00:00
Jason Nguyen Tran 11,005 Reputation points Independent Advisor
1 answer

How to resolve New-AzResourceGroupDeployment: - The deployment 'DataBricksDeployment' failed with error(s). Showing 1 out of 1 error(s). Status Message: The definition of application 'Databricks25' cannot be null. (Code:InvalidApplicationDefi

God day Does anyone know what could be causing this error. New-AzResourceGroupDeployment: 10:06:59 - The deployment 'DataBricksDeployment' failed with error(s). Showing 1 out of 1 error(s). Status Message: The definition of application…

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,832 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2025-01-14T08:32:04.5133333+00:00
Tsholofelo Mautla 26 Reputation points
edited an answer 2026-02-12T09:01:06.9733333+00:00
Adyasha Nayak 0 Reputation points
1 answer

How to run the WinRM service as a different AD user.

Hello. I need two or more WEF servers combined into an NLB cluster. After preparing NLB and WEF, I started configuring WinRM access. Because when accessing the cluster name, I was getting a Kerberos error. What I did: Created a domain account Registered…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-08T20:44:29.8933333+00:00
Denis Pasternak 40 Reputation points
commented 2026-02-11T21:56:07.36+00:00
Denis Pasternak 40 Reputation points
1 answer

How to automate turning off or suspending some Azure services to save money?

What Azure objects can we suspend or turn off outside business hours to save running costs? App Service: The app service implements the message compose experience in the team tab and the messaging endpoint for the bot. Service Bus: The individual…

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
4,753 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,475 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,163 questions
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
asked 2024-05-05T13:46:36.69+00:00
EnterpriseArchitect 6,346 Reputation points
commented 2026-02-11T17:47:44.77+00:00
Esther Fan 0 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Storage Migration Service stuck on step 2 "Transfer Data" Start the transfer phase

Hello, I have a dedicated Orchestrator VM running WAC on windows server 2022 datacenter. I am running into an issue migrating a 2012r2 server to windows server 2022. I have been able to go through all the steps up to step 2. I was able to successfully…

System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
276 questions
Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
asked 2024-02-09T13:51:00.5133333+00:00
Spencer 20 Reputation points
answered 2026-02-10T02:57:11.0166667+00:00
TO LA 0 Reputation points
1 answer

Proactive remediation script not executing every hour

I have a detection script configured to return data via remediation scripts which is set to run once every hour, but it does not run for days on some devices on Intne

Windows for business | Windows Server | User experience | PowerShell
asked 2024-08-26T12:54:21.7333333+00:00
Santhoshkumar B Kamar (CONVERGYS CORPORATION) 0 Reputation points Microsoft External Staff
answered 2026-02-09T13:14:49.6+00:00
David Peterson 0 Reputation points
2 answers

'0x8078006B'. Windows Backup Error

trying to run server 2019 backup and get: '0x8078006B'. Windows Backup Error

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-03T01:00:43.0166667+00:00
Steven Ernst 0 Reputation points
answered 2026-02-03T03:15:23.0233333+00:00
Harry Phan 14,970 Reputation points Independent Advisor
1 answer

Server 2025 açılışta logonUI ekranında kalıyor işletim sistemi açılmıyor bu sorunu nasıl çözebilirim

Lisanslı Lenovo ST50_V3 ve Lenovo Windows server 2025 standart essential 10c alımı yaptım, lisansım geç geldiği için MSDN den standart deneme sürümü yükledim lisansım elime ulaşınca etkinleştirme yapmak istedim hata verdi lisans ile beraber gelen kurulum…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-01-29T19:30:55.43+00:00
R LEVENT 0 Reputation points
answered 2026-02-02T03:05:33.8633333+00:00
Ivy Bui (WICLOUD CORPORATION) 425 Reputation points Microsoft External Staff Moderator
3 answers

Powershell to Get List of all RDP Sessions for Each Server Defined in a CSV

Hello, I have admin on every server. I would like to create a PowerShell script to get all RDP sessions currently logged into every server we have, with logon time. I have the server names in a CSV but not sure how I would build the script. I can use…

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Windows for business | Windows Server | User experience | PowerShell
asked 2021-11-08T17:54:46.687+00:00
Rich Ellis 1 Reputation point
edited an answer 2026-01-30T16:06:10.31+00:00
Stephan Reck 0 Reputation points
2 answers

Powershell

I keep on getting a message from Windows Powershell requesting I download the latest powershell . What does this mean and how do I resolve this?

Windows for business | Windows Server | User experience | PowerShell
asked 2026-01-27T16:04:47.38+00:00
Jim LaFave 0 Reputation points
edited the question 2026-01-30T09:49:57.3166667+00:00
SChalakov 10,781 Reputation points MVP Volunteer Moderator
2 answers

WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use. Retry the operation after closing the applications.

I can't seem to update modules. I do not know why I keep getting this error. WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use. Retry the operation after closing the applications. I'm trying to update Exchange…

Windows for business | Windows Server | User experience | PowerShell
asked 2025-02-14T15:34:54.99+00:00
ComputerHabit 1,051 Reputation points
commented 2026-01-28T08:33:37.26+00:00
Obdam, Raymond 0 Reputation points
2 answers One of the answers was accepted by the question author.

String was not recognized as a valid DateTime

Hello we have this error "String was not recognized as a valid DateTime. The pc has the same format in short time and long time and also date in both user and admin account. This occur when whe are going to update our software to latest available…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-01-24T16:16:15.4866667+00:00
Bans123 60 Reputation points
accepted 2026-01-25T08:59:12.2166667+00:00
Bans123 60 Reputation points
3 answers One of the answers was accepted by the question author.

A positional parameter cannot be found

Hi All, My script uses the Get-QADUser syntax, and I want to replace it with Get-ADUser. However, when I use the Get-ADUser syntax, I am encountering the following error: A positional parameter cannot be found that accepts argument 'False'. Please guide…

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
6,974 questions
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
asked 2024-10-07T22:18:38.4933333+00:00
Glenn Maxwell 13,306 Reputation points
answered 2026-01-22T00:15:40.17+00:00
Tara 0 Reputation points
1 answer

Changing Overlay power Mode with script

Hi, I want to change the overlay power mode based on time of the day without having to go to settings -> system -> power and battery -> power mode each time. I am not able to find which command in powercfg will change the OVERLAY power mode, all…

Windows for business | Windows Server | User experience | PowerShell
asked 2025-02-02T09:38:46.71+00:00
Mustaffa Abu-Sedira 0 Reputation points
edited a comment 2026-01-21T22:48:14.67+00:00
Paul Cormier 5 Reputation points
1 answer

cannot respond to powershell question about region code

I can't actually respond to the query The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US"). I have typed in Y and YES but neither of those worked, and neither of…

Windows for business | Windows Server | User experience | PowerShell
asked 2024-11-25T01:53:53.25+00:00
Phil Burton 0 Reputation points
edited an answer 2026-01-21T20:30:00.82+00:00
edward falconer 0 Reputation points
3 answers One of the answers was accepted by the question author.

[Import-Certificate], UnauthorizedAccessException E_ACCESSDENIED when tring to import cert into Cert:\LocalMachine\TrustedPublisher

Hi, I'm really struggling with this one! So a bit of context first : I'm using a powershell module that I've made on my own. This module automatically creates à hyper-v VM, installs windows in it, runs scripts that install applications silently, syspreps…

Windows for business | Windows Server | User experience | PowerShell
asked 2024-05-17T07:40:14.98+00:00
Julien POULAIN 30 Reputation points
answered 2026-01-21T08:47:28.1733333+00:00
Julien POULAIN 30 Reputation points
1 answer

How to set up Kiosk mode with WPF single app in Windows 10 Pro

Hi everyone, I tried to set up kiosk mode for my laptop to run WPF single app in windows 10 Pro. Firstly, I turn on Shell Launcher in Turn Windows features on or off and run the following script in powershell with admin right to open my WPF app then…

Developer technologies | Windows Presentation Foundation
Windows for business | Windows Server | User experience | PowerShell
asked 2023-05-04T09:53:58.44+00:00
HuynhMinh 1 Reputation point
commented 2026-01-20T08:44:20.4+00:00
Mats Wessling 0 Reputation points
1 answer

wbadmin start backup fail

When I use wbadmin start backup cmd to start backup, it fails with the following message. How do I konw which process locked the EFI partition? ================================== wbadmin start backup -backupTarget:z: -include:c:,d: -allCritical -quiet…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-01-12T01:13:18.0066667+00:00
Fiona 125 Reputation points
answered 2026-01-12T04:50:40.22+00:00
Harry Phan 14,970 Reputation points Independent Advisor