background preloader

SYSADMIN

Facebook Twitter

Scarecrow's 3D ASCII Gallery. Run SLMGR.VBS Silently. Batch script start up from RunOnce registry fails ! - Programming (C++, Delphi, VB/VBS, CMD/batch, etc.) Thanks all of you for your answers, now it's working how I wanted, with 'my' structure of files and folders Thanks to, Yzöwl, DosProbie, GeejSpecial thanks goes to jaclaz 'jaclaz', on 12 May 2013 - 8:25 PM, said: 'ZYklon', on 12 May 2013 - 7:44 PM, said: Didnt worked, so just need one directory back, as win7.bat is now in tools folder !?

Batch script start up from RunOnce registry fails ! - Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)

Not really (you don't *need* one directory back, you *want* one directory back, it's not the same thing).And then you want two directories down.And you didn't take more than 1 second to try and understand the syntax of the example. Actually, I tryed but not too much, as I was thinking to post here, you know ! The idea is:CD /D %~dp0 <- this changes current directory to the one in which Win7.bat is, no matter on which drive, in your case ROOT\OneClickInstaller\tools\CD .. <- this changes to one directory up, in your case ROOT\OneClickInstaller\CD .

Batch script start up from RunOnce registry fails ! - Programming (C++, Delphi, VB/VBS, CMD/batch, etc.) Réexécuter un script .bat après redémarrage. Il arrive parfois que l’on doive redémarrer Windows après une installation ou une configuration du système.

Réexécuter un script .bat après redémarrage

Lorsque cette installation ou configuration se fait automatiquement dans le cadre d’un fichier .bat, le redémarrage provoque évidemment l’interruption du script… qui doit donc être relancé au redémarrage, et qui doit détecter où en est l’installation. Pour éviter ce genre de problèmes, bien souvent, les commandes sont découpées en plusieurs fichiers .bat qui doivent être exécutés l’un après l’autre. Il est cependant possible de gérer le redémarrage du système avec relance automatique du script au redémarrage et reprise de l’installation ou de la configuration à la bonne étape.

Techniquement, il faut faire appel à la clé suivante de la base de registre : KMS issues - Count not increasing. I have setup a KMS host on a Windows 7 VM and given it a KMS key.

KMS issues - Count not increasing

It has registered with DNS successfully and is able to update it's own records. I have allowed TCP 1688 traffic into the box, and DCOM for WMI in and out. DHCP Server for Windows. A DHCP Server is a protocol server for TCP/IP networks that supplies IP addresses to other computers.

DHCP Server for Windows

DHCP Server for Windows also supports TFTP, DNS and HTTP protocol which makes a nice package for easy and simple to install networks e.g. for remote boot and other purposes. DHCP server runs on all Win32 capable Windows operating systems starting from Windows 95 to Windows 8. Installation The DHCP Server is a portable application and runs from anywhere on your computer. Extract the content of the zip file wherever you like, e.g. Dhcpsrv.exedhcpwiz.exereadme.txtwwwroot dhcpstyle.xsldhcppkgstyle.xslfavicon.icoindex.htmlRJ45_5.jpgRJ45_52.jpg Configuration with dhcpwiz.exe If you are a first time user of DHCP server then the dhcpwiz.exe program gives you a good head start in setting up the ini file needed to run the DHCP server. 1.

There is not much more to do than to hit the next button. DHCP Server for Windows. How To Make An Unattend.xml Sysprep File. Sysprep is very useful in preparing an image for cloning / imaging by stripping all specialization from the installation like: drives, SID, PNP enumeration, name and more.

How To Make An Unattend.xml Sysprep File

During the next reboot PNP is initiated and the Out Of Box Experience is run; this is similar to a preloaded laptop or computer from the factory starting up for the first time. When you are cloning/imaging machines in mass it is extremely handy to automate as much as possible. Windows Answer File Generator. La Console MMC (Microsoft Management Console) Faire ses shellcodes pour Windows. Base mesh organique avec les ZSpheres.

