Lapas

otrdiena, 2013. gada 5. novembris

The print processor does not exist.

Open Regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Print Processors\

Expant “Print Processors” and make sure there is a key called “winprint“. If not, right-click on “Print Processors” and select NEW -> Key. Call it “winprint” (without the quotes). Within the “winprint” key, create a new String Value and call it “Driver“. It’s value data should be “winprint.dll” (without the quotes).
Stop print spooler service.
Now navigate to the following path in Windows Explorer:
C:\Windows\System32\spool\prtprocs\w32x86
or
C:\Windows\System32\spool\prtprocs\x64
You will find some files there, but the most important would be the “winprint.dll“, “jnwppr.dll” and “msonpppr.dll” files. Delete them (or to be safe, just move them to another location).
Now you need to find a similiar PC environment (Windows 7 32-bit, etc). From the working PC, copy these 3 files to the faulty PC under the same path.
Now start the print spooler and try to connect to the desired network printer. All should work fine.

Avots: http://armandus.techstudio.co.za

piektdiena, 2013. gada 1. novembris

Kad noķerts vīrus, kas noslēpj mapes un to vietā izveido shortcuts.

Pēc tam, kad dators atvīrusots LiveCD, etc. Command rindā rakstam

ATTRIB -H -S /S /D *.*

Trūkums tāds, ka visi faili, kuri parasti sistēmā ir slēpti, tagad visi ir redzami.

otrdiena, 2013. gada 8. oktobris

Kā izravēt laacz apostrofu, ja to nevar atinstalēt.

If you need to manually remove it:
  1. Remove the keyboard from the Language and Regional settings:
    1. Control Panel > Regional and Language Options > Languages > Details...
    2. If it exists as one of the installed services, you should remove it. You can do this by adding another keyboard (e.g. US) and making it the default one, then removing the keyboard you are trying to get rid of.
  2. Open regedit
  3. Warning: you should backup your registry in case you accidentally delete something important.
  4. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\
  5. Find the key that represents your keyboard: (referred to as "the key" in following steps)
    • It should be in the form a0000426 (an 8 hex digit number).
    • Each key should have values such as: Layout Display Name, Layout File, Layout Id, Layout Product Code, Layout Text.
    • The Layout Text property should match the keyboard name that you chose.
    • Mine was near the end and started with an a instead of a 0 like all the others.
  6. Take a look at the Layout File which should be a apostrof.dll name. I will refer to it as "the dll" in the following steps.
  7. Look for the dll in C:\WINDOWS\system32\dllcache and delete it if it exists.
  8. Look for the dll in C:\Windows\SysWOW64 and delete it if it exists
  9. Look for the dll in C:\WINDOWS\system32 and delete it if it exists.
  10. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout\DosKeybCodes and see if it has a Name which is equal to the key's name (e.g. a0000426) and a value such as en. If it does, delete it.
  11. Navigate back to the key (from step 5), and delete the entire key.

svētdiena, 2013. gada 22. septembris

DNS serveri

Lattelecom:
195.122.12.242 Primary
80.232.230.242 Secondary

Google:
8.8.8.8
8.8.4.4
2001:4860:4860::8888 2001:4860:4860::8844

pirmdiena, 2013. gada 16. septembris

MS Office 2013 aktivizācijas atslēgas

Pēc MS office atslēgu piesaistes MS kontam - aktivizācijas atslēgas var atrast http://office.com/myaccount zem konkrētā aktivizētā offisa(1,2,3,4...) Install from a disc -> I have a disc -> View your product key.

otrdiena, 2013. gada 30. jūlijs

Windows Xp cannot access windows 7 shared folder.

Situācija tāda - šārēta mape zem windows 7, tīkls ar vairākām XP mašīnām un dažām win 7, 8. Ik pa laikam XPmašīnas netiek pie šāres: "Access denied", tajā pat laikā win 7,8 turpina strādāt bez problēmām.

1. Atslēgt zem tīkla kartes draiveriem sistēmai iespēju: "Allow the computer to turn off this device to save power"

2. Zem Network and sharing center -> Advanced Sharing Settings sadaļā File Sharing Connections pārslēdzam šifrēšanu uz Enable File Sharing for Devices That Use 40- or 56-bit Encryption

3.  Sistēmas reģistrā salabojam vērtības

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\
LargeSystemCache = 1 (Default = 0)

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServe r\Parameters\
Size = 3
(Default = 1)

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\ 
izveidojam DWORD32 MaxNonpagedMemoryUsage = 0xFFFFFFFF

pirmdiena, 2013. gada 22. jūlijs

Windows 7 netiek pie tīkla šāres

