Lapas

piektdiena, 2014. gada 5. septembris

Configure classic workspace for AutoCAD 2015


Solution 1:
Open the Customize User Interface dialog box (or type the command CUI).
Select the desired workspace or create a new one.
Use the plus symbol to open the Toolbars tree in the left window.
Drag the toolbars you want to the toolbars tree in the right window.
Click Apply and then click OK to close the configuration editor.

Solution 2:
The classic workspace can be imported from a previous version:
In the Ribbon - Manage Tab, click "Import" (or type command CUIIMPORT).
In the customization editor, click the Transfer Tab. The current configuraton file is in the right pane.
In the left pane, load the configuration file (acad.cuix) from AutoCAD 2014 or an earlier version
(C:\Program Files\Autodesk\AutoCAD 201X\UserDataCache\en-us\Support).
Under the workspace list in the left pane, drag and drop "AutoCAD Classic" to the workspace list in the right pane.
Click Apply and then click OK to close the configuration editor.

Source: http://knowledge.autodesk.com

Cannot resize full screen Remote Desktop Connection

To force full sreen press Ctrl+Alt+Break

piektdiena, 2014. gada 29. augusts

Install windows 8 without installation key

To skip installation key request you need to put file ei.cfg into instalation DVD/USB /sources folder:

[EditionID] 
Professional 
[Channel] 
Retail 
[VL] 
0

If you leave [EditionID] parameter blank - during installation process you will be able to choose which versionto install.

Clear windows 8 startup in registry editor.

Run Regedit

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows
Clear any value in key Load

trešdiena, 2014. gada 27. augusts

Find out old AC Computers

PowerShell script:

# Gets time stamps for all computers in the domain that have NOT logged in since after specified date

$time = Read-host "Enter a date in format mm/dd/yyyy"
$time = get-date ($time)
$date = get-date ($time) -UFormat %d.%m.%y

# Get all AD computers with lastLogonTimestamp less than our time
Get-ADComputer -Filter {LastLogonTimeStamp -lt $time} -Properties LastLogonTimeStamp |

# Output hostname and lastLogonTimestamp into CSV
select-object Name,@{Name="Stamp"; Expression={[DateTime]::FromFileTime($_.lastLogonTimestamp)}} | export-csv old_users.csv -notypeinformation


Source: http://blog.mattvogt.net/

otrdiena, 2014. gada 19. augusts

When VLOOKUP is not working because of numbers stored as text

If you want to store data with leading zero (Format cell-> Special) - you will have problems with LOOKUP formulas because of "The number in this cell is formatted as text or preceded by an apostrophe". The simplest solution is to multiply search range with 1.

Example:
=VLOOKUP($A$2:$A$718*1;Sheet2!$A$3:$B$725;2;FALSE)

otrdiena, 2014. gada 1. jūlijs

Create symbolic link from remote to local folder

To create  symbolic link to remote folder:

C:\Windows\system32>mklink /d "D:\DATA\IT\ISO" "\\SERVER_NAME\ISO"

To check does link already exists

if exist "D:\DATA\IT\ISO" (
goto next
)else (
ECHO Creating Symlcnc...
mklink /d "D:\DATA\IT\ISO" "\\SERVER_NAME\ISO"
)
:NEXT
PAUSE


When access a symbolic link on a file server, sometimes you may see the following error:
"The symbolic link cannot be followed because its type is disabled". This is because by default remote to remote symbolic links are disabled.

You can enable it with fsutil.

C:\Windows\system32>fsutil behavior query SymlinkEvaluation - check status
C:\Windows\system32>fsutil behavior set SymlinkEvaluation R2R:1 - enable from Remote to remote