How to Force an MSI Package to Install Using Administrator Mode. When you need to install a program as an administrator, you can right-click on the .exe file and select Run as administrator.

How to Force an MSI Package to Install Using Administrator Mode

However, that option isn’t available for MSI packages. We will show you how to add an Install as administrator option for MSI packages. To add the Install as administrator option to the context menu for MSI packages, right-click on the Start button and select Run from the command menu, if you’re using Windows 8.1. If you’re using Windows 7 or another earlier version, select Run from the Start menu.

NOTE: You can also press the Windows key + R to access the Run dialog box. Deploying MS Project Professional 2010 using Desktop Central-Software Installation How To. Debian boot hide all messages. Refining Linux: Boot your Linux silently. When you freshly set up a Linux distribution by hand, you get a lot of verbose output when booting into your system, but also install'n'go distributions like Ubuntu oder SUSE output some text when loading the kernel.

Refining Linux: Boot your Linux silently

This is not always desired and many people want to suppress these insistent system messages, but it's not as easy as you might think. Booting your system quietly has some advantages as well as some disadvantages. The following list points out the main arguments for and against silent boot processes. UDP port forwarding with socat · Matt Ryall. This morning I was trying to do what should be a trivial operation with any modern operating system: forward traffic destined for a UDP port on my machine to a different port on the same machine.

UDP port forwarding with socat · Matt Ryall

Specifically, I wanted to redirect SNMP traffic coming in to UDP port 161 over to UDP port 10161 so a user program could receive the packets. My first feeble attempts to achieve this with netcat (or nc) met with failure, when the sending netcat process terminated after processing the first UDP datagram: # This processes one packet then dies :-( $ sudo nc -u -l 161 | nc -k -u localhost 10161 Perhaps there’s some way to get the second process not to die when it receives the data, but I couldn’t see how to do it.

The second approach I tried was using my Mac’s firewall tool, ipfw. You need to enable the firewall via System Preferences, Security, then add the rule via ipfw. . $ sudo ipfw list 00100 fwd 127.0.0.1,10161 log udp from any to any dst-port 161 in 65535 allow ip from any to any. Pivoting into a network using PLINK and FPipe. DISM : l’outil ultime de création de supports Windows 7 personnalisés. Nous allons voir ici comment monter et démonter une image WIM avec DISM.

DISM : l’outil ultime de création de supports Windows 7 personnalisés

Facts and myths about antivirus evasion with Metasploit. By mihi <schierlm at users dot sourceforge dot net>, @mihi42 Introduction When asking people about how to create a Meterpreter payload executable that evades antivirus, you will get different answers, like using encoders, or changing the template.

Facts and myths about antivirus evasion with Metasploit

Others say it is useless to use or even improve Metasploit's exe generation since the AV engines will detect the RWX stub, so you have to find your own way to get RWX memory. Some of these answers are just outdated, others still work, but for all of them there is no real evidence available on the Web. The reason for this is simple: AV evasion is like the Heisenberg uncertainty principle: Whenever you scan a piece of malware (and especially when you upload it to services like VirusTotal, you will affect future detection of the same file or similar files.

SQUID transparent SSL interception. July 2012: Small update on new versions of squid (squid v 3.2) here There seems to be a bit of confusion about configuring SQUID to transparently intercept SSL (read: HTTPS) connections. Some sites say it’s plain not possible: Recent development in SQUID features have made this possible. This article explores how to set this up at a basic level.