Windows server 2003 ar paroli aizsargāta šāre - windows 7 pēkšņi vairs netiek klāt - saka nepareizs lietotājs vai parole.
Browse to "Local Policies" -> "Security Options".  Now look for the entry "Network Security: LAN Manager authentication level" and open it.  Click on the dropdown menu and select "Send LM & NTLM - use NTLMv2 session security if negotiated".  Apply the settings.

ceturtdiena, 2013. gada 20. jūnijs

Windows application events BrLog 1001 un 1002

Pilns events viewer ar BrLog 1001 un 1002.
REGEDIT [HKLM\SOFTWARE\Brother\brutilities] izdzēšam brutilities mapi un brālis vairs nespamos.

otrdiena, 2013. gada 18. jūnijs

Zalktis instalācijas

http://sore.lv/ var lejuplādēt jaunākās versijas.

Licences datus var dabūt ārā no reģistra [HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Osmanis\Zalktis]

Jūsu licences Nr.: XXXX-YYY
Atslēga: ZZZZZZZZZZ

trešdiena, 2013. gada 15. maijs

Kā atgūt dzēstas vēstules no MS Outlook.

Ļoti vienkāršs veids kā atgūt outlookā dzēstas vēstules neizmantojot nekādas maksas progrmmas. Protams, ja PST fails ir kompaktēts, vēstules atgūt neizdosies!
Metode balstās uz PST faila “Table of Contents” (TOC) sabojāšanu, kuru pēc tam ar scanpst.exe salabo, balstoties uz vēstulēm, kas atrodas PST failā.

1. Atveram pst failu ar HxD
2. Iezīmējam 7-13 bloku un aizvietojam ar tukšiem Edit-> Fill Selection…-> OK
3. Saglabājam failu
4. Atveram "salaboto" failu C:\Program Files\Microsoft Office\OfficeXX\scanpst.exe (Office 2003 tas atrodas C:\Program Files\Common Files\System\MSMAPI\1033\) un ļaujam salabot PST failu.
5. Outlookā  Data files->Add... un voalā izkopējam vēstules, kuras tikušas dzēstas.

Avots: howto-outlook.com

ceturtdiena, 2013. gada 11. aprīlis

Administratīvās šāres zem Windows 7

Ar MS jaunievedumu UAC adminstratīvās šāres c$, admin$ un citas pēc noklusējuma ir izslēgtas, tāpēc jālien regedit un jāsalabo

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

DWORD (32-bit) Value  "LocalAccountTokenFilterPolicy" = 1

otrdiena, 2013. gada 2. aprīlis

Statiskais dhcp

mcedit /etc/dhcp/dhcpd.conf
host IEKĀRTA { hardware ethernet 00:00:00:00:00:00; fixed-address 0.0.0.0 }
 /etc/init.d/isc-dhcp-server restart

trešdiena, 2013. gada 27. marts

Kā izdzēst dokumentus no printer queue

Bieži windows nevar izmest dokumentus no printer queue, ja dokuments jau ir statusā - printing jeb spooled. Tad palīdz spooled dokumentu izdzēšana no %systemroot%\system32\spool\printers\ 
Var uztaisīt cmd failu, kas to dara automātiski:

@echo off
net stop spooler
del %systemroot%\system32\spool\printers\*.shd
del %systemroot%\system32\spool\printers\*.spl
net start spooler
echo Pabeigts!
pause


Uz vista/7/8 - Run as Administrator

trešdiena, 2013. gada 6. marts

Izdzēst visus Shape Objects no Excel faila

Bieži vien gadās redzēt excel failus, kuros ir pilns ar shape objektiem. Manuāli šos objektus izdzēst nav iespējams - excelis nenormāli bremzē - Not responding.

Atveram "vainīgo" sheet un spiežam Alt+F11 un palaižam šo VBA:

Sub DeleteShapes()
Dim Shp As Shape
For Each Shp In ActiveSheet.Shapes
Shp.Delete
Next Shp
End Sub

Interesanti, ka pēc objektu izdzēšanas faila izmērs samazinās 10x.
Nākamoreiz varētu pamēģināt šo Kutools - zem Delete tools -> Delete Auto Shapes.

pirmdiena, 2013. gada 4. marts

Windows home lietotāju atslēgšana

Lai lietotājs nerēgotos logon logā viņu atslēgt var Local security policies -> Deny logon locally, bet Windows home tādas iespējas nav. Tāpēc izmantojam regedit:

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList
Add new "DWORD" value, "Name" username that you want to disable.
Under the "Data" column, set the value to 0 to disable the account or set it to 1 to enable it 


Ja nav keys SpecialAccounts un UserList - izveidot.

Atslēgt lietotāju izmantojot command prompt

net user [username] /active:no

Printeri zem Mac OS X

Pielikt printeri, ja nav draiveru, izmantojot CUPS zem mac. Projekts saucas Gimp print, jeb Gutenprint.
Tālāk webiski http://127.0.0.1:631