From 0c0812bf93ab73acdadf5301098898d63577d903 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 21 Oct 2018 10:50:11 +0300 Subject: Added some notes. --- .../Notes/Tango.Notes/PPC/Remote Debugging.txt | 17 +++++++++++++++++ Software/Visual_Studio/Notes/Tango.Notes/PPC/Touch.txt | 14 ++++++++++++++ .../Notes/Tango.Notes/PPC/Windows 10 LTSB.txt | 11 +++++++++++ 3 files changed, 42 insertions(+) create mode 100644 Software/Visual_Studio/Notes/Tango.Notes/PPC/Remote Debugging.txt create mode 100644 Software/Visual_Studio/Notes/Tango.Notes/PPC/Touch.txt create mode 100644 Software/Visual_Studio/Notes/Tango.Notes/PPC/Windows 10 LTSB.txt (limited to 'Software/Visual_Studio/Notes/Tango.Notes/PPC') diff --git a/Software/Visual_Studio/Notes/Tango.Notes/PPC/Remote Debugging.txt b/Software/Visual_Studio/Notes/Tango.Notes/PPC/Remote Debugging.txt new file mode 100644 index 000000000..a7d1ef40a --- /dev/null +++ b/Software/Visual_Studio/Notes/Tango.Notes/PPC/Remote Debugging.txt @@ -0,0 +1,17 @@ +To use PsExec on a Windows 10 remote machine we need to apply a registry patch: + +1. Open RegEdit on your remote server +2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System +3. Add a new DWORD value called LocalAccountTokenFilterPolicy +4. Set its value to 1 + +Example Usage: + +-> User Name +-> Password +-> HostName +-> Absolute/relative file path. +-> '-d' means don't wait for the process to exit. (Not sure it is working) +-> '-accepteula' means suppress the license dialog. + +psexec -u panel-pc -p Aa123456 -i \\panel-pc "\\Twine01\data\Roy BACKUP\Debug\PanelTest.exe" -d -accepteula \ No newline at end of file diff --git a/Software/Visual_Studio/Notes/Tango.Notes/PPC/Touch.txt b/Software/Visual_Studio/Notes/Tango.Notes/PPC/Touch.txt new file mode 100644 index 000000000..ba8eb01ed --- /dev/null +++ b/Software/Visual_Studio/Notes/Tango.Notes/PPC/Touch.txt @@ -0,0 +1,14 @@ +There are several useful registry settings for the Touch Wisp component. + +CURRENT_USER\SOFTWARE\MICROSOFT\Wisp\Touch + +If we are working on .NET 4.7 & Windows 10 +We can take advantage of the new touch engine (Not Wisp). + +To enable the new touch engine on a WPF application, add the following to the app.config. + + + + + + \ No newline at end of file diff --git a/Software/Visual_Studio/Notes/Tango.Notes/PPC/Windows 10 LTSB.txt b/Software/Visual_Studio/Notes/Tango.Notes/PPC/Windows 10 LTSB.txt new file mode 100644 index 000000000..32baf50d9 --- /dev/null +++ b/Software/Visual_Studio/Notes/Tango.Notes/PPC/Windows 10 LTSB.txt @@ -0,0 +1,11 @@ +*Create ISO From OS installation folder (needs to place the custom install.wim first) +oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,bD:\Win10LTSB\ISO_Files\boot\etfsboot.com#pEF,e,bD:\Win10LTSB\ISO_Files\efi\microsoft\boot\efisys.bin D:\Win10LTSB\ISO_Files D:\Win10LTSB\Custom.iso + +*Merge VMWare disk to single file +vmware-vdiskmanager.exe -r "D:\Virtual Machines\VMWare\Windows 10 Pro x64\Windows 10 Pro x64-000001.vmdk" -t 0 "D:\Virtual Machines\VMWare\Windows 10 Pro x64\merged.vmdk" + +*Convert install.esd to install.wim +dism /export-image /SourceImageFile:install.esd /SourceIndex:6 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity + +*Create install.wim from sysprep windows partition +dism /Capture-Image /ImageFile:D:\install.wim /CaptureDir:F:\ /name:"W10PRO" /compress:maximum /checkintegrity /verify /bootable \ No newline at end of file -- cgit v1.3.1