Showing posts with label tips. Show all posts
Showing posts with label tips. Show all posts

Wednesday, August 5, 2020

Tips & Tricks: Get you device serial number easily

Serial Code Png & Free Serial Code.png Transparent Images #112509 ...

Ever needed to get your device’s serial number quickly?

Here’s how:

  • Open a elevated command-prompt
  • Type the following command-line:
    wmic bios get SerialNumber
  • And there you go!

Sunday, June 30, 2019

Tips & Tricks – Ready for Windows? Quickly search before you deploy

Need to know if certain app is ready for Windows 10?
And…after that, need to know if that app is compatible with a specific Windows 10 build/version?

Quickly search for that info with Microsoft help with this website:
Microsoft - Ready for Windows

Wednesday, June 26, 2019

Tips & Tricks – Windows version and build number on your desktop

Although not used regularly, this tip is a good one for those running Windows 10 Insider Program builds.
This allows you to keep track of your current Windows 10 build and minor build versions with less effort.

So, to see you Windows 10 version on your desktop follow this steps:

  • Open Registry editor (regedit.exe)
  • Navigate to HKEY_CURRENT_USER\Control Panel\Desktop
  • Look up for “PaintDesktopVersion” value and double-click it
  • Change the value to “1”
  • Reboot your machine

And you’re done.

Just remember that this is a per-user value so, if you login with another user you need to repeat the above steps.

Wednesday, January 16, 2019

Powershell Tips – How to know installed Powershell version

Need to know which version of Powershell you’re using?

As easy as:

  1. Open an elevated Powershell console

  2. Run the follow command:
    $PSVersionTable

  3. You’ll get a complete list of installed versions for each module:

Saturday, January 12, 2019

Troubleshooting GPOs processing with Event Viewer

Here’s a nice article, from Microsoft’s PFE Brandon Wilson, about how to troubleshoot group policy processing, mainly to understand if it’s slowing down the boot and logon process on a Windows machine.

Read the full article here:
TechNet Blogs - Ask PFE Platforms - Is Group Policy Slowing Me Down?

Monday, January 7, 2019

Powershell – Getting device driver version

Here’s a quick tip to get a list of device driver version installed:

  • Open Powershell (as Administrator)
  • Execute the following command:
    Get-WmiObject Win32_PnPSignedDriver | select DeviceName, Manufacturer, DriverVersion

After executing the command, you’lll get something like this, where the third column displays the driver version:
Untitled

Sunday, July 29, 2018

Deployment Tips – Micro Focus / Novell Open Enterprise Client

Just a quick link if you need to deploy Micro Focus (formerly Novell) Client.
It’s a nice and detailed website from Micro Focus on how to silently install, generate response files, etc.

Thumbs up to Micro Focus, would love other big companies do the same.

Novell Client - Understanding the Client Install Manager (nciman.exe)

Sunday, May 13, 2018

Getting Older versions of Visual C++ Redistributable

Did you ever needed a specific version of Microsoft Visual C++ Redistributable to run an application?

I had this issue with VMware Horizon Client 4.7.0 that needed some Visual C++ specific versions to be installed. If not, the installer would install them for me but…rebooted the machine without any kind of warning.

So, thanks to a Jags Blog, we can get the direct links to download a bunch of versions of Visual C++ Redistributable!

Here’s the link:
Microsoft Technet Blogs - Jags Blog - Where can I download Visual C++ Redistributables?

Tips&Tricks – Attention When Changing Windows Defender Firewall Default Log Path

Although nowadays you could (err…should) configure event viewer (or centralized logging) for your Windows Defender Firewall, here’s a tip for something I’ve noticed when changed the default Windows Defender Firewall location.

When applying a GPO to do this, you must keep in mind that MpsSvc service account is responsible to write down the Windows Firewall log, so, if you change the default location (%windir%\System32\LogFiles\Firewall) you need to give it the right NTFS permissions.

So basically what you need to do:

  1. Change the default location for the Windows Firewall log
  2. Go to the new location
  3. Right-click the folder and then Properties
  4. Click the Security tab and Edit
  5. Now, click Add
  6. Make sure that you’ve select the local computer and not the domain (in “Locations…”)
  7. Now type NT Service\MpsSvc and click OK
  8. Make sure MpsSvc has Write Access and click OK again

And…you’re done!

Tips&Tricks – Adobe Reader DC – Disabling Automatic Updates

Here’s a quick tip to completely disable Adobe Reader DC automatic updates.
On this examples, we’ll use a registry configuration for Windows x64 machines:

First things first. There are 3 ways to disable automatic updates. You can choose one of them but…I use all 2 just because we never know if Adobe changes they’re mind about it and one of the ways stops working on next Adobe Reader DC release:

bUpdater

Disables the Updater and removes associated user interface items

Check

Specifies the default time interval in days to check for updates.

Mode

Specifies the Updater’s update mode (manual | automatic)

Now, for the registry keys (that you can apply using Group Policy Preferences for example) here’s what you need:

bUpdater

Path
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\

Value Name
bUpdater

Value Type and Data
REG_DWORD = 0


Mode

Path
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Adobe\Adobe ARM\Legacy\Reader\{AC76BA86-7AD7-1033-7B44-AC0F074E4100}

Value Name
Mode

Value Type and Data
REG_DWORD = 0

Tuesday, December 19, 2017

Tips&Tricks – Opening CMD or Powershell Directly from the Explorer Folder

