In this blog I would like to describe, how I managed to set required user settings to Windows 10.
Since I still do have an On-Premises environment, in which also File Servers reside and a DFS Namespace is still up and running, I wanted to make sure to get the advantages of using the local network.
So here are my two use-cases to solve:
1. Add a Network location for the DFS Path if the user is logged on On-Premises
2. Modify the local “host” file, to redirect the workfolder clients to the file server internally
Continue reading
Powershell
Azure AD – Remove Registered Device
Today I was asked how to remove a registered Device from the Azure Active Directory, for all of those asking, what is a registered Device, see this Azure Article, and you can automate this step for your users, if you are following this Azure Article. But what if you would like to remove the registered Device of a User? You can do that through the Portal:
Or you can use PowerShell to do that! Continue reading
Active Directory – Create Printer Queue with Powershell
Today I needed to create a lot of Print Queues in a Remote Domain, which I thought it should not be that hard with all the cmdlets given from Microsoft. But with my first shots with some cmdlets and also with the usage of my preferred Search engine, I could not find a working solution throughout PowerShell to create Printer Queues. I found other people with the same needs, but with no solution and I found a working VBScript, but I needed to put the Block into a PowerShell script, rather than executing a VBScript out of PowerShell.
After a lot of trying and understanding, I could get a Script working:
Continue reading
Azure AD Connect 1.1.105.0 – Missing Scheduled Task
Hi,
today I have upgraded my Azure AD Connect to the newest Version available (Download here).
Everything seemed to be fine, except that I was missing the Scheduled Task:
Continue reading
Windows 10 – Stop PhoneHome or elsewhere
On this page you will find the Information about the Stop Phone Home Powershell Script.
What does the script for you?
It helps to set privacy settings in an automatic way with a simple solution like a Powershell Script.
Some of those settings are also available through GPO, but some are not. The following picture shows the GUI for changing the settings through the “Trusted Windows Store App” Settings (available through the Startmenu):
The software Process Monitor from the Sysinternal Tools (https://technet.microsoft.com/en-us/sysinternals/bb842062.aspx) was used to extract the Registry Keys which are modified by the settings app.
How do you use the script
You have to start it with at least one parameter or the script will be terminated:
To see all Parameters with an short explanation, just use the get-help cmdlet, insert the script and add “-detailed”:
The script determines if it is running with local administrator permissions, if those are not available, the script will not execute the machine settings, even if those parameters are used.
Where do you find the most recent release
In future, I will always update this post, and add the new Script here:
http://1drv.ms/1P02wQT
Do you miss a setting?
If so, please get in touch with me via twitter:
https://twitter.com/hosebei
Windows 10 – Stop PhoneHome or elsewhere (V0.9)
Hey reader,
my script gets soon a Number at it’s first position. But for now, I stay below the Majornumber 1, even there are some huge additions.
Lets start with the new Help Text, which can be used with the normal get-help command (you may recognize the “-examples” parameter):
get-help .\Windows10_NoPhoneHome-V0.9.ps1 -examples
Continue reading
Windows 10 – Stop PhoneHome or elsewhere (V0.8)
Hi there,
after Microsoft has released a KB Article about how to disable Wi-Fi Sense (you can find it here https://support.microsoft.com/en-us/kb/3085719 ; thanks to https://twitter.com/HeikeRitter for the mention), I have added this setting to my script, which has now the Version 0.8. For a short explanation about the Script, see my older Blogpost: Continue reading
Quickpost – Use Powershell to get DFS-R initial replication status
Hi all,
because I didn’t found this in the first sight, and had to use a wmic query, I have prepared my Powershell command:
Get-WmiObject -Namespace root\microsoftdfs -Class dfsrreplicatedfolderinfo | Select-Object ReplicatedFolderName,State
Continue reading
Windows 10 – Stop PhoneHome or elsewhere (V0.7)
Hi there,
after some discussions about the home phone functionality of Windows 10, I looked for a tool, that does the work for me if needed. But some of them just replaces the Built-In settings with another Spyware (or whatever the correct name would be).
So I decided to create a powershell script, which is reusable by other, and simple to understand, because it is easily readable. Continue reading
Windows 10 – Stop PhoneHome or elsewhere
Hi there,
after some discussions about the home phone functionality of Windows 10, I looked for a tool, that does the work for me if needed. But some of them just replaces the Built-In settings with another Spyware (or whatever the correct name would be).
So I decided to create a powershell script, which is reusable by other, and simple to understand, because it is easily readable. Continue reading