Thursday, 19 December 2013

Changing AD Password policy lockout

ON DC - Start - run - GPMC.MSC

Default domain Policy
- - Computer Policies
--- Policies
---- Windows Settings
----- Security Settings
------ 



"Do it, and then you will feel motivated to do it" 
~Zig Ziglar

Ipad "Unable to connect to Itunes"


Got this on a few of our school ipads after the summer holidays. Its a randaom problem,some are working some aren't.


"Do it, and then you will feel motivated to do it" 
~Zig Ziglar

Access denied for user 'root'@'localhost' (using password: NO)

AllowNOPassword=FALSE


    Edit:  /etc/phpmyadmin/config.inc.php  Not:  /usr/share/phpmyadmin/config.inc.php

Remove mysql purge & reinstall
    sudo apt-get --purge remove mysql-server mysql-common mysql-client

    sudo apt-get install mysql-server mysql-common mysql-client


Ubuntu

  • Update the Package Index: The APT package index is essentially a database of available packages from the repositories defined in the/etc/apt/sources.list file and in the /etc/apt/sources.list.d directory. To update the local package index with the latest changes made in the repositories, type the following:

        sudo apt-get update  

  • Upgrade Packages: Over time, updated versions of packages currently installed on your computer may become available from the package repositories (for example security updates). To upgrade your system, first update your package index as outlined above, and then type:

        sudo apt-get upgrade

Install python
sudo apt-get install python3
Check python version  python --version

FTP Server
 sudo apt-get install vsftpd

    sudo nano /etc/vsftpd.conf
    anonymous_enable=NO
Python Virtualenv
apt-get install python-virtualenv



Thursday, 12 December 2013

ADD ROUTE in Ubuntu Server!

Finally I got it

sudo route add -net 172.16.7.0 netmask 255.255.255.0 gw 192.168.1.9

Wednesday, 11 December 2013

Uninstall WSUS

http://blogs.technet.com/b/sus/archive/2008/11/05/how-to-manually-remove-all-of-wsus.aspx

Reinstall "unable to connect to network"

The server is pointing to itself for updates


just delete

It's a relatively quick fix though – Just delete "HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate", restart the Windows Update service (wuauserv) and then you should be good to go.

net stop wuauserv
net start wuauserv

Wednesday, 2 October 2013

Setting up an Itunes account without credit card details

1. On an Ipad goto the Itunes Store and try to download an App - follow prompts to setup new account, Itunes will give you an option to choose "None" in the credit card detail section.

IF Itunes don't give you an option in the Itunes section?

--> 

Python, numpty, panda for windows 7

install python
fix environmental variable path - system properties - advanced - path - add your path

Nympty: goto cmd "cd \python27\scripts\

type " easy_install.exe numpy "
type " easy_install.exe pandas"




"Do it, and then you will feel motivated to do it" 
~Zig Ziglar

Monday, 16 September 2013

Apple ID

If you are asked to setup a credit card you do the following:

goto Apple - My Apple ID 

* Change your email address to a valid dummy address ie: dummyaccount1@company.com
* go back to Itunes Store - logout, browse to a free item and add it to your Ipad - it will ask you to create a new account or login with an existing account. Choose new account, setup the new account, verify email address and off you go.



"Do it, and then you will feel motivated to do it" 
~Zig Ziglar

Tuesday, 3 September 2013

Send a reboot to a PC

gpupdate /sync

YES



"Do it, and then you will feel motivated to do it" 
~Zig Ziglar

Friday, 23 August 2013

Project: Loading Linux on iMac G5

I've got a few iMac G5's hanging around gathering dust and I'm going to sprooch them up and load Ubuntu with Java JDK and BlueJay to be used as programming stations.

DOWNLOAD UBUNTU PowerPC

Get Ubuntu from here:


I've gone with the  Ubuntu 12.04-alternative ISO http://cdimage.ubuntu.com/releases/12.04.2/release/

STEPS

1. Boot iMac holding down C 

2. Followed installation instructions

3. Had a problem connecting to DHCP for IP Address allocation so I've just allocated a static IP Address

4. Installation ran fine until it got to the "Install" part and it just failed with "Install the System: Installation step failed" no further explanation..

So I downloaded MintPPC and I've just finished loading it... worked a charm!





 

'Eamonm' System filter Automatically restarts PC

Eamonm is part of ESET Smart Security.

I got this event and automatic PC reboots - REMOVED ESET Smart Security




 
" Change your thoughts and you change your world" ~ Unknown

