CMAK made Easier…

CMAK Made easy är en samlig för eget bruk av filer för att generera X86 VPN filer på en WIndows 7 x64 maskin.

DO Read the ”README.txt” file for info…
Enjoy !

CMAK

Outlook ….

Ms Outlook Issues, and how to fix em…

Outlook.exe /resetnavpane Fixar: Outlook startar, blinkar till, försvinner och en ruta med text som säger
typ: kan inte visa fönstret sysn.

Printer Drivers x64 …

Post in progress…

Postar här alla ideer om x86 drivers strul som kan hjälpa …

#1 Addera printern på x64 servern med x64 drivers.
#2 Ladda ner x86 drivers, de MÅSTE ha samam namn i INF filen annars vägrar oset addera den som x86 driver för den installerade skrivaren.
#3 Följ detta..

To install an x86 additional driver on a Windows Vista x64 host, you first
need a
running Vista x86 system. On this x86 system, locate the directory
\Windows\System32\DriverStore\FileRepository\ntprint.inf_xxxxx, then copy
all files and sub-directories from ntprint.inf_xxxxx into the same location
as you saved this driver.

If the x64 host asks for the NTPRINT.INF on the Windows Media during the
installation of the additional driver, simply browse to this location and
complete installation.”

when you install the printers let the system scan as needed to work out what it wants and tell it to keep the existing driver (you added them earlier).
when you share the printer, it will automatically have the x86 drivers box ticked and sorted and you just need to tick the box to show the printer in the list directory if you want to – this is under the printer’s sharing tab.

Mr Notes
Hittade 2 ntprint.inf.xxxx mappar på kundens vista 32 bitarsÔǪ

Kopierade bådaÔǪ.. (hittade även 2 på min vista)
Kvarstår å se om dessa fungerar på XP maskinerÔǪ. . .

Drivers:
Drivrutinerna MÅSTE heta 100% samma som ms egna X64 driversÔǪ annars kommer de INTE fungera i
Så vad jag gjorde var att gå in i drivern och döpa om dem i inf filen.


x86 ODBC on x64 …

För att köra 32bitars ODBC driver i en 64bitars maskin så kör denna …..

C:\Windows\SysWOW64\odbcad32.exe

Installing Windows via USB thumbdrive

Format the thumb drive

from a elevatedprompt execute

diskpart

list disk
select disk 1 (assuming disk 1 was your thumb drive in the above list disk command)
clean
create partition primary
select partition 1
active
format fs=fat32 quick
assign
exit

Unpack the ISO,copy the fileson to the newly prepped disk…

xcopy SourceDrive:\*.* /s /e /f DestDrive:\

(Works with WIndows server 2008,R2,Vista,W7 m.m.)

RDS Hickups…

En RDS (2008 R2 TS) användare får plötsligt en ”Temporär” profil… hua.. varför…

Notering: Ofta har denna användares profil krånglat tidigare, och har nu troligen
raderats ov en admin, på samma sätt som man gjorde på 2003 osv.. .dvs man
raderade bort profil filerna under c:\users…

Före 2008 (?) så återskapades profilen automatiskt… men tydligen inte nu…
Resulterar i att denna användare ALLTID komemr få en ”TEMP” profil sammt att en
ny profil map INTE skapas.
En registerpost håller nämligen reda på vilka profiler som tydligen skall finnas…
Leta reda på rätt profil guid och radera den (Profil Namnet står i klartext i undernyckeln)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Group Policy Planning and Deployment Guide

Applying Group Policy to new user and computer accounts….

New user and computer accounts are created in the CN=Users and CN=Computers containers by default.
It is not possible to apply Group Policy directly to these containers, although they inherit GPOs linked to the domain.

To apply Group Policy to the default Users and Computers containers, you must use the new Redirusr.exe and Redircomp.exe tools.
Redirusr.exe for user accounts and Redircomp.exe for computer accounts are two tools that are included with Windows Server 2008.
These tools enable you to change the default location where new user and computer accounts are created, so you can more easily scope GPOs directly to newly created user and computer objects.
These tools are located on servers with the Active Directory Services Role in %windir%\system32.

via Group Policy Planning and Deployment Guide.

Uninstall trendMicro client – scripted

 

Cool

UT.cmd

  For32-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro
For 64-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6232Node\TrendMicroWorryFree7
[HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\UniClient\1600\Misc.]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6232Node\TrendMicro\UniClient\1600\Misc.] (Probably!) 

Worry free 7 – Automatic uninstallation script x86/x64

REQUIRES UAC ELEVATION !!!!!! aka do run as admin….

———————————–
echo Windows Registry Editor Version 5.00 >%temp%\T.reg
if %PROCESSOR_ARCHITECTURE%==x86 echo [HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\UniClient\1600\Misc.] >>%temp%\T.reg
if %PROCESSOR_ARCHITECTURE%==AMD64 echo [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6232Node\TrendMicro\UniClient\1600\Misc.] >>%temp%\T.reg
echo ”NoPwdProtect”=dword:00000000 >>%temp%\T.reg
echo ”Unload_Pwd”= >>%temp%\T.reg
echo ”AllowUninstall”=dword:00000001 >>%temp%\T.reg
echo ”Uninstall_Pwd”=”” >>%temp%\T.reg

regedit /S %temp%\t.reg
msiexec /x {0A07E717-BB5D-4B99-840B-6C5DED52B277} /q /passive

———————————-

uninstall guiden finner man under ”Wolfie” [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall]