VitalSource Bookshelf – 8.2.22.0 AppxBundle

email me

Download

I have uploaded the AppxBundle here (great for creating an offline installer or importing into SCCM):

https://eddiejackson.net/apps/bookshelf/VitalSourceTechnologiesIn.VitalSourceBookshelf_8.2.22.0_neutral___wasrd15zsyawm.AppxBundle

* I capture the filestream URL from the Windows Store. That’s how I can download the appx bundles. 

 

Contents of AppxBundle

AppxBlockMap.xml
AppxMetadata
AppxSignature.p7x
Bookshelf_8.2.22.0_language-ar.appx
Bookshelf_8.2.22.0_language-bg.appx
Bookshelf_8.2.22.0_language-ca.appx
Bookshelf_8.2.22.0_language-cs.appx
Bookshelf_8.2.22.0_language-cy.appx
Bookshelf_8.2.22.0_language-da.appx
Bookshelf_8.2.22.0_language-de.appx
Bookshelf_8.2.22.0_language-el.appx
Bookshelf_8.2.22.0_language-es.appx
Bookshelf_8.2.22.0_language-fi.appx
Bookshelf_8.2.22.0_language-fr.appx
Bookshelf_8.2.22.0_language-ga.appx
Bookshelf_8.2.22.0_language-he.appx
Bookshelf_8.2.22.0_language-hi.appx
Bookshelf_8.2.22.0_language-hu.appx
Bookshelf_8.2.22.0_language-is.appx
Bookshelf_8.2.22.0_language-it.appx
Bookshelf_8.2.22.0_language-ja.appx
Bookshelf_8.2.22.0_language-ko.appx
Bookshelf_8.2.22.0_language-nb.appx
Bookshelf_8.2.22.0_language-nl.appx
Bookshelf_8.2.22.0_language-pl.appx
Bookshelf_8.2.22.0_language-pt.appx
Bookshelf_8.2.22.0_language-ro.appx
Bookshelf_8.2.22.0_language-ru.appx
Bookshelf_8.2.22.0_language-sv.appx
Bookshelf_8.2.22.0_language-th.appx
Bookshelf_8.2.22.0_language-tr.appx
Bookshelf_8.2.22.0_language-vi.appx
Bookshelf_8.2.22.0_language-zh-hans.appx
Bookshelf_8.2.22.0_language-zh-hant.appx
Bookshelf_8.2.22.0_scale-100.appx
Bookshelf_8.2.22.0_scale-125.appx
Bookshelf_8.2.22.0_scale-150.appx
Bookshelf_8.2.22.0_scale-400.appx
Bookshelf_8.2.22.0_x64.appx
[Content_Types].xml
AppxMetadata\AppxBundleManifest.xml


Notes

C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -noprofile -command “Add-AppxPackage -Path setup.appx”

 

tags: MrNetTek

C# – Turn Off Computer Screen

email me

Tested in Visual Studio Community 2017.

Create new project > Select Windows Form App (.NET Framework) > Drag button to form > Add code to Form1.cs > Compile & Run

using System.Runtime.InteropServices;

public int WM_SYSCOMMAND = 0x0112;
public int SC_MONITORPOWER = 0xF170;

[DllImport("user32.dll")]
private static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);

private void button1_Click(object sender, System.EventArgs e)
{

SendMessage( this.Handle.ToInt32(), WM_SYSCOMMAND, SC_MONITORPOWER, 2 );
}


Output

 


Notes

On -1

Off 2

Standby 1

 

tags: form, button, MrNetTek

Batch – Turn Off Computer Screen

email me

This command turns off the computer screen. Tested on a desktop and laptop.

powershell.exe -Command “(Add-Type ‘[DllImport(\”user32.dll\”)]public static extern int SendMessage(int hWnd,int hMsg,int wParam,int lParam);’ -Name a -Pas)::SendMessage(-1,0×0112,0xF170,2)”


Notes

https://social.msdn.microsoft.com/Forums/vstudio/en-US/1bfde62b-fb86-4c63-88b5-a80c87a1ba9f/how-to-correctly-turn-off-monitor-power?forum=csharpgeneral

https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms704147(v=vs.85)

nircmd.exe cmdwait 1000 monitor off

tags: MrNetTek

SCCM – Agent Will Not Update Client Actions