The SQUID proxy will basically act as a man in the middle. There are some concerns that transparently intercepting HTTPS traffic is unethical and can cause legality issues. Create a Custom Live Linux CD - Leveraging BusyBox and OpenSSH. Mike Chirico (mchirico@users.sourceforge.net) or (mchirico@comcast.net) Copyright (c) 2005 (GNU Free Documentation License) Last Updated: Sun Nov 13 09:07:31 EST 2005 The latest version of this document can be found at: Create a Custom Live Linux CD - Leveraging BusyBox and OpenSSH These steps will show you how to create a functioning Linux system, with the latest 2.6 kernel compiled from source, and how to integrate the BusyBox utilities including the installation of DHCP. Plus, how to compile in the OpenSSH package. The system will have full ssh capabilities. Writable NTFS. Once you have obtained Basic USB support, you now want to connect a storage (USB stick, USB harddisk, etc) device to your router. Using kmod-fs-ntfs only provides read support.

This HowTo will show you how to obtain read/write support for NTFS volumes. Automount USB NTFS partition on boot? [Ghost] USB Ghost BOOT with common NIC drivers. DriverPack LAN 12.08 for Windows Vista/7 (x86) Install Themes In GNOME 3 (GTK3 / Mutter / Metacity Themes) In the latest GNOME 3, changing the theme isn't as easy as you're used to.

Using Gnome Tweak Tool you can change the GTK theme but how about the titlebar (Mutter/Metacity theme)? Read on! How to install GNOME3 GTK themes To change the GTK theme in GNOME 3 (with or without GNOME Shell), you can use Gnome Tweak Tool which is available in the GNOME 3 Ubuntu PPA, official Ubuntu 11.10 and Fedora 15 repositories, etc. If you're using Ubuntu 11.04 and the GNOME 3 PPA or Ubuntu 11.10, run the following command to install it: Tutoriel:personnaliser_gnome. Veuillez prendre note que cette page a été conçue en fonction de la version 2.x de GNOME présente sous Ubuntu 10.04 LTS. L'essentiel de son contenu est désuet en rapport avec la version 3.x de GNOME, à la base d'Ubuntu 11.10 et ultérieur. Nous verrons ici comment changer l'apparence du bureau de base Gnome pour le personnaliser selon vos souhaits.

Votre bureau gnome est composé de différents éléments. Installing Guest Additions on Debian. Linux Tools Listing. Créer une clé USB Multi-boot en 6 étapes, avec Easy2Boot [Tuto] Bonjour à tous, voici un petit article dont le but est de vous présenter Easy2Boot, un outil très pratique pour réaliser une clé USB multi-boot. Je tiens avant tout à remercier Sirhudson pour son post sur le forum linuxmint-fr, car c’est grâce à lui que j’ai appris a manipuler cet outil.

Personnellement je me ballade toujours avec sur moi une clé USB, comportant un panel varié de live CD (Lubuntu 32 et 64bits, Manjaro net, parted magic etc.), ce qui m’a permis plusieurs fois de faire du dépannage à l’improviste. Alors avant de recopier bêtement les instructions du lien précédent (légèrement mis à jour), je voulais évoquer les points forts de ce formidable outil et ajouter quelques précisions pour les non-technophiles. Pierre Torris Home Page. Le type de l'identificateur unique universel (UUID) n'est pas pris en charge - Déploiement Windows. How to get a Kaspersky Security Center 10 network agent connector log (trace) file. Ghost Solution Suite (GSS) in english - ICT Manuaali. Ghost Solution Suite (GSS) is Symantec's tool for centralized management of workstations. In fact, I maintained computer classrooms with this tool for several years. So i think i know something about this:) Preparations before installation GSS needs user in Active Directory with certain privileges.

This user account is called console service account. Use GPO to define following exceptions to desktops firewall: Program: c:\program files\symantec\ghost\ngctw32.exe, scope: ghost server File and printer sharing on all ports, scope: ghost server This way you can allow installing GSS client to workstations without any special workarounds. Installing GSS software. GImageX - AutoIt. GImageX is a graphical user interface for the ImageX tool from the Windows Assessment and Deployment Kit (Windows ADK).

ImageX is used to capture and apply WIM images for Windows deployments. GImageX uses the supported Microsoft WIMGAPI API for working with WIM files. GImageX is a native application for the x86 and x64 platforms (Windows XP and above) that will also work in Windows PE (WinPE). There is also a COM component version included that implements some of the basic functionality for direct use in languages such as VBScript. Guide to Creating Bootable CD/DVD's without A:\ Floppy Drive. Time to test the bootable CD.

