I have two fresh installs of Windows server 2016 Everytime I try to run Configuration Manager Client (5.00.8458.1000) i get an error Configuration Manager Client (5.00.8458.1000) - Error 0x80070643 I have disabled UAC Ran C:\Windows\SoftwareDistribution\Download\Install\ccmsetup.exe as administrator and from the local administrator account Most everything I find online refers to [...] read more
I downloaded Windows Server 2012 R2 from microsoft.com as a .vhd file and am using virtualBox to run it. After downloading it, I changed the execution policy to remoteSigned, then changed the name of the computer from the standard WIN-gibberish. I restarted the computer, but on boot, server manager came [...] read more
I have a text file full of pc data, organized as a list of blocks of one of two types. Either: *redacted* My goal was to have Python (3.6.2) open and read the file, clean it up, and compile the data into an excel spreadsheet as follows: Column 1: PC [...] read more
I was asking myself if I could import PowerShell modules from a newer Windows version. The *-NetAdapter CMDLets in Windows 8 and 8.1 are quite nice, so I wanted to use 'em in Windows 7 too. Unfortunately they need PowerShell 4.0. I managed to upgrade my local PowerShell and found [...] read more
I've been trying to automate disabling dynamic ports in a new installation of SQL Server 2012 and setting a static TCP port. I can do this without an issue from the SQL Configuration Manager, but getting a script to do this is giving me more trouble. Luckily, I found someone [...] read more
I'm using Windows 7 and now I want to develop a program with WMI. I've read MSDN and found this example code. #include "stdafx.h" #define _WIN32_DCOM #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> #include <conio.h> # pragma comment(lib, "wbemuuid.lib") BOOL ManageWMI(); int main(int argc, char* argv[]) { if(ManageWMI()) [...] read more
i have an old PC in which i had installed Visual Studio Ent 2003, which included Application Center Test. Now i'd like to use ACT on a different machine (on Windows 7 64-bit) without installing visual studio on it. so i tried copying the "c:\program files\Microsoft ACT" from the old [...] read more
I have enabled DFS replication for a couple shares on my Windows Server 2003 machine and it works fine, except that I would like the debug logs to be written to a different drive (it logs in to the windows folder on the C drive by default) and also change [...] read more
we have SCCM Server the client install successfully on servers but not on workstations windows 10. on the ccmsetup.log I got these errors Failed to connect to policy namespace. Error 0x8004100e Failed to revoke client upgrade local policy. Error 0x8004100e Could not retrieve value for MDM_ConfigSetting . Error 0x80041002 Failed [...] read more
When i try to get schedule task in windows 10 1903 via powershell with get-scheduledtask show follwing error Get-ScheduledTask : Invalid namespace At line:1 char:1 + Get-ScheduledTask + ~~~~~~~~~~~~~~~~~ + CategoryInfo : MetadataError: (MSFT_ScheduledTask:Root/Microsoft/...T_ScheduledTask) [Get-ScheduledTask ], CimException + FullyQualifiedErrorId : HRESULT 0x8004100e,Get-ScheduledTask` I check ps version : PS C:\WINDOWS\system32> $PSVersionTable [...] read more
This is my code: import wmi w = wmi.WMI(namespace="root\OpenHardwareMonitor") temperature_infos = w.Sensor() #print(temperature_infos) for sensor in temperature_infos: #print(sensor) if sensor.SensorType == 'Temperature': print(sensor.Name) print(sensor.Value) And i get this error: Exception has occurred: x_wmi <x_wmi: Unexpected COM Error (-2147217394, 'OLE error 0x8004100e', None, None)> And I think the problem is that [...] read more
I get this error: > Cannot connect to WMI provider. You do not have permission or the server is > unreachable. Note that you can only manage SQL Server 2005 and later servers > with SQL Server Configuration Manager. Invalid namespace [0x8004100e] To find the server name, I opened SQL [...] read more
I can not execute Get-ScheduledTask command by local environment. However I can execute it to remote servers from local environment. Command(to remote servers) > $c = New-CimSession -ComputerName "host name" -Credential xxx.xxx.xxx.xxx > Get-ScheduledTask -CimSession $c -TaskName "taskname" Command(to local) > Get-ScheduledTask Error + Get-ScheduledTask + ~~~~~~~~~~~~~~~~~ + CategoryInfo : [...] read more
Can any one tell me why I am getting an error message with this code: I am trying to recycle app pools with a wmi script Line that errors is "set objWMIService ..." Error message is "0x8004100E" RecycleAppPools("myComputerName") Sub RecycleAppPools(strComputer) set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}//" _ & strComputer & "/root/MicrosoftIISv2") Set [...] read more
I'm trying to run the following VBScript code on a Win2k SP4: strComputer = "." Set oWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") It works on XP and Win7 without problems, but on this 2k box I get the following error: C:\test_wmi.vbs(3, 1) (null): 0x8004100E The error description [...] read more
I'm sorry about how simple the question is but I've searched all over the Internet and I found MSDN articles about making application pools (http://msdn.microsoft.com/en-us/library/ms525309.aspx) and using IIS 7 but nothing about IIS 6 and applications. I'm currently using the following code to create an application and set its properties: [...] read more