MSI, App-V, SCCM, Appsense, Citrix. This blog contains hints and tips on these technologies. Primarily it is an online notebook of items that I may need to refer to in the future, or things I constantly forget!
Wednesday, March 9, 2016
TEMP Profile
Issue: A user continually logs in and is forced to use c:\users\temp instead of the correctly named folder
Workaround: Note the users SID (set user) and logoff. Delete the following registry keys.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<USERSID>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<USERSID>.bak
The above can occur if a users profile folder is deleted manually instead of using the profile deletion interface in the computer properties.
CorelDRAW x6
Crashes when App-V package is use with client v5.1.86.0, however the CorelDRW.exe can be run if the exe is double clicked from it location under C:\ProgramData\App-V
It was also possible to resolve by changing the target folder tag in the XML to
%ALLUSERSPROFILE%\App-V\<PackageGUID>\<VersionGUID\Root\VFS\ProgramFilesX64\Corel\CorelDRAW Graphics Suite X6\Programs64\CorelDRW.exe
The issue was fixed in 5.1HF2
To create a CorelDRAW x6 admin point.
Download the patches from
http://howto.corel.com/en/c/CorelDRAW_and_Corel_DESIGNER_-_Patches_and_Updates
This makes a 2GB
slipstreamed admin point to install from
Run Setup.exe /a and
create an adminpoint install
Run
CDGSX6Update4.exe /a and point to the adminpoint created above
Run
CDGSX6Update4_HF1.exe /a and point to the adminpoint created above
Monday, February 29, 2016
Prevent Virtual machines falling off the domain.
Virtualised domain machines may have snapshots which can be a problem after the machine is forced to change it's domain password; usually after 30 days. This is forced by group policy which is nearly always very difficult to get modified.
Check the password age setting here
Key = HKLM\SYSTEM\CurrentControlSet\Services\NetLogon\Parameters
Value = MaximumPasswordAge REG_DWORD
The controlling policy is
Computer Configuration\windows Settings\Security settings\Local Policies\Security Options
Domain Member: Maximum Machine Account Password Age.
If a machine automatically changes its domain account password and is then reverted to an earlier snapshot then the message
The trust relationship between this workstation and the primary domain failed
appears and it can be a mission to get this sorted out. Logging on as local admin, switching to workstation reboot, switching to domain entering an authorised domain user account and password for adding machines to the domain etc etc.
Avoid the pain by remembering to force the password change before 30 days and saving a new snapshot. This command forces a machine domain account password change.
nltest /sc_change_pwd:<yourdomain>
Check the password age setting here
Key = HKLM\SYSTEM\CurrentControlSet\Services\NetLogon\Parameters
Value = MaximumPasswordAge REG_DWORD
The controlling policy is
Computer Configuration\windows Settings\Security settings\Local Policies\Security Options
Domain Member: Maximum Machine Account Password Age.
If a machine automatically changes its domain account password and is then reverted to an earlier snapshot then the message
The trust relationship between this workstation and the primary domain failed
appears and it can be a mission to get this sorted out. Logging on as local admin, switching to workstation reboot, switching to domain entering an authorised domain user account and password for adding machines to the domain etc etc.
Avoid the pain by remembering to force the password change before 30 days and saving a new snapshot. This command forces a machine domain account password change.
nltest /sc_change_pwd:<yourdomain>
Sunday, February 28, 2016
Changing Network Type Public Private Work
The network type of a configured connection can be changed in the local policy editor.
Run GPEDIT.MSC
Go to Computer Configuration > Windows Settings > Security Settings > Network List Manager Policies
Right Click Show All
Right Click the Network to edit
Click the Network Location Tab and change the Location.
"Home" editions may not have policy editors available
This page describes how Windows 8 home can have the network type changed.
https://www.tekrevue.com/tip/change-network-location-windows-8/
Tuesday, February 23, 2016
Firefox >v38 in App-V 5
An internal webapp was not performing well within the primary (IE) or standard secondary browser (Firefox).
By creating a separate custom profile and launching the App-V isolated Firefox the webapp can be completely isolated and launch in its own session and profile.
-no-remote -new-instance -P "CustomProfileName" http://urlserver/folder/page.htm
Thursday, January 7, 2016
Registry Font value can cause odd effects
If this key is changed for any reason some applications may no longer display dialog boxes correctly.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes\MS Shell Dlg REG_SZ Microsoft Sans Serif
For example if the key is changed to this value and machine rebooted
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes\MS Shell Dlg REG_SZ Tahoma
Paint then has a problem with its edit colors dialog box. The Red, Green and Blue box can no longer have 3 numerals entered into them. Only 2 can be entered.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes\MS Shell Dlg REG_SZ Microsoft Sans Serif
For example if the key is changed to this value and machine rebooted
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes\MS Shell Dlg REG_SZ Tahoma
Paint then has a problem with its edit colors dialog box. The Red, Green and Blue box can no longer have 3 numerals entered into them. Only 2 can be entered.
Thursday, December 31, 2015
Fujitsu / PFU LIMITED PaperStream IP / Scanner Issues.
The scanner driver installation found at
http://www.fujitsu.com/global/support/products/computing/peripheral/scanners/fi/software/ps-ip-twain32.html
can encounter significant problems in certain situations.
Install Issues
Ensure the programs that are set in the HKLM run keys can run correctly. If they are not properly initialised for any reason then the Adobe Acrobat Scanning functionality can be impacted.
USB Port Connection Issues
The scanners do not behave as expected if they are not presented to exactly the same USB port as the scanner was originally connected to. If the scanner is unplugged and plugged into a different USB port it will not function as expected. The correct port can be found by trying each port in sequence. Do not rely on the appearance of the device in the Devices and Printers windows. It may appear as a device, but not function on all ports except the original port.
Below is the relevant passage from a forum post here which explains why this occurs.
“This is a known "feature" of Windows. Unless the device contains an unique ID string
(aka "USB serial number") Windows can't tell that it is same device in a different usb port.
Fujitsu just slashed few cents on manufacturing by not providing this ID.”
The documentation directs users to install the software, reboot and then connect the scanner. However, testing has shown that the scanner comes online correctly, without a reboot, even if it is ON and connected during the installation.
http://www.fujitsu.com/global/support/products/computing/peripheral/scanners/fi/software/ps-ip-twain32.html
can encounter significant problems in certain situations.
Install Issues
Ensure the programs that are set in the HKLM run keys can run correctly. If they are not properly initialised for any reason then the Adobe Acrobat Scanning functionality can be impacted.
USB Port Connection Issues
The scanners do not behave as expected if they are not presented to exactly the same USB port as the scanner was originally connected to. If the scanner is unplugged and plugged into a different USB port it will not function as expected. The correct port can be found by trying each port in sequence. Do not rely on the appearance of the device in the Devices and Printers windows. It may appear as a device, but not function on all ports except the original port.
Below is the relevant passage from a forum post here which explains why this occurs.
“This is a known "feature" of Windows. Unless the device contains an unique ID string
(aka "USB serial number") Windows can't tell that it is same device in a different usb port.
Fujitsu just slashed few cents on manufacturing by not providing this ID.”
The documentation directs users to install the software, reboot and then connect the scanner. However, testing has shown that the scanner comes online correctly, without a reboot, even if it is ON and connected during the installation.
Subscribe to:
Posts (Atom)