Change entry at Computer Configuration > Administrative Templates > System > Specify settings for optional component installation and component repair to “Enabled” and check the box for “Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)”
Run gpupdate in Command Prompt.
Open Settings > Apps > Apps & features > Optional features and click “Add a feature”. Search for and install “RSAT: Active Directory Domain Services and Lightweight Directory Services Tools”
Click on “Devices” and select “Configuration profiles”. Click on “Create profile”. Change Platform to “Windows 10 and later” and the Profile type field to “Settings catalog (preview)”. Click the “Create” button.
Give it a basic name and navigate to the “Configuration settings” page.
Click the “Add settings” button. Double click on the “Local Policies Security Options” entry in the Settings picker pane on the right. Check the box for the option “User Account Control Switch To The Secure Desktop When Prompting For Elevation”. Back on the main settings area to the left, change the dropdown to “Disabled” and click the “Next” button.
Enable the policy to all devices (as needed) and then test.
While most organizations are moving files to cloud-based solutions, I'm working for a client who wants to keep everything in-house. In this environment, some users had a private folder under a previous drive letter mapping, others didn't have anything at all.
I created this quick and dirty Powershell script to automate the cleanup process for existing users.
This script gets all users from AD, sets their HomeDirectory attribute in AD to a fileshare and mounts it on the U: drive, and creates private folders with the correct ACL permissions.
I wrote an AutoHotkey script that inserts commonly used text when a keystroke is pressed.
I had issues using the script with Active Directory Users and Computers. I would press the hotkey, but nothing would happen. This has something to do with how Windows handles UAC. Luckily, AHK has a workaround.
Found out from the AHK FAQ that I needed to rerun the AHK installer, select “Modify” in the installer, and check the box for “Add 'Run with UI Access' to context menus”.
Now, I can run my script and interact with ADUC windows without issues.
This AutoHotkey script improves the way Windows inserts accents to be more MacOS-like. I don't like the way the International keyboard handles, so I wrote this script.
Press the right Shift key with one of the letters a,c,e,i,n,o,u to get those characters with commonly used accent or alternative characters. The left Shift key will capitalize as normal. The Control key can also be used for other characters.
o + right Shift = ó
o + right Shift + left Shift = Ó
o + right Shift + Control = ö
o + right Shift + left Shift + Control = Ö
? + right Shift = ¿
And so on.
; Accent keys, used with Right Shift key
RShift & 4::Send {€}
return
RShift & A::
If GetKeyState("LShift", "P")
Send {Á}
Else Send {á}
return
RShift & C::
If GetKeyState("LShift", "P")
Send {Ç}
Else Send {ç}
return
RShift & E::
If GetKeyState("LShift", "P")
Send {É}
Else Send {é}
return
RShift & I::
If GetKeyState("LShift", "P")
Send {Í}
Else Send {í}
return
RShift & N::
If GetKeyState("LShift", "P")
Send {Ñ}
Else Send {ñ}
return
RShift & O::
If GetKeyState("LShift", "P")
If GetKeyState("Control", "P")
Send {Ö}
Else Send {Ó}
Else If GetKeyState("Control", "P")
Send {ö}
Else Send {ó}
return
RShift & U::
If GetKeyState("LShift", "P")
If GetKeyState("Control", "P")
Send {Ü}
Else Send {Ú}
Else If GetKeyState("Control", "P")
Send {ü}
Else Send {ú}
return
RShift & ?::Send {¿}
return
The Freshservice Discovery Agent helps you keep track of your assets by sending details (and updates) about the machine it is installed on. You can use Microsoft Endpoint/Intune to deploy the Discovery Agent in all the computers in your tenant.
Download Discovery Agent
In Freshservice, go to Admin –> Discovery
In the Download Agent section, choose Windows. Click the Download Agent button.
Open Windows Terminal or PowerShell as an Admin. Navigate to the downloaded exe file using cd
Type the command .\IntuneWinAppUtil.exe and press Enter.
Fill in the information requested by the packager:
Please specify the source folder:
Type . to use the current directory. I downloaded my Freshservice msi in a folder on the same level, so my entry would be ../FS
Please specify the setup file:
Enter the location of the Freshservice Discovery Agent msi file. Mine is ../FS/fs-windows-agent-2.7.0.msi
Please specify the output folder:
Type . to use the current directory. I put mine back in ../FS
Do you want to specify catalog folder (Y/N)?
Just type n to continue.
After entering that information, the package will be built in the location you specified.
Create deployment package in Microsoft Endpoint/Intune
Click All apps in the menu and then click on the Add button.
Choose Windows app (Win32) in the dropdown menu for App type and then click the Select button to continue.
In the first page of the wizard, click the link Select app package file. Find the .intunewin package and click the OK button to begin uploading.
Back on the “Add information” tab, put in the required information and click the Next button to continue.
On the “Program” tab, don't change any of the default options. Click the Next button.
On the “Requirements” tab, change the two required options. Click the Next button.
For “Operating system architecture”, select both 32 bit and 64 bit.
For “Minimum operating system”, select the lowest value. In this case, it's Windows 10 1607.
On the “Detection rule” tab, change the “Rules format” dropdown to “Manually configure detection rules.” Click the link to Add a new rule. In the popup pane, change the “Rule type” to “MSI” and the MSI product code should automatically generate the correct number. Click the OK button to continue and then Next.
On the “Dependencies” tab, just leave default and click the Next button.
On the “Assignments” tab, select the groups in the Required category on which you want the Freshservice Discovery tool to be installed. Click the Next button.
On the “Review + create” tab, make sure the options look correct and then click the Create button.
Remain on the page for a few minutes while the package uploads. When it's finished uploading and processing, the assignments will be populated and computers in the group will begin to receive the deployment.