And here’s a nice tip that at least for me was a nice surprise. I think it only works since Windows 10 but I’ve not tested it yet.

There’s a lot of articles explaining how to tweak Windows so that when you right-click somewhere you can open command-prompt (CMD) or anything else.
For me this is not ideal because I need to use a lot of different computers and it’s more practical to know tips and tricks that work on any computer that is not mine.

So, imagine you’re on a folder using Windows Explorer and you need to open powershell or cmd there.
It’s as easy as write that up in the Explorer’s address bar.

Untitled
And yes…is as simples as that! ;)

Monday, December 11, 2017

Tips & Tricks – Import/Export Windows Firewall Settings Command-Line

Here’s a nice tip for those that for some reason need to configure Windows Firewall (or Windows Defender Firewall on Windows 10).

The recommended way to do this should be using a group policy but because you may have a non-domain joined machine on your network, here’s how to do it.

  1. First of all, configure everything you need in Windows Firewall on a reference machine
  2. Then, open an elevated command-prompt and type the following command:
    netsh advfirewall export “C:\Temp\WindowsFirewallRules.wfw”

    advfirewall01
  3. Now that you have the file, you can import it to any machine using the following command:
    netsh advfirewall import “C:\Temp\WindowsFirewallRules.wfw”

    advfirewall02

If for any reason you need to reset firewall rules to default values just type:
netsh advfirewall reset



Wednesday, November 15, 2017

Tips&Tricks – Extracting MSI from Adobe Acrobat Reader DC

It’s been a while since Adobe stopped to distributing directly the msi files to install Adobe Acrobat Reader DC, but there’s a really easy way to extract it from the exe file.

Here’s a command-line example for the latest version 18.009.20044:

  1. Download the *.exe as usual from the Adobe Acrobat Reader DC Distribution website
  2. Now open an elevated command-prompt and navigate to where o saved the download file
  3. Run the following command-line: AcroRdrDC1800920044_en_US.exe –sfx_o”C:\Temp\Adobe” –sfx_ne

(“C:\Temp\Adobe” should be replace for your preferred location)

And you’re done.

Friday, November 3, 2017

Tips & Tricks – IE11 Enterprise Mode – Forcing to Update Websites List

Sometimes you need to do a quick change to your IE11 Enterprise Mode site list and you also need to quickly test this change.

To force the update of websites list just do the following:

  1. Do you changes using the Enterprise Mode Site List Manager
  2. On your target machine, close all Internet Explorer instances
  3. Open registry editor (regedit.exe)
  4. Navigate to HKEY_CURRENT_USER\Software\Microsoft\InternetExplorer\Main\EnterpriseMode
  5. Delete the entry called “CurrentVersion
  6. Open Internet Explorer again
  7. Done!

Wednesday, November 1, 2017

Deploy Tips&Tricks – Removing Superseded Components After Base Image Creation

If you’re creating a base or golden image with a lot of updates, it’s good to cleanup superseded components before saving your new wim file.

Here’s a simple way using DISM command line tool:

  1. Just before finish your image (on a task sequence for example)
  2. Run the following command: DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase

This will cleanup the superseded components.
Just be aware that after running the DISM command all existing service packs or updates cannot be uninstalled.

For a complete list of available commands and options just type this on an elevated prompt:
DISM /Online /Cleanup-Image /?

Sunday, October 15, 2017

Tips&Tricks – Adobe Software – New Releases RSS Feeds

You’re a SysAdmin and need a way to always be up-to-date with new releases of Adobe Reader and Adobe Flash Player?

Just subscribe to this 2 RSS feeds:

Adobe Reader Releases

Adobe Flash Player Releases

Tuesday, September 12, 2017

Powershell Tips – Get Users and Group from a GPO Security Filtering

image

Using security filtering on GPOs it’s a nice way to apply a GPO to specific groups or users.
But you may find yourself a little bit lost if you need to know every user or group you have configured.

Since Group Policy Management doesn’t allow you to export the users and groups, you’ll need to use a Powershell command to do it.

Here’s how:
Get-GPPermission Name ‘GPO NAME’ -All | Where Permission –eq GpoApply

And…you’re done!

Tuesday, July 18, 2017

Tips and Tricks – Outlook – Determine folder path for an email on search results

So…you’re proud ‘cause you have all your emails well organized in Outlook.

Sometimes it happens that with all that organized email structure you find yourself well…lost.
Then you search for other email with same subject, you find a lot of them but still don’t know which folder they’re in.

Here’s a quick tip!

Search the subject, select the email and use the keyboard shortcut “Alt+Enter” to get the folder they’re in!

The old Properties dialog still holds some useful information.

Hope this saves you some time!

Monday, May 8, 2017

Enabling Group Policy Preferences Logging

Group Policy Preferences (GPP) are available since Windows 2008 / Windows 7 and they extend the expand the range of configurable setting within Group Policy Objects (GPO).

Although they provice a better targeting through item-level targeting and action modes, theres something not so good when you need to troubleshoot them.

Instead a quick look in the event viewer for example, you’ll need to enable GPP logging through GPO settings.

To do so, use the following steps:

  • Open Group Policy Management Console (GPMC)
  • Navigate to Computer Configuration\Policies\Administrative Templates\System\Group Policy
  • There you have Logging and Tracing folder
  • Configure as desired and restart machine

Inside this folder you’ll get everything you can trace.
You can set what to trace (ex.: Warnings and Errors), where to save the debug logs, maximum log size, etc.