Search This Blog
Friday, September 12, 2014
Here I am learning to do things all over again...
A line of circles
http://lesley-o0.blogspot.com/p/tube.html
A circle
http://lesley-o0.blogspot.com/p/circl.html
Labels:
HTML5 JavaScript
Saturday, August 30, 2014
Microsoft MTA Windows Server Administration 98-365
I just finished CBT Nuggets Microsoft MTA Windows Server Administration 98-365 series. It had a few things I didn't know yet. It was neat to see the new tools I had been missing. I'm already torturing the few real experts I know.
Wednesday, August 20, 2014
Notes Redirect File
The Notes Redirect File or .nrf is a text file that can be created automatically when you use the admin client to delete a database and you want to leave a clue, for the accessing clients, as to where they can go to continue to access a replica of the db.
We use this when we remove a replica of a database so that client can continue to access the file on the another server. The format looks like this:
[NotesRedirectFile]
Type=Move
RepID=87654321:12345678
Title=lesleysRedirTest
Ref=CN=APP001/OU=SRV/O=MyCompany!!isg\lesleysRedirTest.nsf
The name of this file is lesleysRedirTest.nrf (matching the name of the db, lesleysRedirTest.nsf) and, it goes in the directory of the server that the db replica is being deleted from.
In this case we deleted the db from server APP002/SRV/MyCompany and clients clicking the bookmarks or workspace icons going to APP002 will automatically have their links to APP002 deleted and replaced with links to the db on APP001.
If you need to get a hold of a replica id of the db, in case you forgot to create the redir on delete, you can get one from the remaining dbs and get a db link. When you paste the db link in to a text editor you will get the following, with the replica id in it...
lesleysRedirTest
<NDL>
<REPLICA 87654321:12345678>
<HINT<CN=APP001/OU=SRV/O=MyCompany</HINT>
<REM>lesleysRedirTest</REM>
</NDL>
We use this when we remove a replica of a database so that client can continue to access the file on the another server. The format looks like this:
[NotesRedirectFile]
Type=Move
RepID=87654321:12345678
Title=lesleysRedirTest
Ref=CN=APP001/OU=SRV/O=MyCompany!!isg\lesleysRedirTest.nsf
The name of this file is lesleysRedirTest.nrf (matching the name of the db, lesleysRedirTest.nsf) and, it goes in the directory of the server that the db replica is being deleted from.
In this case we deleted the db from server APP002/SRV/MyCompany and clients clicking the bookmarks or workspace icons going to APP002 will automatically have their links to APP002 deleted and replaced with links to the db on APP001.
If you need to get a hold of a replica id of the db, in case you forgot to create the redir on delete, you can get one from the remaining dbs and get a db link. When you paste the db link in to a text editor you will get the following, with the replica id in it...
lesleysRedirTest
<NDL>
<REPLICA 87654321:12345678>
<HINT<CN=APP001/OU=SRV/O=MyCompany</HINT>
<REM>lesleysRedirTest</REM>
</NDL>
Tuesday, June 18, 2013
Here I am learning to do things all over again...
1000 random color dots on a canvas
http://lesley-o0.blogspot.com/p/random.html
1000 random color small squares
http://lesley-o0.blogspot.com/p/1000randomsmallquares.html
1000 random color squares of random size
http://lesley-o0.blogspot.com/p/1000randomcolor.html
Monday, June 17, 2013
How to fix WinMgmt
So I was working on a KB article for our support staff and wrote up the
following....
Upon further review, due to the possibility of affecting the wrong systems,
we decided to leave the at-workstation instructions only.
CMD: DOS command prompt
PS: PowerShell
*** Desk-side support, a PC Administrator or a client with elevated rights ***
*** can perform the following remotely... ***
1. With elevated rights open a CMD prompt or PowerShell on your, the
technician's, computer.
2. Stop winmgmt.
CMD: sc \\clientPC stop winmgmt
PS: Stop-Service -InputObject $(Get-Service -Computer "clientPC" -Name "winmgmt")
3. Rename the folder.
CMD: net use z: \\clientPC\c$
ren z:\windows\system32\wbem\repository repository_bad
net use z: -d
PS: rename-item \\clientPC\c$\windows\system32\wbem\repository repository_bad
4. Restart the PC.
CMD: shutdown /m:\\clientPC /r /t:0
PS: restart-computer -ComputerName "clientPC" -force
*** Desk-side support, a PC Administrator or a client with elevated rights ***
*** can perform the following at the client's workstation... ***
1. With elevated rights open a CMD prompt.
2. Type: net stop winmgmt
Type "Y" when prompted to stop dependent services.
3. Type: ren %windir%\System32\Wbem\Repository Repository_bad
4. Restart the PC.
5. Try your application again.
following....
Upon further review, due to the possibility of affecting the wrong systems,
we decided to leave the at-workstation instructions only.
CMD: DOS command prompt
PS: PowerShell
*** Desk-side support, a PC Administrator or a client with elevated rights ***
*** can perform the following remotely... ***
1. With elevated rights open a CMD prompt or PowerShell on your, the
technician's, computer.
2. Stop winmgmt.
CMD: sc \\clientPC stop winmgmt
PS: Stop-Service -InputObject $(Get-Service -Computer "clientPC" -Name "winmgmt")
3. Rename the folder.
CMD: net use z: \\clientPC\c$
ren z:\windows\system32\wbem\repository repository_bad
net use z: -d
PS: rename-item \\clientPC\c$\windows\system32\wbem\repository repository_bad
4. Restart the PC.
CMD: shutdown /m:\\clientPC /r /t:0
PS: restart-computer -ComputerName "clientPC" -force
*** Desk-side support, a PC Administrator or a client with elevated rights ***
*** can perform the following at the client's workstation... ***
1. With elevated rights open a CMD prompt.
2. Type: net stop winmgmt
Type "Y" when prompted to stop dependent services.
3. Type: ren %windir%\System32\Wbem\Repository Repository_bad
4. Restart the PC.
5. Try your application again.
Labels:
CMD,
DOS,
PowerShell,
Windows
Thursday, May 17, 2012
How to create a Notes ID from Scratch
To do this you need access to the Notes Administrator Client software and your organizational Cert files.
If a client starts the Lotus Notes software with out an ID created for them the client software will create self certified ID for them, without a password that expires in 2 years.
To make one, here is what I did...
Setup - The easy way
I started with a multi-user install of Notes 8.5 and delete the Lotus dir in %USERPROFILE%\Local Settings\Application Data.
Setup - The slightly harder way
Or, if using the single client install of Notes 8.5, Delete the following from the %ProgramFiles%\IBM\Lotus\Notes\Data directory...
- User.id
- Desktop8.ndk
- Names.nsf
- Bookmark.nsf
- Notes.ini
- User Name: Use a fictitious name. I used 'A User'.
- Domino server: Leave blank
- I want to connect to a Domino server: unchecked
- Click Finish
- User.id (A User/A User)
- a blank Desktop8.ndk
- a blank Names.nsf
- a blank Bookmark.nsf
- a minimal Notes.ini
You have finished creating a scratch ID file! (read on though to finish making a usable ID)
- Start the Notes Administrator Client...
- Select Server: local
- Go to Configuration Tab > Tools > ID Properties... > Your Identity > Your Names > Names Changes...
- In the notes Name Changes click on Advanced Options...
- Click the Obsolescent Name Change... button.
- In the Change User Name dialog type in the new name to match the Common Name of the client as listed in their person doc in the public address book. For example 'Lesley Phillips'.
- Click OK.
- Click OK.
- Click Close. The name should now only be 'Lesley Phillips/', changed from 'A User/A User'.
- Click Close.
- Start the Notes Administrator Client...
- Select Server: local
- Go to Configuration Tab > Tools > Certify...
- Change the server to your certifier server
- Change the certifier ID to the needed certifier (I'm using MyCompany.id which is the cretifier for O=MyCompany)
- If you cretifier is password protected, you will need to type it in here and click OK.
- In the Choose ID File to Certify pick user.id and click Open.
- In Error Accessing Directory Entry dialog, this is ok., click Yes
- In the Certify ID dialog, change the options to fit your organization, and click the Certify button.
- In the Domino Administrator dialog, click No to finish, or Yes to do another one.
Labels:
Base Files,
ID Files,
Notes Administrator
Wednesday, May 2, 2012
New Lotus Notes Offers More
Honda wrote the following article, on some of the work I help support, with with a picture of me at my desk. What isn't in the article is that the two monitor workstation is the domain monitor. It is primarly a dashboard of the Domino and Proofpoint servers in our care, and backup admin for thoes occational naughty admins out there. The desktop behind my head is a VM Server where I test OS, Server and Client builds and primary remote controll access point into the network. And finally, behind me (not pictured), is my trusty laptop, which I'm lucky if it last 9 months without a reload due to OS, patches, client reconfigurations, and the occotional bad programming. (We'll just delete that last bit-o-code!)
Permission to reproduce from Honda.
Subscribe to:
Posts (Atom)
