When it appears the command prompt digit notepad c:\autounattend.xml
You have to search the string <ProductKey> and below this insert a new line that contains the string
<Key></Key>
You don't have to insert a code, only the tags.
Save the file and relaunch manually the command X:\Windows\Hpssbem.exe again
The installation will end fine.
10 de setembro de 2015
6 de agosto de 2015
Migrate 2003 DHCP Server
Export the DHCP database from Windows 2003:
1. On the Windows 2003 DHCP server, navigate to a command prompt
2. Type the following Command: netsh
3. Type the following Command: DHCP
4. Type the following Command: server <\\Name or IP Address>
5. Type the following Command: export c:\w2k3DHCPdb all
Note You must have local administrator permissions to export the data.
Import the DHCP database
1. Copy the exported DHCP database file to the local hard disk of the Windows Server 2008-based computer.
2. Install the DHCP Role on the server.
3. Stop the DHCP server service on the server. To do this, follow these steps:
a. Log on to the target DHCP server by using an account that is a member of the local Administrators group.
b. Click Start, click Run, type cmd in the Open box, and then click OK.
c. At the command prompt, type net stop DHCPserver , and then press ENTER. You receive a "The Microsoft DHCP Server service is stopping. The Microsoft DHCP Server service was stopped successfully" message.
d. Type exit, and then press ENTER.
4. Delete the DHCP.mdb file under c:\windows\system32\DHCP folder.
5. Start the DHCP server service.
6. Right-click on the Command Prompt (cmd) and select run as administrator, to open the cmd prompt using elevated privileges.
Note You must have local administrator permissions to import the data.
7. Type the following Command: netsh
8. Type the following Command: DHCP
9. Type the following Command: server <\\Name or IP Address>
10. Type the following Command: import c:\w2k3DHCPdb
11. Restart DHCP and verify the database has moved over properly.
Source: https://support.microsoft.com/en-us/kb/962355
1. On the Windows 2003 DHCP server, navigate to a command prompt
2. Type the following Command: netsh
3. Type the following Command: DHCP
4. Type the following Command: server <\\Name or IP Address>
5. Type the following Command: export c:\w2k3DHCPdb all
Note You must have local administrator permissions to export the data.
Import the DHCP database
1. Copy the exported DHCP database file to the local hard disk of the Windows Server 2008-based computer.
2. Install the DHCP Role on the server.
3. Stop the DHCP server service on the server. To do this, follow these steps:
a. Log on to the target DHCP server by using an account that is a member of the local Administrators group.
b. Click Start, click Run, type cmd in the Open box, and then click OK.
c. At the command prompt, type net stop DHCPserver , and then press ENTER. You receive a "The Microsoft DHCP Server service is stopping. The Microsoft DHCP Server service was stopped successfully" message.
d. Type exit, and then press ENTER.
4. Delete the DHCP.mdb file under c:\windows\system32\DHCP folder.
5. Start the DHCP server service.
6. Right-click on the Command Prompt (cmd) and select run as administrator, to open the cmd prompt using elevated privileges.
Note You must have local administrator permissions to import the data.
7. Type the following Command: netsh
8. Type the following Command: DHCP
9. Type the following Command: server <\\Name or IP Address>
10. Type the following Command: import c:\w2k3DHCPdb
11. Restart DHCP and verify the database has moved over properly.
Source: https://support.microsoft.com/en-us/kb/962355
Veeam Endpoint Backup > Send Email Notification
1. Criar c:\veeamscript.ps1 com o seguinte conteudo:
###########################################################
# Edit this part:
$youremailserver= "0.0.0.0"
$sender = "origem"
$recipient = "destino"
###########################################################
# Put most info into the body of the email:
$TimeGenerated = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property TimeGenerated | out-string
$Source = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property Source | out-string
$EntryType = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property EntryType | out-string
$Message = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property Message | out-string
$InstanceID = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property InstanceID| out-string
$Body = " $TimeGenerated Instance-ID: $InstanceID $Message "
# Determine the subject according to the result of the backup:
$hostname = hostname
if ($Message.contains("Success")) {
$subject = "[Success] Endpoint Backup $hostname"
} elseif ($InstanceID.contains("110")) {
$subject = "[Started] Endpoint Backup $hostname"
} else {
$subject = "[Failed] Endpoint Backup $hostname failed"
}
# Send the email using the powershell object (replace with e.g. blat.exe for older powershell-Versions)
if ($InstanceID.contains("110") -Or $InstanceID.contains("190")) {
Send-MailMessage -To $recipient -Subject $subject -From $sender -Body $body -SmtpServer $Youremailserver
} else {
write-host "I don't want messages on 10010 and 10050 Restorepoint-creation or -remove Emails, skip those"
}
write-host "Script finished with -$instanceID- as the last event-ID"
2. Set the PowerShell Execution Policy to RemoteSigned (run as admin);
3. Criar tarefa windows para enviar email quando o backup terminar:
In General :
Run whether user is logged on or not
Run with highest privileges
Password stored
Trigger
On an event
Basic
Log : Veeam Endpoint Backup
Source : Veeam Endpoint Backup
Enabled
Action :
Start a program c:\veeamscript.ps1
Settings and conditions by default
###########################################################
# Edit this part:
$youremailserver= "0.0.0.0"
$sender = "origem"
$recipient = "destino"
###########################################################
# Put most info into the body of the email:
$TimeGenerated = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property TimeGenerated | out-string
$Source = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property Source | out-string
$EntryType = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property EntryType | out-string
$Message = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property Message | out-string
$InstanceID = get-eventlog "Veeam Endpoint Backup" -newest 1 -entrytype Information, Warning, Error -source "Veeam Endpoint Backup" | Format-List -property InstanceID| out-string
$Body = " $TimeGenerated Instance-ID: $InstanceID $Message "
# Determine the subject according to the result of the backup:
$hostname = hostname
if ($Message.contains("Success")) {
$subject = "[Success] Endpoint Backup $hostname"
} elseif ($InstanceID.contains("110")) {
$subject = "[Started] Endpoint Backup $hostname"
} else {
$subject = "[Failed] Endpoint Backup $hostname failed"
}
# Send the email using the powershell object (replace with e.g. blat.exe for older powershell-Versions)
if ($InstanceID.contains("110") -Or $InstanceID.contains("190")) {
Send-MailMessage -To $recipient -Subject $subject -From $sender -Body $body -SmtpServer $Youremailserver
} else {
write-host "I don't want messages on 10010 and 10050 Restorepoint-creation or -remove Emails, skip those"
}
write-host "Script finished with -$instanceID- as the last event-ID"
2. Set the PowerShell Execution Policy to RemoteSigned (run as admin);
3. Criar tarefa windows para enviar email quando o backup terminar:
In General :
Run whether user is logged on or not
Run with highest privileges
Password stored
Trigger
On an event
Basic
Log : Veeam Endpoint Backup
Source : Veeam Endpoint Backup
Enabled
Action :
Start a program c:\veeamscript.ps1
Settings and conditions by default
Add possible Owner to a Cluster Shared Volume
Operation has failed.
The action ‘Move to node <nodename>’ did not complete
Error code: 0×80071398. The operation failed because either the specified cluster node is not the owner of the group, or the node is not a possible owner of the group
Uh OH.. I have had enough problems with this cluster/SAN/CSV’s (that’s anther story put is this way one of the CSV’s ‘lost’ it’s partition information). I surmised that because the CSV’s were not presented to the server when it joined the cluster it may not had updated the “Possible Owners list” and sure enough this server was missing a few command laster and were are back in business.
note command needs to run from a Admin commpand prmpt
To tell who are the possible owners run:
Cluster res <resource name> /listowners
To to add a server to the list
Cluster res <resource name> /addowner :<servername>
source: https://robbieroberts.wordpress.com/2012/04/11/add-possible-owner-to-a-cluster-shared-volume/
The action ‘Move to node <nodename>’ did not complete
Error code: 0×80071398. The operation failed because either the specified cluster node is not the owner of the group, or the node is not a possible owner of the group
Uh OH.. I have had enough problems with this cluster/SAN/CSV’s (that’s anther story put is this way one of the CSV’s ‘lost’ it’s partition information). I surmised that because the CSV’s were not presented to the server when it joined the cluster it may not had updated the “Possible Owners list” and sure enough this server was missing a few command laster and were are back in business.
note command needs to run from a Admin commpand prmpt
To tell who are the possible owners run:
Cluster res <resource name> /listowners
To to add a server to the list
Cluster res <resource name> /addowner :<servername>
source: https://robbieroberts.wordpress.com/2012/04/11/add-possible-owner-to-a-cluster-shared-volume/
5 de agosto de 2015
How to Disable Loopback Check
To set the DisableLoopbackCheck registry key, follow these steps:
1 . Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
1 . Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
281308 Connecting to SMB share
on a Windows 2000-based computer or a Windows Server 2003-based computer may
not work with an alias name
2 . Click Start,
click Run, type regedit, and then click OK.
3 .
In Registry Editor, locate and
then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
4 .
Right-click Lsa,
point to New, and then click DWORD Value.
5 .
Type DisableLoopbackCheck,
and then press ENTER.
6 .
Right-click DisableLoopbackCheck,
and then click Modify.
7 .
In the Value data box,
type 1, and then click OK.
8 .
Quit Registry Editor, and then
restart your computer
Source: https://support.microsoft.com/en-us/kb/896861
9 de outubro de 2014
mFi raspberryPi
On input:
1. Raspberry pi
2. SD Card 8 Gb
3. Home wifi AirRouter XM.v5.5.8
4. mPower mini 2 units
5. mPort 1 unit
6. Temp sensor THS 1 unit
7. Current sensor 1 unit
(and i will wait from psot-shop LM35 sensor and for my GAS Bosch ZWA24 only one кудфн FTR-K1CK024W Fujitsu (24VDC commutation) - this relay in mPort mini for commuation FTR-K1CK005W (5VDC on mPort).
First, I will try sart standart soft linux 2014-01-07-wheezy-raspbian.zip
Make from instruction and all ok from 30 min coffe brake 
Next I will install Java from this man http://www.oracle.com/technetwork/articles/java/ra spberrypi-1704896.html
ARMv6/7 Linux - Headless - Client Compiler EABI, VFP, HardFP ABI, Little Endian
All ok from 30 min too 
My next path for fiesta: make mongoDB. Many googlers hours can see - MongoDB is WORK on Raspberry.
Ok, I will try it: http://aloon.com/install-mongodb-in-raspberry-pi/
Start in PM11:00 06march2014 and end in PM2:45 07march2014
realy "and compile, SCons is an Open Source software construction tool, substitute for the classic Make utility the compilation takes several hours, yes hours"
Go to my small trip in Saint-Peersburg http://aprs.fi/#!mt=roadmap&z=8&call=a%2FRA1AMX-7&
and in PM07:00 I make last path - mFi deb packet on Raspberry!
1. Im download from http://www.ubnt.com/download#mFi:Controller
zip packaje for Linux in folder /home/amx/Downloads/
2. Start mc
3. on left panel I open file mFi.unix.zip and in right panel shell-connection pi@<my raspberry IP>
4. open on right panel /home/pi/ and go to left panel, in opened zip-file directory mFi <F5> for copy. Whait some minutes.
5. exit from mc.
6. ssh pi@<my raspberry IP>
7. cd /home/pi/mFi/lib/
8. java -jar ace.jar start
whait over 3-5 min
try to connect htp://<my raspberry IP>:6443
First steps and IT WORK 
In first start need whait some minutes.
Mobile version work very speed https://<my raspberry IP>:6443/mobile
Also work without problem on iPhone 4 app mFi
step by step
When we made raspberry mongodb on upper messages, we unzip mFi folder, now we need startup 
nano ~/startjar.sh
#!/bin/bash/
/usr/bin/java -jar /home/pi/mFi/lib/ace.jar start
CTRL+X
Yes <enter> <enter>
sudo nano /etc/crontab
go to end of file and write:
@ReBoot pi /home/pi/startjat.sh
CTRL+X
Yes <enter><enter>
sudo su
cd /
mkdir /data/db/
chmod 755 data
problem, why Raspberry not good work with mFi not with JAVA. Problem
with not stable mongoDB. I think Mongo - isnt good idea for DB. MySQL is better way, but UBNT have many programmers and we think they now how work mongo.
Correcting mongo problem - Mongo for one mFi controller need minimim 640Mb ram and 640Mb swap. We make some experiments, and now we understand wee need made this command:
sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=1024
CTRL+X
yes <enter><enter>
from any steps ypu will now
reboot
You will whait reboot
logon on pi user and enter command
top
You will see some pic you control free memory over 220-250 Mb
and see 2 daemons: java and mongod
need 5-10 min to start 
Download link our version image for Raspberry Pi
https://<RaspberryYourPI>:6443
user login oh9ftw
user password ra1amx
Also when you start system - please disable all java updates and mFi updates for fortunaly work without reboot many many weeks 
source: https://community.ubnt.com/t5/mFi/Anyone-Try-MFI-on-a-Raspberry-PI/td-p/363552/page/2
Wireless Networks Windows 8/8.1
To Find Wireless Network Security Key in Command Prompt
1. Open a command prompt
2. In the command prompt, copy and paste the command below, and press Enter. (see screenshot below)
netsh wlan show profiles
3. In the command prompt, type the command below, and press Enter. (see screenshot below step 4)
netsh wlan show profile name=ProfileName key=clear
Subscrever:
Mensagens (Atom)