Wednesday, 17 July 2013

How to install SQLite.....on windows 7


Install SQLite3 for Windows by downloading zip files and unzipping them into /WINDOWS/system32

you need

sqlite3.exe
sqlite3.def
sqlite3.dll

test by opening cmd line and running "sqlite3"



 
" Change your thoughts and you change your world" ~ Unknown

Dell Optiplex 3010 - Multi-display

Default Bios setting --> Video - Multi-display - DISABLED

Setting up Dell Optiplex 3010 with dual Monitors

1. FIRSTLY enable "multi-video" in the Bios
(if you don't have this option, download the - Dell Client Configuration Toolkit - CCTK) to tweak your bios.
2. Enable the setting
3. Setup your new graphics card
4. Enjoy

Trying to figure out how to setup the 

Link to the tech guide

Tuesday, 16 July 2013

Python paths - to add to "paths"

c:\pythonXX;c:\pythonXX\scripts\


 

w32tm - windows 7 and srv 2008 r2

Server ahead by 5minutes

Changed time - updated my time from my windows machine but still I had the wrong time...

CMD LINE run from elevated 

w32tm /config /update /syncfromflags:domhier  (on windows 7) --> telling the workstation to get the time from a domain

w32tm /montior - view servers

net stop w32time
net start w32ime

w32tm /resync

To see when your PC will next automatically sync

- Control Panel - Task Scheduler - MS - Windows - Time Synchronization 

NET TIME DOMAIN - -> Showed me getting my time from a different domain controller 

Changed time on correct domain controller ---> from elevated cmd line

w32tm /resync 


 
" Change your thoughts and you change your world" ~ Unknown

Monday, 15 July 2013

Python , modules & Pip (the easy way)

Install Python

From normal windows command line interface 

" python distribute_setup.py" to update the distribution

" python get-pip.py" to install pip



To run pip

from normal windows cmd "pip"



Use pip as installer.

from command line

" pip install virtualenv"
" pip install virtualenvwrapper"
" pip install south"
" pip install MySQL-python"
" pip install Django"
" pip install SIT"



Using pip to upgrade

from command line

"pip install South --upgrade



To check what Python modules have been installed?

* from cmdline "python"
* Help ('modules')


Testing modules

virtualenv
from command line "vitualenv"


Friday, 5 July 2013

.ascm files to .epub

Buy & download book
Download and install Adobe Digital Editions - your book will be saved in "My documents\My digital Editions" as an .epub
Use Calibre to upload to device.


 
" Change your thoughts and you change your world" ~ Unknown

Wednesday, 5 June 2013

Ruckus ZoneDirector & Ruckus Zoneflex 7343

Ruckus ZoneDirectory 

Reset to defaults

login to : 192.168.0.2
username: admin
password: admin


Ruckus Zoneflex 7343 - AP

Login to 192.168.0.1
username: super
password: sp-admin

Reset: 

Keep a pin depressed till all the lights go on...keep it depressed till all the lights go out and the Power returns to normal green.

Easy Access Control via MAC Filtering ACL

Configuration :: Radio 2.4G :: Access Control :: Ruckus 
- Disable WLAN Access restrictions
- Allow only stations listed in the ACL Table
- Deny only station listed in the ACL Table 

Problems
:: Make sure you are broadcasting the SSID as its disabled by default
:: Make sure you've enabled "wireless" as its disabled by default
:: If you cannot connect after resetting the device - reset it again

 
" Change your thoughts and you change your world" ~ Unknown

Wednesday, 22 May 2013

ESET - how to push install to client from ESET Remote Administrator (KB)

ESET Knowledgebase

ESET Knowledgebase

How do I push install to client workstations using ESET Remote Administrator? (5.x)

KB Solution ID: SOLN2982|Last Revised: April 09, 2013
http://kb.eset.com/esetkb/SOLN2982

In order to complete the setup of ESET Remote Administrator and protect your network with your ESET security product, you will need to perform a four-part process:

  1. Download and install ESET Remote Administrator and ESET endpoint products
     
  2. Set up your Mirror server
     
  3. Create an installation package (containing your ESET security product and a configuration .xml file)
     
  4. Push installation package out to client workstations
     

NOTE:

This article outlines parts three and four. For detailed instructions on parts one and two, see the following Knowledgebase article:

Important!

Before attempting a push installation, please complete all of the items in our ESET Remote Administrator Push Installation Requirements and Checklist.

VIDEO: How do I push install to client workstations using ESET Remote Administrator? (5.x)  

 

III. Create an installation package

  1. Open the ESET Remote Administrator Console (ERAC) by clicking Start  All Programs  ESET  ESET Remote Administrator Console
     
  2. Click the Remote Install tab, then click Actions  Manage Packages.
     
  3. Click Add in the Installation Packages Editor window.

    Figure 1-1

  4. Click Download From The Web and select the ESET security product that you wish to push install. Make sure that the version number is current and that you have the correct package selected. This information is displayed in the MSI File Descriptionfield. Click Create.

    Figure 1-2

Click Save As and give your installation package a descriptive name, then click Save. Click Close to return to the ERAC window. You are now ready to continue to Part II.

NOTE:

Before saving the package, you have the option to either make changes to the configuration associated with this installation package, or to select a pre-configured ESET Configuration File (.xml) that you would like to associate with this installation package:

  • Edit the configuration: Click Edit, make your desired changes and click Console. Save the file (as outlined in step 5 above) and proceed to step 6.

  • Select an ESET Configuration File (.xml): Click Select, navigate to the ESET Configuration File, select it and click Open. Save the file (as outlined in step 5 above) and proceed to step.
     
  • To perform a silent installation (optional), run the file from the command line using the following switches:
     

    /quiet REBOOT="ReallySuppress" (see Figure 1-3)

    For example: C:\Users\UserName\Desktop\ESET32.exe /quiet REBOOT="ReallySuppress"
     

  • To display a progress bar during the installation, run the file from the command line using the following switches

    /qb! for progress bar with no cancel option.
     

    For example: C:\Users\UsersName\Desktop\ESET32.exe /qb REBOOT="REallySuppress"

Figure 1-3

 

 

IV. Push installation package out to client workstations

Important!

Before attempting a push installation, please complete all of the items in our ESET Remote Administrator Push Installation Requirements and Checklist.

  1. In the main program window of the ESET Remote Administrator Console, click the Remote Install tab.
     
  2. Select the client workstation(s) that you wish to push an installation package out to, right-click, and select either Windows Push Installation or Linux/Mac Push Installation based on the type of push installation.

    Figure 2-1
    Click the image to view larger in a new window

     
  3. If any of your clients are password protected, select that client and click Set. Enter the client's logon credentials in the Logon Information window and click OK (see Figure 2-2).

    NOTE:

    If the logon information is the same for all the clients involved in this push installation, you can click Set All so that you only have to enter logon information once.

  4. Click Next.

    Figure 2-2

  5. Select the appropriate installation packaged from the Type drop-down menu. In this example, we are pushing out to client workstations running Microsoft Windows, so we will select ESET Security Products package. Then, select the installation package you created earlier from the Name drop-down menu. Click Next.

    Figure 2-3

  6. Verify the Task Settings in the final window, including the name of your Remote Install task and the specific time at which it will be performed. If necessary, make changes to the settings here. Click Finish to complete the push installation task.

    Figure 2-4

NOTE:

To check the status of your push installation task, click the Install Tasks tab, then double-click the entry that represents your current task. In the Properties window, the status of your push installation will be visible next to State.

 

Tuesday, 21 May 2013

Google Chrome - delete history via batch file

Google Chrome

Chrome stores history, cookies, cache and bookmarks in various databases and directories in the per-user application data directory at C:\Users\<username>\AppData\Local\Google\Chrome\User Data. The easiest way to get rid of all this data is just to erase everything there. Chrome creates this directory anew if it finds it missing.

    @echo off    set ChromeDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data    del /q /s /f "%ChromeDir%"  rd /s /q "%ChromeDir%"


 

IE Clear history by batch file


To use these commands, just run them from the command line, the start menu search box in vista, or a batch file.

Temporary Internet Files

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Cookies

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

History

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Form Data

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

Passwords

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete All – "Also delete files and settings stored by add-ons"

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351



Monday, 29 April 2013

Adding user to ubuntu Server

sudo -s
sudo adduser "username" 



    visudo  

as root to make the relevant and correct changes, or ask your sysadmin.

You usually want something like,

    username    ALL=(ALL) ALL  

or,

    %groupname  ALL=(ALL) ALL



Friday, 26 April 2013

IPAD Roll-out program (at School)

Once Ipads are delivered....

1. Setup xls spreadsheet with 
1.1 Ipad Serial number 
1.2 Attach photograph of the back of the Ipad (for insurance purposes)
1.3 Allocate Asset ID

2. Setup a Charging station - I had to use a 5 port multiple adapter and it worked very well

3. Setup the Ipad Covers 

3.1 Label the Ipad Covers - I use "School abbreviation Ipad X" as we sign-out Ipad X to Student X everyday, it keeps the process nice and controlled.

4. Switch on the Ipad

5. Run through the setup questions - Ipad name "School Student X" language, location, Itunes login, icloud, location services enabled - email address studentipadX@domain.com

5.1 Follow these instructions if you haven't already setup an Itunes account
5.1.1 Follow the prompts, setup new email address
verify Apple ID
Verify email address

6. Connect to Itunes (I currently use a Windows 7 station and it works well)

7. Stop Itunes syncing

8. Update iOS - if its your first iPad - update, install all software and backup the setup as "Master Ipad" or something of the sort - some distinct name.

8.1 in rare occassions the new batch of Ipads (if you get different batches) might have a different firmware version and you wont be able to use your Master Restore copy - in this case, just download the latest/correct firmware version and then try a restore.

Apple software update location ----> C:\Users\****\AppData\Roaming\Apple Computer\iTunes\iPad Software Updates\

9. Make sure all Apps installed after Restore

10. Login to Itunes on the Ipad

11. Make sure Ipad name is correct

12. Charge up

13. Remember to login to icloud and try and test the GPS via "find my ipad" .

NOTE: I found that on some Ipads (4 out of 10) I had to go into Maps on the Ipad and "allow access to my location" even though Location Services are switched on, as if you don't do this you will find that you might not always be able to track your Ipad via "Find my Ipad" service. But going into Maps the first time and "allowing access" works a charm.

Friday, 12 April 2013

Meet your new Best Friend "ADplus"

Print spooler on my Win2008 R2 box keeps on crashing...

View Diagnostics:

Server Manager - Diagnostics - Event Viewer - Applications and Services Logs - Microsoft - Windows - Printing Service

So I'm now going to monitor it to see what happens.. I am using Adplus to create memory dumps everytime I have a crash or hang

STEPS

1. Install Windows Debugging Tools SDK 
2. Install the symbols
3. setup the symbol path ie:

I added the symbol path: srv*c:\symbols*http://msdl.microsoft.com/download/symbols
4. Install winDBG

Open cmd in c:\program files\debugging tools for windows (x64)

Run

adplus.vbs -crash -quiet -pn spoolsv.exe -o c:\debug

adplus.vbs -hang -quiet -pn spoolsv.exe -o c:\debug


You will be presented with a message


"Attaching to 1556 - spoolsv in Hang mode 04/12/2013 09:06:41
Logs and memory dumps will be placed in c:\debug\date_time_hang_mode




Thursday, 11 April 2013

Windows 7 "Unable to add printer" (Network printer)


Unable to add printer to windows 7 it just bombs out saying the print spooler isnt' running.
Restart spooler but it just shuts itself down again almost immediately.

1. Check spooler dependancies 
2. Stop spooler
3. Navigate to c:\windows\system32\spool\DRIVERS\  --> delete everything
4. Restart spooler service
5. Add network printers

My issue is a corrupt printer driver.


 

Memory diagnostic Tool (Build-in)

Diagnosing memory problems on your computer

If Windows detects possible problems with your computer's memory, it will prompt you to run the Memory Diagnostics Tool.

Running the Memory Diagnostics Tool

When you receive a notification about a possible memory problem, click the notification to choose between two options for when to run the Memory Diagnostics Tool.

Picture of the Memory Diagnostics Tool dialog boxThe Memory Diagnostics Tool gives you two options

If you choose to restart your computer and run the tool immediately, make sure that you save your work and close all of your running programs. The Memory Diagnostics Tool will run automatically when you restart Windows. It might take several minutes for the tool to finish checking your computer's memory. Once the test is completed, Windows will restart automatically. If the tool detects errors, you should contact your computer manufacturer for information about fixing them, since memory errors usually indicate a problem with the memory chips in your computer or other hardware problem.

Advanced options for running the Memory Diagnostics Tool

We recommend that you let the Memory Diagnostics Tool run automatically. However, advanced users might want to adjust the tool's settings. Here's how:

  1. When the Memory Diagnostics Tool starts, press F1.

  2. You can adjust the following settings:

    • Test mix. Choose what type of test you want to run: BasicStandard, or Extended. The choices are described in the tool.

    • Cache. Choose the cache setting you want for each test: DefaultOn, or Off.

    • Pass count. Type the number of times you want to repeat the test.

  3. Press F10 to start the test.

To run the Memory Diagnostics Tool manually

If the Windows Memory Diagnostics tool doesn't run automatically, you can run it manually.

  1. Open Memory Diagnostics Tool by clicking the Start button Picture of the Start button, and then clicking Control Panel. In the search box, typeMemory, and then click Diagnose your computer's memory problems. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

  2. Choose when to run the tool.



 
" Change your thoughts and you change your world" ~ Unknown

Wednesday, 10 April 2013

Error connecting to Printer (Windows 7) Error Code 0x00000003

Windows 7 PC - no Printers from GPO installed

When trying to install printers - "Error connecting to Printer" even though you can manually install the printer on LPT1 

So Error code 0x0000003 - the "3" means its looking for a directory called "3"  (this is my own analysis...if I'm wrong, sorry about that but it worked for me)

I also had error messages where it seems like I cannot add the printer drivers from the server.

So I went to my Server 

SERVER

c:\windows\system32\spool\drivers\x83\3\

Removed user permissions - re-added user permissions.

Now, Able to install the printers and GPO can now install printers


 
" Change your thoughts and you change your world" ~ Unknown

Wednesday, 27 March 2013

Itunes backups

Where iTunes backups are stored on your computer

The folder where your backup data are stored varies depending on the computer's operating system. Make sure the backup folder is included in your periodic data-backup routine.

iTunes places the backup files in the following places:

  • Mac~/Library/Application Support/MobileSync/Backup/
  • Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Note: To quickly access the Application Data folder, click Start, and choose Run. Type %appdata% and click OK.
  • Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, click Start. In the search bar, type %appdata% and press theReturn key.


Ipad backups on a Mac

Where are iPad backup files stored on my Mac computer?

The location of the iPad backup files generated in iTunes is the following directory:

/Users/USERNAME/Library/Application Support/MobileSync/Backup/

Replace USERNAME with your personal account name. In the Finder, navigate to your home directory under PLACES and click Library -> Application Support -> MobileSync -> Backup



 

Wednesday, 13 March 2013

Windows 2008 R2, deleting Deployed printers

If you open print manager and see a printer that's been deployed but thats not in use - you need to do the following to delete it.

Open GP Manager - goto the specific GPO and delete the printer from there - mine was in -


Windows Server 2008 R2 - printer FLOP-UP

Ok, so briefly what happend was one of my printers "fell" off the network it seemed. I then found I could ping it, connect to its webpage and do whatever to it but not print to it. Reboots, cold starts didnt help.

I deleted any .spl files in the c:\windows\system32\spool\

So I checked my Server - I removed the printer, reinstalled it and tried printing. Still didn't work.

I tried a different printer driver and tried printing - Now I got into a situation where my print spooler on my Server stopped everytime you trried printing to the printer in question. Little research and a chat with a buddy confirmed print spooler corruption.

On my windows 7 client I got no access to any printers, if you wanna print you get a box asking you to please install a printer... Normally a System Restore fixes this issue.
What helps? Delete the printer and reboot. Then re-add the printer.

PS: please do not use weird characters, - or / or \ in your printer names theres a bug in Win2008R2

Errors I got:



Wednesday, 20 February 2013

Reset MacMini Admin Pwd


To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:
  1. Reboot
  2. Hold apple + s down after you hear the chime.
  3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
    • mount -uw /
    • rm /var/db/.AppleSetupDone
    • shutdown -h now
  4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again!

Tuesday, 19 February 2013

Event ID: 12294

Event ID:

Event Type: Error
Event Source: SAM
Event Category: None
Event ID: 12294
Date: 3/3/2003
Time: 9:42:55 AM
User: (USERNAME)
Computer: (COMPUTERNAME)
Description:
The SAM database was unable to lockout the account of ? due to a resource error, such as a hard disk write failure (the specific error code is in the error data) .  Accounts are locked after a certain number of bad passwords are provided so please  consider resetting the password of the account mentioned above.

Found one PC trying to reconnect to this Server (Below) and I get the event ID (above)

The computer BLOSSOM tried to connect to the server \\AISCTSRV02 using the trust relationship established by the AISCT domain. However, the computer lost the correct security identifier (SID) when the domain was reconfigured. Reestablish the trust relationship.

Blog Archive