IT Blog

Other

This blog is not dead…

by on Aug.18, 2011, under Other

Hi everyone,
It’s been a while since I posted here and this was mainly because of two reason. First I was on holidays and second I’ve changed my job. So I loads of things going on and simply had not time to look after blog.
This should change in the coming weeks as I will start bloging again. As my job roles has changed the things that I write about will also change, mainly because I’ve moved from Microsoft products to cloud computing. So expect more posts about virtualization.

Leave a Comment more...

Today is World IPv6 Day

by on Jun.08, 2011, under Other

IPv6 been with us for a while now but it have not been widely adopted yet. So hopefully World IPv6 Day will start ball rolling http://www.worldipv6day.org

Leave a Comment : more...

Change registry permissions

by on Mar.18, 2011, under Microsoft, Other

So lets say you need to change registry permissions and give all domain users full rights to a specific key HKEY_LOCAL_MACHINE\SOFTWARE\My_App.
You can use Group Policy but also you can use a batch file. Batch file can be setup to run on system startup or you could push it with SCCM if you have it installed.

To change registry permissions you can use regini.exe and it should be on every Windows host but I think there is a better and easier tool(well at least to me) and it is called SetACL. This tool can be used to manage not only registry permission but also File Permissions, Auditing etc.
First download SetACL and from the download package extract command line version as this is what will be used in the script to c:\temp. There are 2 versions 32bit and 64bit, choose the one you need. (continue reading…)

Leave a Comment :, , , more...

Powershell command would not run

by on Mar.14, 2011, under Other

Here is my first Powershell problem. I’m not good in powershell as I don’t use it too often but ussually i find my way pretty quickly. Well except this time…
So here is my problem:
I have old Altiris Deployment server that I use for deploying server images. When I’m imaging 2008R2 servers I need to install server Roles and Features. Powershell here comes pretty handy as I only have to use Add-WindowsFeature command plus a list of Roles or Features that I want to add.
I created a file called powershell.ps1 that adds all the roles and features that I need plus does some configuration. I ran powershell -command powershell.ps1 on the test server to see if everything is installed and configured as expected. Everything went OK.
So next in Altiris I create a new job that copies a powershell.ps1 file and then runs it. (continue reading…)

2 Comments : more...

A problem occured while installing selected Windows SDK components. Unknown property.

by on Mar.09, 2011, under Microsoft, Other

Here is one of the problems that took me some time to figure out.
I had to install Microsoft Windows SDK for Windows 7 and .NET Framework 4 on Server 2008 R2. But it would not install.
There are 2 ways to install it:
Web install using winsdk_web.exe a small too that download all the files during installation.
ISO imgae that has all required files already.
I’ve tired both methods and bot of them failed almost instantly with the following error message:
A problem occured while installing selected Windows SDK components. Unknown property.

(continue reading…)

8 Comments :, more...

How to read registry value remotely in all computers in the domain

by on Mar.04, 2011, under Microsoft, Other

I had a task to find out what versions of PowerShell we have installed on the computers in the domain.
PowerShell version is stored in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\
There is a a string called PowerShell version and the value of the string is the version of the PowerShell that is installed on the computer.
After looking around I came up with the following script:

On Error Resume Next

Dim objGroup, objFSO, strFile, objFile

Const HKEY_LOCAL_MACHINE = &H80000002
Const ForWriting = 2
Const OpenAsASCII = 0
Const CreateIfNotExist = True
Const ADS_SCOPE_SUBTREE = 2

strFile = “c:\powershell.txt”
(continue reading…)

1 Comment more...

Error: The security database on the server does not have a computer account for this workstation trust relationship

by on Feb.18, 2011, under Microsoft, Other

 I had to change the Primary DNS suffix to some servers. To do that the server were moved to a separate OU and a Group Policy was applied to that OU to change the DNS suffix.
I’ve issued gpupdate /force command on the servers and restarted them. After restart I was not able to login to some of them with my domain credentials. Only servers with Windows Server 2008 were having this problem. Windows 2003 servers were running as expected. The error that I was getting was: The security database on the server does not have a computer account for this workstation trust relationship.
(continue reading…)

3 Comments :, , more...

Where is my disk space? Part 1

by on Feb.04, 2011, under Microsoft, Other

I had this problems before on SCCM server and it appeared again. SCCM hides somefolder from users but they are in know location. When they are in known location it is easy to unhide them. But what to do if the folder is hidden somewhere and nobody can pin point the location. This is what happened to one of the servers. The server has a partition size of ~72GB the total used space is ~28GB but when I’ve checked the folder size it was saying that all files are using only ~5GB. So where is my disk space gone? Well I suspect that some folder are hidden. So the first thing to do would be to choose option to ‘Show hidden files and folders’ and  untick ‘Hide protected oparating system file’ this have not shows the hidden folder for me.
The second option is to use good all Command Prompt and write the following command line:
attrib *. -h -s /s /d
This command remove hidden and system attributes from all the files in the partition. Once that was done a new sub folder appeared that had load of files and it was using ~23GB of disk space.

Leave a Comment : more...

CNet CQR-981 router does not work with Huawei 3G USB modem

by on Dec.21, 2010, under Other

I was having problems with CNet CQR-981 Wireless-N Pico 3.5G Broadband Router and Huawei 3G USB modem.
The router would not connect to the 3G network after checking all the setting and making sure that the 3G USB modem is working fine I’ve decided to check if there is a newer firmware version for CQR-981. The version on my router was 1.0.02 and the latest on the CNet website was 1.0.06.
I’ve flashed the latest firmware to the router and after restart it connected to 3G straight away.
You can find the latest version here. Download the firmware file. The file is a RAR archive that contains 2 files: the firmware file and also the PDF file with the instructions how to perform update.

15 Comments :, , more...

Problems with RSA ACE server

by on Nov.24, 2010, under Other

Here is some interesting problem with RSA ACE server that I’ve encountered.
Symptoms:
1. The servers is restarting automatically. You are able to login but after a minute or sow you get the message with counter ‘System Shutdown:This System is Shutting down. Please save all work in progress and log off. Any unsaved changes will be lost’
The message should tell you that RSA ACE is restarting the server.

2. In Event viewer Application. You should see plenty of ACESERVER 15004 errors.
In systems event log you should see many Service Control Manager 7031 errors.
Under services most Automatic RSA ACE services would not be running and when you try to start RSA ACE/Server authentication engine it would not start.
(continue reading…)

Leave a Comment :, , , , , more...