StevenWhiting.com

A place for info I've learnt in IT & stuff. (I get a little kick back from affiliate ads & links, just so you are aware)

Browsing Posts published in March, 2011

secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

 

Click Start
Run
Then type (case sensitive)

Rundll32 printui.dll,PrintUIEntry /ga /n\\ASSET TAG NO\PRINTER SHARE NAME

Example

rundll32 printui.dll,PrintUIEntry /ga /n\\HIS02020\HPLaser1100

Usage:

RUNDLL32 PRINTUI.DLL,PrintUIEntry [ options ] [ @commandfile ]

/a[file] binary file name
/b[name] base printer name
/c[name] unc machine name if the action is on a remote machine
/dl delete local printer
/dn delete network printer connection
/dd delete printer driver
/e display printing preferences
/f[file] either inf file or output file
/ga add per machine printer connections
/ge enum per machine printer connections
/gd delete per machine printer connections
/h[arch] driver architecture, one of the following:
Alpha | Intel | Mips | PowerPC
/ia install printer driver using inf file
/id install printer driver using add printer driver wizard
/if install printer using inf file
/ii install printer using add printer wizard with an inf file
/il install printer using add printer wizard
/in add network printer connection
/j[provider] print provider name
/k print test page to specified printer, cannot be combined with command when installing a printer
/l[path] printer driver source path
/m[model] printer driver model name
/n[name] printer name
/o display printer queue view
/p display printer properties
/q quiet mode, do not display error messages
/r[port] port name
/s display server properties
/Ss Store printer settings into a file
/Sr

Restore printer settings from a file
Store or restore printer settings option flags that must be placed at the end of command:
2 PRINTER_INFO_2
7 PRINTER_INFO_7
c Color Profile
d PrinterData
s Security descriptor
g Global DevMode
m Minimal settings
u User DevMode
r Resolve name conflicts
f Force name
p Resolve port
/u use the existing printer driver if it’s already installed
/t[#] zero based index page to start on
/v[version] driver version, one of the following:
Windows 95 or 98 | Windows NT 3.1 | Windows NT 3.5 or 3.51 | Windows NT 3.51 | Windows NT 4.0 | Windows NT 4.0 or 2000 | Windows 2000
/w prompt the user for a driver if specified driver is not found in the inf
/y set printer as the default
/Xg get printer settings
/Xs set printer settings
/z do not auto share this printer
/Z share this printer, can only be used with the /if option
/? help this message
@[file] command line argument file

http://www.robvanderwoude.com/2kprintcontrol.php

 

When you try to open a file attachment in Outlook, you get an error:

Can’t create file: filename. Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder.

This problem occurs usually when Outlook cannot access the temp file the file is linked to. To resolve this problem, try the following steps:

1. Click Start > Run and type regedit.

2. Click Edit > Find and type OutlookSecureTempFolder.

3. When regedit has found the entry, it will tell you where your Outlook temporary files are stored. It will look similar to:

C:\Documents and Settings\username\Local Settings\Temporary Internet Files\OLKrandomnumber

4. Open My Computer and navigate to this location on your hard drive.

5. Delete all of the files in this folder.

6. Restart Microsoft Outlook and you should be able to open your attachment.

http://www.technipages.com/outlook-cant-create-file-error-when-opening-attachment.html

 

ActiveX error appears in Outlook after you just edited your signature

Go to C:\Documents and Settings\USERNAME\Application Data\Microsoft\Signatures

Make a backup of the files that are in there.

Edit the .htm version of the signature in notepad (Don’t use Word as that’s what creates this problem in the first place).

Look for an Object tag, for example:

OBJECT id=ieooui classid=clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D>

And remove it. Now save the file. Open Outlook and start a new e-mail with your sig in. The ActiveX error should now have gone.

UPDATE:

If the user has redirected folders on then their signature will be on the server like the following:

\\SERVERNAME\SHAREFOLDER\USERNAME\Application Data\Microsoft\Signatures

May need to make hidden folders visible.

 

Searching through PayPal forum to an answer to my question on removing my credit card I noticed this comment

customer friendly business processes are rare in the UK and Paypal is unfortunately no exception.

I have two credit cards registered, one was stolen and the replacement card is already confirmed.

Still Paypal supposes that a stolen credit card can be a funding back-up.

As a bank their business processes are designed by marketing aspects rather than logic, sense, and customer satisfaction. Generally Paypal restricts everything possible and arguments with security reasons even where it is obvious that they want to make some extra bucks over using their costly support lines to full capacity.

However, I will not call, and leave it to Paypal to identify invalid cards.

BTW, recently I helped a fellow ebayer to exploit a rather stupid security flaw in the Paypal ebay interface:

A seller had a writing mistake in her Paypal associated email address from hotmail. So Paypal grabbed the money, well knowing that the seller’s email address is unknown to them, and the transaction couldn’t be finished.

Don’t expect that they informed me by email, of course not, Paypal added this “unclaimed” money to their assets and leaves it to the “merchants” to find out why the ebay deal couldn’t be finalized.

However, I just registered an hotmail account with the erraneous name and gave the seller the password to register the new email address as additional Paypal payment email. The money just moved in an instant…

Note that anyone could create and add these email addresses to their Paypal associated payment addresses.

One should think every beginner in application development would start with verifying email addresses but not so a bank who relies most of its business on online applications, very strange… and frightening.

Best regards,

TheGerman

If true, that’s not exactly secure.

 

Just print the PDF to Microsoft Office Document Image Writer (I believe comes with Office). It will save it as a TIF. Open in Gimp and then edit the text as you wish. Used to blank out some text.

 

Edit the saved .rdp file with notepad++ as I couldn’t get Notepad to read it properly.

At the end of the file put

span monitors:i:1

And save it.

Should be fine then.

http://www.splitview.com/using-remote-desktop-with-dual-monitors-in-span-mode

 

http://www.symantec.com/business/support/index?page=content&id=TECH48036

 

http://jesscoburn.com/archives/2007/10/15/installing-windows-2008-via-usb-thumbdrive/

 

Bad Behavior has blocked 104 access attempts in the last 7 days.