AlteredAdmin / Recent content on AlteredAdmin Hugo -- gohugo.io en-us Sun, 22 Aug 2021 12:39:00 -0400 Python - Download Media From a Reddit User /posts/python-download-media-from-a-reddit-user/ Sun, 22 Aug 2021 12:39:00 -0400 /posts/python-download-media-from-a-reddit-user/ The below python script will download media from a reddit users account. You will need to set up a reddit client_id='', client_secret='', google can assist you with setting that up. OSINT Tool Box /pages/osint-tool-box/ Sun, 22 Aug 2021 10:52:47 -0400 /pages/osint-tool-box/ Useful List of Tools and Links H2 H3 name - Description Python - Download Media From Subreddit /posts/python-download-media-from-subreddit/ Sun, 22 Aug 2021 10:37:57 -0400 /posts/python-download-media-from-subreddit/ The below python script will download media from subreddits, it can be useful for downloading all the wallpapers posted to r/wallpapers. You will need to set up a reddit client_id='', client_secret='', google can assist you with setting that up. Python - Print Tables with Python and CSVs /posts/python-print_tables_with_python_and_csvs/ Sun, 08 Aug 2021 11:42:11 -0400 /posts/python-print_tables_with_python_and_csvs/ One can use prettytable module to print out table in ASCII. You can read more about prettytable with the below link and installation instructions https://pypi.org/project/prettytable/ See below Gist for a quick way to get started reading a CSV file. Add CMtrace to System32 Folder with SCCM /posts/add-cmtrace-to-system32-folder/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/add-cmtrace-to-system32-folder/ This is the method i use to make sure every machine has Cmtrace. Cmtrace is a tool to read log files, very handy when troubleshooting SCCM logs, or any other logs for that matter. You can read more about CMtrace here: Configuration Manager Tools - CMTrace I use the application model to install during operating system deployment (OSD). And i also create a deployment to All workstations to make sure its installed incase a user removes it. Copy Files to a user's Desktop Using MSI installer /posts/copy-files-to-a-users-desktop-using-msi-installer/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/copy-files-to-a-users-desktop-using-msi-installer/ Scenario You don’t want to use UEM/DEM, and you want files made avaibile to the user when they sign in. Or you have some files you need to get out to endpoints and don’t want to write a script to copy the files from the SCCM cache to the location. Sometimes you have to do things outside ofthe box. However these file don’t install they just need to be copied to a directory, such as the default/public desktop. Create Barcode With Excel and Dymo Label Maker Software /posts/create-barcode-with-excel-and-dymo-label-maker-software/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/create-barcode-with-excel-and-dymo-label-maker-software/ For our environment we needed a inexpensive way to print barcodes, that was not tied to unique licensed software. our current barcodes are using code 39 format. what we decided to try to use a Dymo Label Printer LabelWriter 450 Direct Thermal Label Printer And we fond labels that where not far off from our current size. DYMO LW Multi-Purpose Labels for LabelWriter Label Printers, White, 1'' x 2-1/8'', 1 roll of 500 (30336) Enable secure boot on Dell computers /posts/sccm-enable-secure-boot-on-dell-computers/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/sccm-enable-secure-boot-on-dell-computers/ Intro With Windows 11 Coming soon, one of the requirements is that secure boot needs to be enabled. This is how you can use Dell command configure to enabled secure boot in the BIOS using SCCM. Download Download Dell Command | Configure Create packaged Open Dell Command | Configure Create and create a Multiplatform Package. Set the below settings for secure boot. I know you may be tempted to set other Bios settings as well. Feature Update Windows 10 Using SCCM Application Model /posts/feature-update-windows-10-using-sccm-application-model/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/feature-update-windows-10-using-sccm-application-model/ This is not officially support by Microsoft Your probably wondering, why would you deploy windows 10 using the application model? why not use the feature update in SCCM? Well that would worked for still in service versions of windows 10 however if you are running an older version of windows 10, and deploy this feature update, SCCM can mark it as compliant and never install the Feature update. like wise why not use the upgrade task sequence? How to Install Font Files With SCCM and Command Line /posts/how-to-install-font-files-with-sccm-and-command-line/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/how-to-install-font-files-with-sccm-and-command-line/ Scenario I was tasked with remoting installing a font on thousands on endpoints. I thought this should be easy, as surly their is a command line way to do this. I was wrong…. There was a command line tool to install font files from the command however it was deprecated and removed. However you are not stuck with making API calls in user context to get the Font file installed. How to Truly Speed Up Windows Login Time with one Registry entry /posts/how-to-truly-speed-up-windows-login-time/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/how-to-truly-speed-up-windows-login-time/ This was discovered when i was looking for a way to speed up login times for windows 10. We already looked removing the universal apps that ship with windows 10, and a few other tricks here or there to get log in time to down from 1:20 to 30 - 50 seconds. still that is good from what i have read online. however while we was implementing VMware Horizon i wondered if the log in time could be decreased even further. How to Update Dell Drivers and BIOS During SCCM OSD /posts/how-to-update-dell-drivers-and-bios-during-sccm-osd/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/how-to-update-dell-drivers-and-bios-during-sccm-osd/ Download Dell command update & XML file & create Packages: Download Dell Command Update Do not download the Universal Windows Platform version Copy it to your SCCM Source content along with the below XML file. Keep in mind this file may need to be regenerated if its too old. You will need to create an Application for Dell Command Update. You can ether import the .exe you get from dell or extract the . JAMF - Install Autodesk Maya 2020 /posts/jamf-install-autodesk-maya-2020/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/jamf-install-autodesk-maya-2020/ In this case I’m using JAMF, and putting the extracting the files to the administrator desktop. You will need to prestage the files on the computer. You can use Composer to create a DMG or PKG to extract the files on the endpoint. sudo "/Users/administrator/prestage_files/Autodesk/InstallMaya2020.app/Contents/Helper/Setup.app/Contents/MacOS/Setup" -i deploy --silent -o "/Users/administrator/prestage_files/Autodesk/InstallMaya2020.app/Contents/Helper/manifest/deployment_maya.xml" You can right Click on the package to show contents and edit the deployment_maya.xml, to inlcude your server info. For more information see Basic Maya network deployment JAMF - Location of Jamf.log /posts/jamf-location-of-jamf.log/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/jamf-location-of-jamf.log/ Because for some reason i can never remember. Look in /private/var/log for jamf.log MacOS Uninstall AdobeCC Script /posts/macos-uninstall-adobecc-script/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/macos-uninstall-adobecc-script/ Intro This script will run the uninstall for each Adobe Application called in the below script. This script can be added to Jamf or other MDM to uninstall old Adobe CC applications. script SCCM - Create Device Collection From Active Directory OU /posts/sccm-create-device-collection-from-active-directory-ou/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/sccm-create-device-collection-from-active-directory-ou/ This is one is easy, Create a Device Collection in SCCM. Add A Query Rule using the below. select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System Where SMS_R_System.SystemOUName like '%Company.ORG/Company Computers/AnotherOU/NORTH%' SCCM - Use SCCM & Application Model to Copy Files to an Endpoint /posts/use-sccm-application-model-to-copy-files-to-an-endpoint/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/use-sccm-application-model-to-copy-files-to-an-endpoint/ Lets say you need to copy files to a location on the endpoint. that can be done using the SCCM application model in SCCM. this way you can confirm that the file and/or folders are on the endpoint at the end. One can do this Via PowerShell or batch file. I like to run the below command from a batch file, In the application i added the Batch file to the installation Program, this way i can add more commands to the process is needed. SCCM - Use SCCM Baselines to Detect Office Installation Version and Bitness /posts/use-sccm-baselines-to-detect-office-installation-version-and-bitness/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/use-sccm-baselines-to-detect-office-installation-version-and-bitness/ Scenario You have a mix bag of Office 2019 and Office 2016 installs some are 32 or 64bit. You need to create a Device collections in SCCM that reflects what machines have which office version installed and what bitness as well. What i tried: My first instinct was to create a device collection using a combination of the below queries: select distinct SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS. SCCM OSD Set OU Name via .VBS /posts/sccm-osd-set-ou-name-via-vbs/ Sat, 17 Jul 2021 14:37:19 -0400 /posts/sccm-osd-set-ou-name-via-vbs/ Overview This script will set AD OUs during OSD Based off starting characters for the computer name. Its set to check the first character for the computer name, however this can changed to a higher count by changing the sComputerName Variable. Script SCCM Setup You will need to create a package in SCCM, this package will be called later in the task sequence. In the task sequence click add -> Run Command Line Check Package: (Select your package you created). Sysadmin Tool Box /pages/tool-box/ Thu, 15 Jul 2021 16:18:58 -0400 /pages/tool-box/ Useful List of Tools and Links Dell Dell command Dell Command Update - Download Dell Command Update and read release notes and specifications. Dell Command | Configure - Dell Command Configure is a packaged software application that provides configuration capability to business client platforms. Dell drivers Dell Command | Deploy Driver Packs for Enterprise Client OS Deployment - Article on Driver Packs for Enterprise Client WYSE Wyse Management Suite Wyse 5470 All-In-One Microsoft SCCM Right CLick tools - Productivity extension for Microsoft Configuration Manager. Hello World /posts/hello_world/ Fri, 09 Jul 2021 22:25:08 -0400 /posts/hello_world/ Hello world!