Thursday, 2 February 2017

How To Configure Legal Notices On Domain Computers Using Group Policy

How To Configure Legal Notices On Domain Computers Using Group Policy – Few years ago when i was working on Windows Server 2008 R2, I was told by my manager to configure a logon banner. What came to my mind was to write a script for it and run the script at logon. There are 2 ways to configure legal notices on domain computers, you can configure it by writing a script and executing it at the logon or configuring legal notice using a group policy. I believe the second method is very easy. You can configure Windows Server to display a message to users when they log on. You can use the message display functionality to personalize the logon process, provide news or information, and for other similar purposes. The message appears after the user presses CTRL+ALT+DEL and disappears after the user clicks OK.
In this post we will see on how to configure legal notices on domain computers using group policy. We will create a group policy, modify the policy settings and link it to the domain. I am configuring this policy on a domain controller running Windows server 2008 R2 SP1 edition.
Login to the domain controller machine with the administrator account. Click on Start, Click on Administrative Tools, Click on Group Policy Management. Under Domains, right click your domain and click on Create a GPO in this domain, and link it here.
How To Configure Legal Notices On Domain Computers Using Group Policy Snap 1

We will create a policy named Logon_Banner. Click on OK.
How To Configure Legal Notices On Domain Computers Using Group Policy Snap 2

Right the policy Logon_Banner and click on Edit. On Group Policy Management Editor, click on Computer Configuration, expand Policies, expand Windows Setttings, expand Security Settings, expand Local Policies, click on Security Options.
How To Configure Legal Notices On Domain Computers Using Group Policy Snap 3
On the right pane look for the policy Interactive Logon : Message text for users attempting to log on. This security setting specifies a text message that is displayed to users when they log on. You can paste the Logon text that is to be displayed to the users before they log in. Click on Apply and OK.
How To Configure Legal Notices On Domain Computers Using Group Policy Snap 4
On the right pane look for the policy Interactive Logon : Message title for users attempting to log on. This security setting allows the title to appear in the title bar of the window that contains the Interactive logon.Type the title text and click on Apply and OK.
How To Configure Legal Notices On Domain Computers Using Group Policy Snap 5
On the client computer open the command prompt and run the command gpupdate.
How To Configure Legal Notices On Domain Computers Using Group Policy Snap 6
Log off from the client computer. Hold CTRL+ALT and press DEL. You must find the logon banner. Click on OK to login to the computer.
How To Configure Legal Notices On Domain Computers Using Group Policy Snap 7

Thursday, 19 January 2017

Blank SOLIDWORKS Installation Manager Problem Solved

If you experience a blank SOLIDWORKS Installation Manager window while attempting to install your software this may be caused by either your local firewall blocking HTML files from rendering on screen or your Internet Browser settings.
Blank SOLIDWORKS Installation Manager
Blank SOLIDWORKS Installation Manager

Solution #1: Unblock HTML

After unzipping the SOLIDWORKS Installation Manager files you downloaded from solidworks.com you may need to unblock HTML files:
  1. Browse to the downloaded installation file location  <downloads>\sldim\lang\english\HTML\
  2. Right-click on the frameset.html and select properties from the shortcut menu
  3. If an Unblock button is present in the properties dialog then select it.
  4. Repeat this process for other HTML files in the folder if they are blocked
  5. Re-launch the SOLIDWORKS Installation Manager process
Unblock HTML
Unblock HTML

Solution #2: Reset Internet Browser

Try resetting your Internet Browser options to default, close the browser and re-launch the SOLIDWORKS Installation Manager.
This could also be caused by a Microsoft Internet Explorer security update mentioned at http://support.microsoft.com/kb/967941.  Try uninstalling through Start > Control Panel > Programs and Features > View installed updates.  Uninstall KB967941 if possible and follow Workaround Method 4 from the web page.

Tuesday, 27 December 2016

PICKFIRST (System Variable)

PICKFIRST (System Variable)

Controls whether you can select objects before you start a command.
Type:Integer
Saved in:Registry
Initial value:1
0
Off. You can select objects only after you start a command
1
On. You can also select objects before you start a command

