Search This Blog

Monday, December 14, 2009

Vista Missing User Profile

Missing your Vista user profile? Rebooted several times and it's still not loading? If it still exists in Users folder, follow the instructions.
http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

Wednesday, December 9, 2009

Bluescreen when running safe mode

Something changed this part of the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot
Reference: http://blog.didierstevens.com/2007/02/19/restoring-safe-mode-with-a-reg-file/
He gaves a .REG file that you can run in normal mode to fix the bluescreen issue.

Tuesday, October 27, 2009

Symantec Ghost MSI

SCRIPT TO INSTALL VIA GPO
Set fso = CreateObject("Scripting.FileSystemObject")
MyFile = "C:\Program Files\Symantec\Ghost\ghost.exe"
If (Not fso.FileExists(MyFile)) Then
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "msiexec /i ""\\server\software\Symantec Ghost 8.2 1117\Symantec Ghost.msi"" /q"
WScript.Sleep 300000
End If

Wednesday, September 23, 2009

Saturday, September 12, 2009

Dial-a-fix

Dial-a-fix http://wiki.lunarsoft.net/wiki/Dial-a-fix
I don't remember why I used it before, but it was useful.

Sunday, June 7, 2009

Local only or Unknown network (in progress)

Local only or unknown network, both wired and wireless does not work.
If Norton Internet Security was on the computer, it might not have been completely uninstalled. Run the Norton Removal Tool on the computer, ftp://ftp.symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe

Sunday, May 31, 2009

geturl, C++ code to retrieve the first link to SEP definition

This is a major part of a SEP definition download via batch. Use wget to download the webpage. Read page, ignores all text until it reaches "targetUrl[]", then reads the rest of the url and saves as file "sep".

#include
#include
using namespace std;

int main()
{
char c;
int i = 0;
char targetUrl[] = "http://definitions.symantec.com/defs/";
char url[100];
ifstream inStream("sep");

while (!inStream.eof())
{
inStream.get(c);
while ((i != 37) && (c == targetUrl[i]))
{
url[i] = c;
i++;
inStream.get(c);
}

if (i != 37) //url not found
{
url[0] = '\0';
i = 0;
}
else
{
while (c != '\"')
{
url[i++] = c;
inStream.get(c);
}
url[i] = '\0';
inStream.close();
ofstream outStream("sep");
outStream << url;
outStream.close();
return 0;
}
}
return 0;
}

Saturday, May 30, 2009

Parse Date in Batch

FOR /F "tokens=2-4 delims=/ " %%1 IN ('DATE /T') DO (
SET MONTH=%%1
SET DAY=%%2
SET YEAR=%%3
)

Friday, May 8, 2009

Remove Saved Passwords

Run "rundll32.exe keymgr.dll, KRShowKeyMgr"

Monday, March 2, 2009

InstallRite

InstallRite keeps track of what happens to your computer before and after an installation, and it can create an installer to install on other computers.

Monday, January 26, 2009

Dual monitor with Citrix

Source: http://forums.citrix.com/thread.jspa?messageID=74778&fromSearchPage=true

Swapping the primary monitors worked for me too to fix the seamless app issue.

It looks like the citrix client wants the primary monitor to be on the logical left. If the primary monitor is on the logical right then the client displays the a full window with the app inside instead of just the seamless app.