I needed to convert a bunch of Word files to pdf. I found this visual basic code that basically opens all files one after another in Word and saves a pdf version.
'Convert .doc or .docx to .pdf files via Send To menu
Set fso = CreateObject("Scripting.FileSystemObject")
For i= 0 To WScript.Arguments.Count -1
docPath = WScript.Arguments(i)
docPath = fso.GetAbsolutePathName(docPath)
If LCase(Right(docPath, 4)) = ".doc" Or LCase(Right(docPath, 5)) = ".docx" Then
Set objWord = CreateObject("Word.Application")
pdfPath = fso.GetParentFolderName(docPath) & "\" & _
fso.GetBaseName(docpath) & ".pdf"
objWord.Visible = False
Set objDoc = objWord.documents.open(docPath)
objDoc.saveas pdfPath, 17
Just save it as a vbs somewhere and add a ahortcut to the context menu.
If you want to elevate a powershell to execute a script with admininstrator priviliges, I found this code snippet useful. Used as the first line in your script, it elevates the powershell and triggers a UAC prompt. The rest of the script then gets passed on to the elevated powershell instance.
This will load the tool and open it in a separate window. The tool itself can be loaded from it’s GitHub page, where additional information is available. Windows 10 Debloater is free software licensed under the MIT License (Copyright (c) 2017 Richard Newton)
There is also another freeware tool by O&O Software, O&O ShutUp10, which you can use additionally to debloat Windows 10. It has got some nice toggle switches and predefined recommended settings. Custom preferences can be saved to a file. Additionally, after an Update, ShutUp10 can check if anything got changed back by windows update and correct this.
Here are the links to Chris Titus’ website with additional information worth a read:
I don’t put tape over my webcams, neither on my MacBooks, iOS Devices nor on my Windows machines. I refuse to be like that. If someone was honestly suspecting a malicious attacker would spy on them using their webcam, then I would argue that these people, if they were consistent, would also need to rip out the microphones of their devices. On the other hand, I’m not that naive to think that there is no risk involved using such input devices.