Thursday, 7 October 2010

How to install HP Quick Launch Button Application and Driver silently via MDT

1. Download the driver pack from HP, the version I used is SP44777.exe
2. Extract the package to a folder, e.g : C:HPQLBD
3. Run CMD and CD to C:HPQLBD
3. Run setup.exe -r -f1"c:setup.iss" and install the application as you wish
4. Uninstall the application if you don't need on your work computer.
5. Copy the newly generated C:setup.iss file to C:HPQLBD folder, confirm to overwrite the old one.
6. Compress the folder with WinRAR
7. Open the .RAR file with WinRAR and select ToolsConvert Archive to SFX
8. Select Advanced SFX Options
9. Write setup.exe -s to Run after extraction section
2009-10-07 16.00-01
10.Modes TAB : Select Unpack to temporary folder box, and Hide all button.
11.Select OK, and close Winrar.
2009-10-07 16.04-02
12.Ready, create the application on MDT , use just your sfx rar package name as silent installation command.
2009-10-07 16.00-01

Sunday, 15 August 2010

SMS/SCCM de Notebooklari filtrelemek

Merhaba, uzerinde calistigim deployment projesinde az once ihtiyacim olunca buldugum bilgileri sizlerle paylasmak istedim, yeni kurulmus tum sistemlerin icinde diz ustu bilgisayarlari filtreleyip yeni bir collection yaratma ihtiyacim dogdu VPN clientlari otomatik yayabilmek icin, bunun icinde mevcut collection icinde kasa tipine gore filtrelemek aklima geldi, ancak SMS/SCCM de System Enclosure altindaki Chassis Type lar isimleri ile degilde asagidaki sekilde degerleri karsiligi rakamlar ile belirtildiginden degerlerin neye denk geldigini bulmam gerekti dogal olarak, burada bulunan degerler icin Microsoft'un hazirladigi listeye Identifying the Chassis Type of a Computer adresinden ulasabilirsiniz, nedir bilmiyorum ama listede Pizza Box, Lunch Box gibi degisik tiplere de rastlamak mumkun :) .

Degeri Tipi
1 Other
2 Unknown
3 Desktop
4 Low Profile Desktop
5 Pizza Box
6 Mini Tower
7 Tower
8 Portable
9 Laptop
10 Notebook
11 Hand Held
12 Docking Station
13 All in One
14 Sub Notebook
15 Space-Saving
16 Lunch Box
17 Main System Chassis
18 Expansion Chassis
19 Sub Chassis
20 Bus Expansion Chassis
21 Peripheral Chassis
22 Storage Chassis
23 Rack Mount Chassis
24 Sealed-Case PC

NotebooksFilter-1

Monday, 5 July 2010

Script ile DHCP leaselerini serbest birakma

Merhaba, diyelim ki bir veya tum bilgisayarlarinizin DHCP den almis olduklari IP adreslerini serbest birakmak ihtiyaci duydunuz bu islemi asagidaki scripti direkt olarak veya dolayli yoldan Group Policy leri araciligi ile yapabilirsiniz.

On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration")
objNetworkSettings.ReleaseDHCPLeaseAll()

Script ile ISA Server Cache'ini temizlemek

ISA Server'da Cache dosyasini temizlemek icin asagidaki basit script ten yararlanabilirsiniz, aslinda manual olarak yaptigimiz Firewall servisinin durdurulmasi , ardindan Cache dosyasinin silinmesi ve servisin yeniden baslatilmasindan farkli bir islem yapmamakta, ancak otomatize etmek icin duz bir batch dosyasindan daha faydali olacaktir surucu ismi statik olmadigi icin ve birden fazla dosyaniz var ise bulup temizleyebilecegi icin.

Unutmayinizki Firewall servisi bu islem sirasinda durdurulup yeniden baslatilacagi icin baglantilarinizda kesinti olacaktir.


Set root = CreateObject("FPC.Root")
Set server = root.GetContainingServer()
server.StopFirewallService()
Set cacheDrives = server.CacheDrives
Set fso = CreateObject("Scripting.FileSystemObject")
For Each cacheDrive In cacheDrives
cacheFilePath = CacheDrive.Name & "\urlcache\Dir1.cdat"
WScript.echo "Cache dosyasinin yeri: " & cacheFilePath
fso.DeleteFile cacheFilePath
Next
server.StartFirewallService()
WScript.Echo "Cache icerigi temizlenmistir"

Wednesday, 30 June 2010

DNS Sunucusu Cache ini temizleme

DNS sunucunuzun cachelenmis kayitlarini temizlemek icin asagidaki scripti kullanabilir, bu islemi periyodik olarak uygulamak istiyorsaniz Scheduled Tasks yardimi yapabilirsiniz.


strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & _
"\root\MicrosoftDNS")

Set colItems = objWMIService.ExecQuery("Select * From MicrosoftDNS_Cache")

For Each objItem in colItems
objItem.ClearCache()
Next

Saturday, 5 June 2010

User Profile Hive Cleanup Service nedir?

User Profile Hive Cleanup Service ( UPHClean ) siz bilgisayarinizi kapatma , yeniden baslatma veya oturum kapatma yolu ile oturumunuzu kapatirken profilinizin bellekten kaldirilmasi sirasinda cikan sorunlari gidermek icindir. Buna aslinda oturum acmis olan kulllanici profili ve haklari altinda calisan bazi sistem ve hizmet islemleri isleri bittiginde tutmus olduklari kaynaklari birakmamalari yuzunden sebep olurlar. Ornegin asagidaki hatalar ile karsilasabilirsiniz.

