Quantcast
Channel: Network Audit and Documentation, CENTREL Solutions Blog
Browsing all 433 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Importing modules fails for C#.NET application - file cannot be loaded...

When you're tying to import a PowerShell script into a C#.NET application you may see an error like this File C:\Program Files\WindowsPowerShell\Modules\AzureRM\4.4.0\AzureRM.psm1 cannot be loaded...

View Article


Image may be NSFW.
Clik here to view.

Document Azure tenants with Microsoft Live accounts or multi-factor...

Our network and cloud documentation tool XIA Configuration is getting a new update.As our product runs as a Windows service customers have previously had issues when trying to scan an Azure environment...

View Article


Image may be NSFW.
Clik here to view.

An error has occurred for task 'name'. Error message: The following error was...

When you create a scheduled task in Windows you notice that the Send an e-mail and Display a message tasks are marked as "deprecated".You can no longer create these task types and the following error...

View Article

Problems and bugs with the Windows Task Scheduler

So having worked with the Task Scheduler Library in Windows over the last few weeks it's a real problem area of WindowsI've already mentioned the issue that deprecated features still appear in the user...

View Article

Image may be NSFW.
Clik here to view.

Not all scheduled tasks show up when running Get-ScheduledTask, certain tasks...

When you run the Get-ScheduledTask command you notice that some of the tasks are missing, however you can see these tasks in the Task Scheduler Library.This can be caused if you have UAC enabled or are...

View Article


Image may be NSFW.
Clik here to view.

Windows Task Scheduler - Value does not fall within the expected range.

When you create a scheduled task trigger using the Windows Task Scheduler you may see the error "Value does not fall within the expected range".Whilst this looks like a serious error. The issue appears...

View Article

Get-WebBinding PowerShell cmdlet gives "Value does not fall within the...

When using the Get-WebBinding PowerShell you may see the error "Value does not fall within the expected range" error  if any of the bindings use the central certificate store (CCS).Value does not fall...

View Article

Read a REG_EXPAND_SZ value from the registry using PowerShell

The Get-Item PowerShell cmdlet is nice and easy to use to get a registry key or value. Here's how we get a key.$key = Get-Item -Path "Registry::HKEY_LOCAL_MACHINE\Software\TestKey"But if you want to...

View Article


The program can’t start because MSVCR120.dll is missing from your computer....

The program can’t start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix the problem.If you see this problem you need the Visual C++ Redistributable Packages for...

View Article


Image may be NSFW.
Clik here to view.

The WINS settings of the Win32_NetworkAdapterConfiguration class do not...

It seems there is a bug in Windows 10 that if you change the WINS primary or secondary IP addresses in the user interface these are not updated immediately in the Win32_NetworkAdapterConfiguration WMI...

View Article

Image may be NSFW.
Clik here to view.

C#.NET Winforms PropertyGrid reports "Properties Window", "Index was outside...

You may find when using the PropertyGrid in a C#.NET Winforms application that the PropertyGrid displays an alert with the title "Properties Window" and the message "Index was outside the bounds of the...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Get-ItemProperty cmdlet returns garbled registry values with...

We've recently stumbled upon a problem with reading registry entries using PowerShell where the Get-ItemProperty or Get-Item cmdlet returns garbled registry values with artifacts.You'll notice that...

View Article

XIA Configuration Server reviewed on the 4SYSOPs web site

We now have a review of XIA Configuration Server live on the 4SYSOPs web sitehttps://4sysops.com/archives/xia-configuration-easy-network-inventory-and-documentation-solution/4sysops is an online...

View Article


Image may be NSFW.
Clik here to view.

System.IO.File.ReadAllText method and Default encoding with Nano server

You may find that running the following command on Nano will fail[System.IO.File]::ReadAllText($path, [System.Text.Encoding]::Default)Exception calling "ReadAllText" with "2" argument(s): "Value cannot...

View Article

Running start in a batch file or .cmd file displays a command prompt instead...

I've recently run into an issue whereby I'm trying to start several Visual Studio environments as another user with the runas command for remote testing.So I created a batch file with the runas command...

View Article


Image may be NSFW.
Clik here to view.

How to relock a Bitlocker drive after you've unlocked it with PowerShell

If you're using Windows Server 2012 or above you can use PowerShell to relock a bitlocker drive that you have already unlockedLock-BitLocker E:However if the drive is in use you may see this...

View Article

Image may be NSFW.
Clik here to view.

Get-LocalGroupMember PowerShell cmdlet issues - An unspecified error...

We've recently been working on the new local account management PowerShell cmdlets and found an issue with the Get-LocalGroupMember cmdletIf a user group has a member that cannot be resolved normally...

View Article


Image may be NSFW.
Clik here to view.

Get-Disk PowerShell cmdlet does not show dynamic disks.

We've been updating our Windows server documentation tool to use the newer Get-Disk cmdlets on Windows 2012 and above and found that when you configure a disk as dynamicThe Get-Disk PowerShell cmdlet...

View Article

Image may be NSFW.
Clik here to view.

Can't copy and paste from a Barclays bank statement PDF (SECURED in the title...

You might find that when you try and copy and paste from a Barclays bank statement you're no longer allowed to do this. If you're trying to get a reference number out of the document this is...

View Article

Image may be NSFW.
Clik here to view.

P/invoke CreateProcessWithLogonW causes Error 1058: The service cannot be...

If you're running the CreateProcessWithLogonW Win32 API command with P/invoke you may receive the following errorError 1058: The service cannot be started, either because it is disabled or because it...

View Article
Browsing all 433 articles
Browse latest View live