Friday, 2 December 2016

Making classic ASP error messages display in the browser

In IIS 7 (Windows 2008 Server) the default settings prevent ASP error messages from being displayed to the user. This is good in a working web site but error messages are essential during the development and debugging stages. The error messages can be switched on through IIS properties but they require two adjustments. Part of the IIS property screen is shown below and the two sections that need changes are highlighted, ASP and Error Pages.
Setting ASP error messages in IIS
First, double click the ASP icon to open the ASP page. Expand the Debugging Properties node and set Send Errors To Browser to True. This is not enough to get a detailed error message. At this stage it will only show the error defined by Script Error Message.
Making ASP errors appear
Go back to the IIS properties as shown above and open the section for Error Pages. Select the link marked Edit Feature Settings from the list on the right and this opens the following dialogue. If you are viewing the pages with the server's own browser, you can select the bottom radio button as shown. This is the recommended selection for a live website because it will send custom error pages to an end user. Customer error pages are configured at the previous screen. If you are developing on a different computer you must set the radio button to Detailed Errors. This will send the full error message with an error code and line number. This is not advisable for a live website and the radio button should be changed back when debugging is complete.
Showing detailed ASP error messages

Making errors display in Internet Explorer

Internet Explorer does not show proper error messages by default. To switch them on, go into Internet Options and find the checkbox marked "Show friendly HTTP error messages" which is located under the Advanced tab and Browsing.

Thursday, 1 December 2016

Autodesk The software license check out failed. Error 20"

The software license check out failed. Error 20"

how you fix it is
1: Pull up run (windows button and r) and type in services.msc
2: Click on the standard tab at the bottom.
3: Find FLEXnet licensing service.
4: Right click on it and press properties.
5: Make the start-up type Automatic.
6: Under “service Status”, press start.


Start by deleting the C:\ProgramData\Flexnet directory (hidden)


Then reactivate license.

Wednesday, 30 November 2016

Delete key does not work in AutoCAD

Delete key does not work in AutoCAD

Issue:

When selecting objects in AutoCAD and pressing the Delete key on your keyboard, nothing happens. The selected objects are not erased. Additionally, if you use the ERASE command or click Erase on the Modify menu, the selection set is cleared and you are prompted to select objects again.

Solution:

To resolve this problem, s et the PICKFIRST system variable to 1. When PICKFIRST is set to 0, selected objects are not erased when you press Delete. Set PICKFIRST to 1 to enable noun-verb selection:
  1. Enter pickfirst on the command line.
  2. Enter 1 at the prompt.
You can now select objects and press Delete to erase the selected objects.

If the issue is hardware related, disconnect and reconnect your keyboard or try a different keyboard.


Additional information
The PICKFIRST system variable affects the selection of objects for almost all commands, and it is the system variable that is changed when you toggle the noun/verb selection setting.
When PICKFIRST is set to 0, you invoke the command first, and then select the objects to which you want to apply the command.
When PICKFIRST is set to 1 (default), you can either:
  • Invoke the command first, and then select the objects to which you want to apply the command.
  • Select the objects first, and then invoke the command to apply to the selected objects.
With the Sysvar (System Variable) Monitor in AutoCAD 2016 (and newer) products, you can configure a list of system variables whose modifications will cause an alert at the command line, or also with a balloon notification. Pickfirst is a good choice to have monitored by this tool, as its effects are far-reaching within AutoCAD.

Monday, 10 October 2016

EXPLORER.EXE corrupted or infected

Here's how to fix this issue:

1. CTRL-Alt-Del to bring up Task Manager.
2. Click File | New Task(run).
3. Type regedit in the Run box and click OK.
4. Browse to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution.options

5. Under this key there will be subkeys named explorer.exe and iexplorer.exe. Delete the explorer and iexplorer keys entirely. They should not be listed under the Image File Execution.Options key.
6. Close the Registry Editor.
7. Restart the computer.

Assuming no other viruses / adware / spyware / malware are interfering, the Windows desktop should load fine now