Posts Tagged ‘ Script ’

Using Ajax Toolkit Controls on Pages With Other Scripts and Master Pages

2017/11/27
By
Modified: 2017/11/05
Ajax Extended Calendar

[ASP.NET – This  material was tested on Win7, W2K8 Server,  IS7 and IIS 7.5  and Microsoft Visual Web Developer 2010]   Install Proper Version Download and unzip proper version form http://ajaxcontroltoolkit.codeplex.com/releases/view/76976 Open the site where you intend to uses Ajax Controls, Follow  generic instruction and add a new control tab inside your Visual Studio or Web Dev. By doing this, you copy a file “AjaxControlToolkit.dll” and others into your site Bin directory. Text file  “/Bin/AjaxControlToolkit.dll.refresh” has a pointer to a folder where you unzipped your Ajax Toolkit. If you move Toolkit installation files somewhere, you can always update the pointer manually.   Use Ajax Control Open the page that you intend to…

Read more »


Windows 7 – How to Copy and Delete Massive System Directories

2017/11/17
By
Modified: 2017/11/05
2007-07-07

Problem: You have an old discarded instances of failed Windows 7 installs.  You can rename the directories, but they still clutter your hard drive, and they are very hard to get rid of. I simply can’t take this painful and slow process of deleting huge system directories under Windows 7.  Remember this endless stream of errors, and warnings, and skips.  The same task in Win XP only takes a few seconds.  But under Windows 7, it  is a project of its own.  Pain! Finally, my patience ran out.  I decided to write a script.  And it it worked!   Delete Windows System Directories Here is a fantastic way to delete huge Windows 7…

Read more »

You can sign PowerShell certificates with New-SelfSignedCertificate and without MakeCert

2017/10/06
By
Modified: 2017/09/16
_20 Code Signing Certificate

  For those who can’t wait, here is the solution right away. Next two lines actually work – without using MakeCert.exe: New-SelfSignedCertificate -DnsName STA07 -Type CodeSigning Set-AuthenticodeSignature C:\T\add-signature.ps1 @(gci Cert:\LocalMachine\My -DnsName STA07 -codesigning)[0] First command creates a certificate in your Intermediate Certification Authorities.  Second command signs the script.  Wow!  Innocent error in documentation from our Seattle friends (https://technet.microsoft.com/en-us/library/hh847874.aspx) probably due to luck of testing.  But a very satisfying result in the end. Now the whole story. On Monday, 2016-02-22 I converted last PC to Windows 10.  A got a nice clean and crispy install.  Everything is working well.  Everything is in place.  I do not want to install any ad hoc software…

Read more »

Automate Database Backup with SQL Express

2017/10/02
By
Modified: 2017/09/16
Automate Database Backup with SQL Express

This article describes, how to automate database backup in SQL Express with mixed Windows and SQL Authentication running on Windows 2008 Server.   This material was tested with Microsoft SQL Server 2008 R2 Express. SQL Server 2008 Enterprise comes with Maintenance Plan feature.  That feature allows amazing flexibility and auditing.  SQL Express edition lacks this feature.  But you still need a backup. Backup automation with SQL Express consist of 3 steps: (1) Write the script to backup all your databases. (2) Test the script by initiating it from a command prompt. (3) Schedule the script using Task Scheduler. Here is each step in detail. ` (1) Write the Script This script overwrites…

Read more »