• A user profile does not unload.
• A roaming profile does not reconcile.
• You reach the registry size limit (RSL).
• You take a long time to log off, and you receive the following message:
Saving settings….
• Backups may not start. There are no errors in the Application log from the Backup program. However, if you see event ID 1524, the Backup has not run.

Veya event log da ,
Windows XP and Windows Server 2003

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1517
Description:
Windows saved user ComputerName\UserName registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use. This is caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1524 Description:
Windows cannot unload your classes registry file - it is still in use by other applications or services. The file will be unloaded when it is no longer in use.

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1500
Description:
Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, or that your network is functioning correctly. If this problem persists, contact your network administrator.
Details:
------------------------------
Access is denied
Windows 2000

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Description:
Windows cannot unload your registry file. If you have a roaming profile, your settings are not replicated. Contact your administrator.
Details:
------------------------------
Access is denied

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Description:.
Windows cannot unload your registry class file. If you have a roaming profile, your settings are not replicated. Contact your administrator.
Details: -
-----------------------------
Access is denied

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Description:
Windows cannot log you on because the profile cannot be loaded. Contact your network administrator.

gibi kayitlarla, bu durumda ( User Profile Hive Cleanup Service ) UPHCLEAN i bilgisayariniza kurmaniz sorununuzu cozebilecektir, uygulama kurulum sonrasi yeniden baslatma islemine ihtiyac duymayacaktir.

UPHClean sisteminizde profilinizi ve kaynaklara erisim durumunu izleyerek profilinizin bellekten bosaltilma islemi gerektiginde bu islemin basarili sonuclanmasi icin gerekecek mudaheleleri yapacaktir.

Isterseniz UPHClean servisini sadece bu bosaltim islemini engelleyen prosesleri bulmak icinde kullanabilirsiniz, bunun icin regsitrydeki
HKLM\System\CurrentControlSet\Services\UPHClean\Parameters\REPORT_ONLY
kaydinin degerini 1 yapmaniz gerekecektir.

HKLM\System\CurrentControlSet\Services\UPHClean\Parameters\ girince burada USER_EXCLUSION_LIST , PROCESS_EXCLUSION_LIST gibi parametreleri de goreceksiniz, ornegin raporlama.exe diye bir uygulamaniz var bu uygulamayi UPHClean in izlemesini istemiyorsaniz raporlama.exe seklinde PROCESS_EXCLUSION_LIST e ekleyebilirsiniz.

Veya belirlediginiz kullanicilar icin bu servisin pasif kalmasini diliyorsaniz, USER_EXCLUSION_LIST altinda bu kullanicilari DomainAdi\KullaniciGirisAdi seklinde belirtme sansina da sahipsiniz.

Tuesday, 4 May 2010

Unattended.txt icin Keyboard Layout Listesi

Bana BDD/MDT de Windows XP Build ozelliklerini konfigure etmek icin Unattended.txt i duzenlerken lazim oldu, sizlerlede asagidaki listeyi paylasmak istedim.

["Keyboard Layout"]
0000041C = "Albanian"
00000423 = "Belarusian"
00000813 = "Belgian Dutch"
0000080C = "Belgian French"
00000416 = "Brazilian (ABNT)"
00000402 = "Bulgarian"
00010402 = "Bulgarian Latin"
00001009 = "Canadian English (Multilingual)"
00000C0C = "Canadian French"
00010C0C = "Canadian French (Multilingual)"
0000041a = "Croatian"
00000405 = "Czech"
00010405 = "Czech (QWERTY)"
00000406 = "Danish"
00000413 = "Dutch"
00000425 = "Estonian"
0000040B = "Finnish"
0000040C = "French"
00000407 = "German"
00010407 = "German (IBM)"
00000408 = "Greek"
00050408 = "Greek Latin"
00010408 = "Greek (220)"
00030408 = "Greek (220) Latin"
00020408 = "Greek (319)"
00040408 = "Greek (319) Latin"
0000040E = "Hungarian"
0001040E = "Hungarian 101-key"
0000040F = "Icelandic"
00001809 = "Irish"
00000410 = "Italian"
00010410 = "Italian (142)"
0000080A = "Latin American"
00000426 = "Latvian"
00010426 = "Latvian (QWERTY)"
00000427 = "Lithuanian"
00000414 = "Norwegian"
00000415 = "Polish (Programmers)"
00010415 = "Polish (214)"
00000816 = "Portuguese"
00000418 = "Romanian"
00000419 = "Russian"
00010419 = "Russian (Typewriter)"
00000C1A = "Serbian Cyrillic"
00010C1A = "Serbian Latin"
0000041B = "Slovak"
0001041B = "Slovak (QWERTY)"
00000424 = "Slovenian"
0000040A = "Spanish"
0001040A = "Spanish variation"
0000041D = "Swedish"
0000100C = "Swiss French"
00000807 = "Swiss German"
0001041F = "Turkish F"
0000041F = "Turkish Q"
00000422 = "Ukrainian"
00000809 = "United Kingdom"
00000409 = "US"
00010409 = "US-Dvorak"
00030409 = "US-Dvorak for left hand"
00040409 = "US-Dvorak for right hand"
00020409 = "US-International"