Close out any other programs and save any information that needs saving. Leave the newly burned CD in the drive. COMPILER VOS SCRIPTS POWERSHELL ET LES TRANSFORMER EN .EXE - Le Blog d'un geek. IDEAL Administration : Comment accéder aux propriétés WMI d'un poste ? Offensive Infosec Blog. In December I purchased the certification course SMFE from security tube trainer Vivek Ramachandran. AntiTools/web/multiw3af at master · antitree/AntiTools. Lillou Dalas, multi proxy bypass ! - 0x0ff.info. Configuring Proxy server with Antivirus (Squid+clamAV+squidguard+dansguardian) Bash Shell: Replace a String With Another String In All Files Using sed and Perl -pie Options.

Docker : Tutoriel pour manipuler les conteneurs. Bash: replace an entire line in a text file. If statement - Bash: Nesting if in a for loop. Colorier un script bash. Other Comparison Operators. Docker : Tutoriel pour manipuler les conteneurs. Echo Command - Linux Shell Scripting Tutorial - A Beginner's handbook. Passing parameters to a bash function. Chapter 4. Command Line Options. Chapter 3. Usage. Scans de vulnérabilités web avec Nikto. Linuxtricks : Manipulation de chaine : CUT et AWK - Documentation.  cut et awk - manipulation des champs de fichiers-textes.

Extraire les adresses IP d'un fichier log HTTP. Creating and Using a WinPE3.1 image with GSS 2.5.1. Script wmi to join domaine. Change a computer name from the command-line. Execute script after ghost. Undervolting in Linux via modified video BIOS - CryptoBadger. Le framework metasploit – 2/2. Multiple NIC Ghost Boot CD. Using Sysprep & Clonezilla. Win7 + SysPrep + CloneZilla = lost settings. Sysprep - Fatal error occurred while trying to sysprep the machine.

PXE without DHCP - Windows PE. How to use the TFTPD32 TFTP Server with Symantec Ghost Solution Suite 2.5 to distribute Windows PE packages via PXE. [HowTo] Utilisation de la solution SYSPREP sous Windows Seven « Anthonix.fr – High Tech/Informatique : Tutoriels & actualité, insolite, geek ! How to use the TFTPD32 TFTP Server with Symantec Ghost Solution Suite 2.5 to distribute Windows PE packages via PXE. How to use the TFTPD32 TFTP Server with Symantec Ghost Solution Suite 2.5 to distribute Windows PE packages via PXE. PXE Network Boot : TFTPD Configuration. Symantec Connect. Built in Administrator account gets disabled after sysprep. MDT probleme compte admin désactivé et + Console task fails with the error Drivers could not be found in the PreOS for the following devices and mentions a Intel ICH SATA AHCI controller. Command line - Download a file via HTTP from a script in Windows. WMI Remote "Access Denied" Windows - How can I edit local security policy from a batch file?

Useful Command-line Commands on Windows. RocketDock - A shortcut and application docking program. Tutoriel:acceder_a_votre_nas_depuis_toutes_les_applications. Windows Remote Desktop: Setting Up Web Access. Rsync from linux to smb device (ie: mybook, windows computer, etc..) Script pour copie de fichier de Debian vers Windows - Linux. PsExec: Win7-to-Win7 Access Denied (psexesvc remains)

PsExec - Execute process remotely. Command line - PuTTY scripting to log onto host. ColdSauce/CosmosBrowserAndroid. R9 280x Bios Voltage Mod. TDR Registry Keys (Windows Drivers) Sysprep.xml et intégration au domaine sous Windows 7. RAMDisk - Software - Server Memory Products & Services - Dataram. Creating an .inf File. Créer un RamDisk, disque virtuel en RAM, avec IMDISK.