This post can be applied only to the Microsoft Windows operating systems.
Goal: You are connected to a WiFi using your pc with Windows, and you need to know what is the password used to connect into the network
I know two methods to achieve this goal.
Method 1:
Right-click in the taskbar in the WiFi icon (marked in red in the image)
Click on Open Network & Internet settings
Click on the menu Wi-Fi
Click on Change adapter options
Right-click on your Wi-Fi adapter
Click on Status
Click the button Wireless Properties
Navigate to the Security tab
then tick Show characters checkbox to show the WiFi password in the Network security key field.
Method 2: Open the Command Prompt or Windows PowerShell and run the following command replacing “WiFiName” with the name of the WiFi network you are connected to
netsh wlan show profile name="WiFiName" key=clear | findstr Key
The Key Content will display the WiFi password in the command prompt as a result.
Note: “WiFiName” is not case sensitive but if you don’t write correctly your WiFiName no error and no result will be displayed.
Do you think that my Tip & Trick is useful? Leave a reply.
Microsoft Update Catalog contains the list of Windows Updates and also the Updates of Microsoft Products that can be installed via Windows Update functionality.
Using the Search bar it is possible to filter the results to search, for example writing “SQL” you will find a list of Service Packs, Updates, Future Packs and Critical Updates for different versions of SQL Server.
Steps to download and install updates from the Windows Update Catalog
To download updates from the Windows Update Catalog, follow these steps:
Click Download. Note If you are prompted, click Accept to accept the license agreement.
Select the location where you want to save the updates. You can either type the full path of the folder, or you can click Browse to locate the folder.
Click Continue to start the download.
When the download is complete, click Close to close the Download Window.
Close the Windows Update Catalog Window.
Find the location that you specified in step 2.
Double-click each update, and then follow the instructions to install the update. If the updates are intended for another computer, copy the updates to that computer, and then double-click the updates to install them.
To get a list of pending Windows Updates of a Server with No Internet access, follow these steps:
Download wsusscn2.cab from another pc/server with Internet Access
Copy the wsusscn2.cab file in the Server that has No Internet access
Open Windows PowerShell ISE as Administrator
Run following PowerShell script assigning to the variable $Wsusscn2FilePath the correct path where you saved the wsusscn2.cab file
$Wsusscn2FilePath = "c:tempwsusscn2.cab"
$UpdateSession = New-Object -ComObject Microsoft.Update.Session
$UpdateServiceManager = New-Object -ComObject Microsoft.Update.ServiceManager
$UpdateService = $UpdateServiceManager.AddScanPackageService("Offline Sync Service", $Wsusscn2FilePath, 1)
$UpdateSearcher = $UpdateSession.CreateUpdateSearcher()
Write-Output "Searching for updates... `r`n"
$UpdateSearcher.ServerSelection = 3
$UpdateSearcher.IncludePotentiallySupersededUpdates = $true
$UpdateSearcher.ServiceID = $UpdateService.ServiceID.ToString()
$SearchResult = $UpdateSearcher.Search("IsInstalled=0")
$Updates = $SearchResult.Updates
if($Updates.Count -eq 0){
Write-Output "There are no applicable updates."
return $null
}
Write-Output "List of applicable items on the machine when using wssuscan.cab: `r`n"
$i = 0
foreach($Update in $Updates){
Write-Output "$($i)> $($Update.Title)"
$i++
}
The script will return the list of pending updates or the message “There are no applicable updates”.
You will need to download manually the updates from another pc/server with Internet access, copy and install them manually as described in my previous post:
Maybe you noticed that navigating to the Users list page in Microsoft Dynamics 365 Business Central SaaS the button + New is disabled.
HOW TO add new users in Business Central SaaS?
Well, to add a new user in BC SaaS you should first create a new account in the Tenant connecting to the Microsoft 365 admin center using your browser (I suggest you use Google Chrome) with an account with Admin Role access.
From the Admin Center, navigate to the menu Users -> Active Users and add a new user using one of the buttons “Add a user” or “Add multiple users“.
Remember that in order to allow a user to connect to Business Central you must assign a Dynamics 365 Business Central license to its account.
New accounts are not visible in Business Central?
After you created new users in the Admin Center then you need to connect to Business Central, open the Users list page and use the function from the menu Process -> Get New Users from Office 365
Let us extend the concept of Spring Cleaning to our computers, virtual machines and servers where we are using Docker.
I was starting writing some PowerShell script from the list of the docker images
PS C:\> docker images
and thinking which filters to apply when I thought that maybe docker contains already a command that does some good cleanup.
Here the result of my research, we can use docker image prune, in my case I added also the parameters -a to remove all unused images (all images without at least one container associated to them) and -f that stands for Force to do not prompt for confirmation:
PS C:\> docker image prune -a -f
Note: every docker image related to Microsoft Dynamics NAV or Microsoft Dynamics 365 Business Central takes usually 10-20 GB of space.
If you use navcontainerhelper for the creation of the Docker containers I suggest you to have a look also of the content of the folder under the following path:
C:\ProgramData\NavContainerHelper
You could find old database backup or source file objects downloaded that could be deleted as well.
Out of the box, when you install Docker Enterprise Edition (EE) will run Windows containers. To switch between Windows and Linux containers you need to run the below PowerShell commands with elevated privileges:
The concept once again is that you are working with a version of Dynamics NAV (particular build) installed in your machine of which you have already configured the Web Client and now you want to create a new NAV Web Instance for a different build (scenario of my previous post).
Under the hook
Let analyze, for example, the structure of the Web Client for NAV 2017. The following picture, from Internet Information Service (IIS) Manager, shows that there is a website called Microsoft Dynamics NAV 2017 Web Client that can contain one or multiple NAV Web Instances. In this case, it contains a NAV Web Instance named DynamicsNAV100 which is a Virtual Directory (we can notice it from the icon) that contains an Application called WebClient.
Right-click on DynamicsNAV100 and selecting Explore it will open the content of the virtual directory in a File Explorer window:
So now we know the content of the Virtual Directory, which includes actually two items, and the location where it is stored, at the path
C:\inetpub\wwwroot\DynamicsNAV100
What are these two items?
web.config is a file containing the configuration of the NAV Web Instance
WebClient, with an icon similar to a shortcut, is a Symbolic Link.
Right-click on the symbolic link WebClient shows in the properties, in the Shortcut tab, the path of the NAV Web Client folder as Target:
However, double-click on the symbolic link WebClient allows the user to navigate inside NAV Web Client folder “pretending” that those files are stored in the Virtual Directory folder.
Hint: If a symbolic link is deleted, its target remains unaffected.
At this point, we have enough knowledge to manipulate this information to achieve our goal.
HOW TO create NAV Web Instances with multiple builds in the same machine
In this example, I consider NAV 2017 but the same concepts can be applied to multiple versions of NAV.
Prerequisites/Preparation:
Microsoft Dynamics NAV 2017 (10.0.14199, CU 1) installed including Web Server Components
Cumulative Update package, in this example the latest CU 39 (build 10.0.30160), downloaded from the Microsoft Support website
After you installed NAV 2017, the Web Client files will be inside the following path:
I was running a command to install a PowerShell module, e.g.
Install-Module DockerMsftProvider -Force
while I received the following error message:
WARNING: Unable to download the list of available providers. Check your internet connection. PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider ‘NuGet’. The package provider requires ‘PackageManagement’ and ‘Provider’ tags. Please check if the specified package has the tags. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7405 char:21 + … $null = PackageManagement\Install-PackageProvider -Name $script:N … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (Microsoft.Power…PackageProvider:InstallPackageProvider) [Install-PackageP rovider], Exception + FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackageProvider PackageManagement\Import-PackageProvider : No match was found for the specified search criteria and provider name ‘NuGet’. Try ‘Get-PackageProvider -ListAvailable’ to see if the provider exists on the system. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7411 char:21 + … $null = PackageManagement\Import-PackageProvider -Name $script:Nu … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (NuGet:String) [Import-PackageProvider], Exception + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.ImportPackageProvider WARNING: Unable to download from URI ‘https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409′ to ”. WARNING: Unable to download the list of available providers. Check your internet connection. PackageManagement\Get-PackageProvider : Unable to find package provider ‘NuGet’. It may not be imported yet. Try ‘Get-PackageProvider -ListAvailable’. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:7415 char:30 + … tProvider = PackageManagement\Get-PackageProvider -Name $script:NuGet … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Microsoft.Power…PackageProvider:GetPackageProvider) [Get-PackageProvider], Exception + FullyQualifiedErrorId : UnknownProviderFromActivatedList,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPackagePro vider Install-Module : NuGet provider is required to interact with NuGet-based repositories. Please ensure that ‘2.8.5.201’ or newer version of NuGet provider is installed. At line:1 char:1 + Install-Module DockerMsftProvider -Force + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Install-Module], InvalidOperationException + FullyQualifiedErrorId : CouldNotInstallNuGetProvider,Install-Module
Solution:
Run PowerShell as Administrator and run the following command to force to use TLS1.2 protocol
All the Docker images on a system can be listed by adding -a to the docker images command. Once you’re sure you want to delete them all, you can add the -q flag to pass the Image ID to docker rmi:
Re-add the account by typing in the entire email address without using the suggested identity in the dropdown.
Ask the user to clear all cookies/cache and navigate directly to aex.dev.azure.com from an inPrivate/incognito browser.
Make a new query in the projects the use was assigned filtering for “Assigned To contains” and the first letters of the name so that you can verify if there are still items assigned to the wrong account that can be re-assigned.
Did my solution solve your problem? Leave a reply.
This is an unfortunate story that added some stress to my life but also gave me the opportunity to learn a lesson.
As many of the IT guys, I love to experiement and test new services and products.
I found out that there is a possibility to create a family group with Google accounts, to connect parents and kids in the same group and have much control of our kids activities.
I created a new family group at this link Google Families, then I added my 6-year-old daugther to control the contents of YouTube Kids.
Till now everything streight forward.
I had also to install the app in my Android mobile called Google Family Link.
While playing with the app I decide to add also my son, I manage his email so was simple to setup myself as parent and my son as supervised child (accepting the link in his email account).
Issues:
As soon as I linked my son, he told me that he could not sign in on YouTube on our Android TV, a message shown was saying that the device was not compatible. Strange, it’s a new TV. I started searching info about compatibility devices and removed all restrictions in the Family Link related to YouTube. Finally he could connect but as a Guest, the profile was showing his name and surname rather than the usual YouTube channel name and logo. Ok, I realized that something was not going as expected, so let me try to rollback the whole process deleting the link with my son from the Family Link. Here started the nightmare…
I realized his YouTube channel was litterally gone (hidden or deleted was not clear, but not visible at all).
I cannot remove a supervised child from the Family until he does not turn to 14. Ok, I thought, let me change his birthday date but even this attempt was not possible.
I cannot delete the family group that has a supervisioned child linked in it.
Workarounds:
I cannot change the birthday date to a date that he will be older than 14 years old so the best I could do was to setup his birthday to tomorrow, pretending he would turn 14 tomorrow.
Waited the day after until he receive a Happy Birthday email with subject “Ready to take charge of your Google Account?“, this arrived at 10 PM.
Clicked the link in the email [GET STARTED] and the in the page that opened, at the bottom, the button I’m Ready. Finally he got disconnested from the Family Group.
His YouTube channel was still gone. I clicked the button to create a new channel (you can choose any name, it does not matter) this automatically reconnected to his channel. Yeah, the only issue was a red bar with a message showing “Channel does not exists.“
I waited about 10 minutes when I realized that his videos were all there but marked with Visibility = Private. I selected all of them and changed the Visibility to Public.
He finally got his YouTube channel back so that he can still continue his dream to become a YouTuber.
If this post helped you, it’s time to pay me back subscribing to his channel, we will really appreciate it: Hypey TC
You want to use yout MSDN license to access to DevOps with a different account
Let’s first verify that actually you have an MSDN license assigned to you, connect to the following link using an Incognito window from your browser: https://my.visualstudio.com/Subscriptions In this page you can check if you have a subscription active, in my case I can see Visual Studio Enterprise (MPN).
At the bottom you can setup an Alternate account, an email different from the one assigned to the Subscription that can benefit to the same access, including Azure DevOps.
Issue:
Visual Studio Subscriber access level not working
If you have setup an Alternate account after the same email has been used to add a DevOps user you will face an issue because DevOps will be not able to check you have a Subscription and you will be assigned as Stakeholder with limited access.
Solution:
Remove and re-add the user from DevOps.
Did my solution solve your problem? Leave a reply.