email me

Many things can cause missing Action functions (like corrupted SMS WMI and network account issues), but…something that may be overlooked is network meter. That’s right, a metered connection will often render unusual, anomalous results with the Software Center and CM agent, depending on how you have the agent configured for users.

You’ll notice, the Client Actions will not update (however, the C:\Windows\ccmsetup\logs\ccmsetup.log will say successfully installed):

 

Checking logs in the C:\Windows\CCM\Logs folder, you’ll see warnings and errors referring to metered network:

 

The fix is to disable metering on the current network connection (which will often be a wireless connection).

Restart computer or the ccmexec service. Monitor the Actions using the CM applet in Control Panel, or navigate to C:\Windows\CCM\Logs and watch logs appear.


Notes

Metered connection settings are stored here

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost

Value 1 = not metered
Value 2 = metered

 

tags: Access metered connection, fix media cost, MrNetTek

Google Chrome – 75.0.3770.80

email me

New Chrome browser is available here:

https://enterprise.google.com/intl/en_version/chrome/chrome-browser/ mirror

 

Size

56.4 MB


Silent Install

setup.msi /quiet /norestart


Silent Uninstall

msiexec /x{E9C2D426-767C-3B4A-AB86-269970F16716} /qn /norestart


MSI Property Table

UpgradeCode                                 {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
AllowDowngradeSubstitution     false
ALLUSERS                                       1
ARPPRODUCTICON                       icon.ico
ARPNOMODIFY                              1
Manufacturer                                 Google LLC
ProductCode                                  {E9C2D426-767C-3B4A-AB86-269970F16716}
ProductLanguage                          1033
ProductName                                 Google Chrome
ProductVersion                               67.174.32848
SecureCustomProperties              NEWPRODUCTFOUND;UPGRADEFOUND

 

Notes

Release Notes v75

Chrome Platform Status

Chrome All Features

Admin Insider: What’s new in Chrome Enterprise, Release v75

Chrome Scrubber

 

tags: MrNetTek

Mac – Error logging into App Store – AMD-Action:authenticate:SP

email me

I came across this error when trying to upgrade from El Capitan to Sierra (setting up a very specific dev environment). Method 1 resolved my issue.


Method 1 (dual authentication issue)

Download something from the app store (a small app) and authenticate.
Try downloading the larger app/OS file now.


Method 2 (date issue)

Command + R at Mac startup to enter Recovery Mode
Utilities > Terminal

date mmddHHMMyy (Pacific Time)
csrutil enable
csrutil clear

Reboot and try downloading the larger app/OS file now.


Method 3 (privilege issue)

Change permission for the Users Shared folder

sudo -s
cd /Users
ls -al
rm Shared
mkdir Shared
chown root Shared
chgrp staff Shared
chmod 775 Shared

Try downloading the larger app/OS file now.

 

tags: MrNetTek

Windows 10 Environment Variables

see Windows Category
 

VARIABLE DETAILS
%ALLUSERSPROFILE% C:\ProgramData
%APPDATA% C:\Users\%username%\AppData\Roaming
%COMMONPROGRAMFILES% C:\Program Files\Common Files
%COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files
%CommonProgramW6432% C:\Program Files\Common Files
%COMSPEC% C:\Windows\System32\cmd.exe
%HOMEDRIVE% C:\
%HOMEPATH% C:\Users\%username%
%LOCALAPPDATA% C:\Users\%username%\AppData\Local
%LOGONSERVER% \\domain logon server
%PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
%PathExt% .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc
%PROGRAMDATA% C:\ProgramData
%PROGRAMFILES% C:\Program Files
%ProgramW6432% C:\Program Files
%PROGRAMFILES(X86)% C:\Program Files (x86)
%PROMPT% $P$G
%SystemDrive% C:
%SystemRoot% C:\Windows
%TEMP% C:\Users\%username%\AppData\Local\Temp
%TMP% C:\Users\%username%\AppData\Local\Temp
%USERDOMAIN%  user domain
%USERNAME% user name
%USERPROFILE% C:\Users\%username%
%WINDIR% C:\Windows
%PUBLIC% C:\Users\Public
%PSModulePath% %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\


Notes

https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-recognized-environment-variables

 

tags: Environmental variables, path, MrNetTek